[U-Boot] [PATCH v0 4/5] arm: mvebu: Fix ddr3_init() cpu config
dirk.eibach at gdsys.cc
dirk.eibach at gdsys.cc
Wed Oct 28 16:44:15 CET 2015
From: Dirk Eibach <dirk.eibach at gdsys.cc>
Armada 38x has a maximum of two cores. Probably copy/paste
bug from Armada XP.
Signed-off-by: Dirk Eibach <dirk.eibach at gdsys.cc>
---
drivers/ddr/marvell/a38x/ddr3_init.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/ddr/marvell/a38x/ddr3_init.c b/drivers/ddr/marvell/a38x/ddr3_init.c
index d6ed8e0..cbfc58c 100644
--- a/drivers/ddr/marvell/a38x/ddr3_init.c
+++ b/drivers/ddr/marvell/a38x/ddr3_init.c
@@ -306,8 +306,6 @@ int ddr3_init(void)
SAR1_CPU_CORE_OFFSET;
switch (soc_num) {
case 0x3:
- reg_bit_set(CPU_CONFIGURATION_REG(3), CPU_MRVL_ID_OFFSET);
- reg_bit_set(CPU_CONFIGURATION_REG(2), CPU_MRVL_ID_OFFSET);
case 0x1:
reg_bit_set(CPU_CONFIGURATION_REG(1), CPU_MRVL_ID_OFFSET);
case 0x0:
--
2.1.3
More information about the U-Boot
mailing list