arm: mvebu: Fix ddr3_init() cpu config
authorDirk Eibach <dirk.eibach@gdsys.cc>
Wed, 28 Oct 2015 15:44:15 +0000 (16:44 +0100)
committerStefan Roese <sr@denx.de>
Thu, 24 Mar 2016 08:36:40 +0000 (09:36 +0100)
Armada 38x has a maximum of two cores. Probably copy/paste
bug from Armada XP.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/ddr/marvell/a38x/ddr3_init.c

index 556f877039aa0bb488d0a279d41d54d90c378b71..ee05f57f43670409297cca0df0f14c9ac1de5a00 100644 (file)
@@ -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: