aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/axp
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-04-14 08:47:07 -0400
committerTom Rini <trini@konsulko.com>2020-04-14 08:47:07 -0400
commit142a07f2a44262d76fec609e1fcde51794a456eb (patch)
treefc2304595e16ff9315c84e76e9a12b6fbb8a01e7 /drivers/ddr/marvell/axp
parent2af31afc7ac55b2d11676da51599c6dd679e77c3 (diff)
parentc64ac3b3185aeb3846297ad7391fc6df8ecd73bf (diff)
Merge branch 'master' of git://git.denx.de/u-boot-marvell
- Misc enhancements to Clearfog, including board variant detection (Joel) - Misc enhancements to Turris Mox, including generalization of the ARMADA37xx DDR size detection (Marek)
Diffstat (limited to 'drivers/ddr/marvell/axp')
-rw-r--r--drivers/ddr/marvell/axp/ddr3_init.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ddr/marvell/axp/ddr3_init.c b/drivers/ddr/marvell/axp/ddr3_init.c
index 13df9126e7..30ad5d4151 100644
--- a/drivers/ddr/marvell/axp/ddr3_init.c
+++ b/drivers/ddr/marvell/axp/ddr3_init.c
@@ -435,10 +435,6 @@ static u32 ddr3_init_main(void)
#endif
#if defined(ECC_SUPPORT) && defined(AUTO_DETECTION_SUPPORT)
- ecc = DRAM_ECC;
-#endif
-
-#if defined(ECC_SUPPORT) && defined(AUTO_DETECTION_SUPPORT)
ecc = 0;
if (ddr3_check_config(BUS_WIDTH_ECC_TWSI_ADDR, CONFIG_ECC))
ecc = 1;