]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: EXYNOS: add secondary CPU boot base location for EXYNOS5420
authorChander Kashyap <chander.kashyap@linaro.org>
Tue, 18 Jun 2013 15:29:35 +0000 (00:29 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 18 Jun 2013 19:09:36 +0000 (04:09 +0900)
The location at which the boot address is specified for secondary
CPUs of EXYNOS5420 is SYSRAM base + 4. Update the cpu_boot_reg
function accordingly.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/platsmp.c

index ab1d2d5f37098532612292e757fac9af4ec3d547..b2e8a5ebad40cee63091b792a7b23943d7bb2bef 100644 (file)
@@ -50,6 +50,8 @@ static inline void __iomem *cpu_boot_reg(int cpu)
        boot_reg = cpu_boot_reg_base();
        if (soc_is_exynos4412())
                boot_reg += 4*cpu;
+       else if (soc_is_exynos5420())
+               boot_reg += 4;
        return boot_reg;
 }