From: Dirk Eibach Date: Wed, 28 Oct 2015 15:44:15 +0000 (+0100) Subject: arm: mvebu: Fix ddr3_init() cpu config X-Git-Tag: v2016.05-rc1~179^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=44876bf9e8fc244e5f8a3fc643d07cb0ad3b3775;p=oweals%2Fu-boot.git arm: mvebu: Fix ddr3_init() cpu config Armada 38x has a maximum of two cores. Probably copy/paste bug from Armada XP. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese --- diff --git a/drivers/ddr/marvell/a38x/ddr3_init.c b/drivers/ddr/marvell/a38x/ddr3_init.c index 556f877039..ee05f57f43 100644 --- a/drivers/ddr/marvell/a38x/ddr3_init.c +++ b/drivers/ddr/marvell/a38x/ddr3_init.c @@ -305,8 +305,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: