aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/a38x/xor.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-03-12 08:00:39 -0500
committerTom Rini <trini@konsulko.com>2021-03-12 08:00:39 -0500
commitad7e1c7c6e2bde2b369f10984d41d6b1833453fb (patch)
treef7bf2fcc1d49c12c45267a4dd9581983445c94d5 /drivers/ddr/marvell/a38x/xor.c
parent4c8e9361bb3ced3b20e45ee94b3751da1a9ed850 (diff)
parent15942805b7efe47e186d8b30ec378666561ad1f9 (diff)
Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
- Some more updates/sync's to A38x DDR3 code (Marek & Pali) - marvell/ddr/AXP: Some type fixes found in the LTO work (Marek) - Espressobin: Enable more options (Pali) - pci-aardvark: Implement workaround for the readback value of VEND_ID (Paili)
Diffstat (limited to 'drivers/ddr/marvell/a38x/xor.c')
-rw-r--r--drivers/ddr/marvell/a38x/xor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ddr/marvell/a38x/xor.c b/drivers/ddr/marvell/a38x/xor.c
index 98fb39eaf0..7bc6268293 100644
--- a/drivers/ddr/marvell/a38x/xor.c
+++ b/drivers/ddr/marvell/a38x/xor.c
@@ -347,10 +347,8 @@ void ddr3_new_tip_ecc_scrub(void)
for (cs_c = 0; cs_c < max_cs; cs_c++)
cs_ena |= 1 << cs_c;
-#if defined(CONFIG_ARMADA_38X) || defined(CONFIG_ARMADA_39X)
/* all chip-selects are of same size */
ddr3_calc_mem_cs_size(0, &cs_mem_size_mb);
-#endif
cs_mem_size = cs_mem_size_mb * _1M;
mv_sys_xor_init(max_cs, cs_ena, cs_mem_size, 0);
total_mem_size = max_cs * cs_mem_size;