diff options
author | Moti Buskila <motib@marvell.com> | 2021-02-19 17:11:20 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-02-26 10:22:29 +0100 |
commit | 44aeb28c9b4475526d2b87172b4ed1867072b030 (patch) | |
tree | c88100f2602f76fa880eb0c504f9ef17c784a343 /drivers/ddr/marvell | |
parent | 32e7a6baef2bcaacd5e2ca2d788072a487c5e311 (diff) | |
download | u-boot-44aeb28c9b4475526d2b87172b4ed1867072b030.zip u-boot-44aeb28c9b4475526d2b87172b4ed1867072b030.tar.gz u-boot-44aeb28c9b4475526d2b87172b4ed1867072b030.tar.bz2 |
ddr: marvell: a38x: disable WL phase correction stage in case of bus_width=16bit
commit 20c89a28548cdab11f88d2ec8936344af0686a1e upstream.
WL phase correcion stage is failing while using bus_width of 16bit, not
to be fix this stage is un-necessary when working with bus_width of 16
bit.
Signed-off-by: Moti Buskila <motib@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Diffstat (limited to 'drivers/ddr/marvell')
-rw-r--r-- | drivers/ddr/marvell/a38x/ddr3_training_db.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ddr/marvell/a38x/ddr3_training_db.c b/drivers/ddr/marvell/a38x/ddr3_training_db.c index b2f11a8..6aa7b60 100644 --- a/drivers/ddr/marvell/a38x/ddr3_training_db.c +++ b/drivers/ddr/marvell/a38x/ddr3_training_db.c @@ -833,6 +833,9 @@ u32 pattern_table_get_word(u32 dev_num, enum hws_pattern type, u8 index) pattern = pattern_table_get_isi_word16(index); break; default: + if (((int)type == 29) || ((int)type == 30)) + break; + printf("error: %s: unsupported pattern type [%d] found\n", __func__, (int)type); pattern = 0; |