diff options
author | Chander Kashyap <chander.kashyap@linaro.org> | 2013-06-18 11:29:35 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-06-18 15:09:36 -0400 |
commit | 1580be3d365ed78716104168aecaafdc0536237e (patch) | |
tree | 37554eb50d8a1b6318e69d5d2637c1eae933bd72 | |
parent | 7114cd749a12ff9fd64a2f6f04919760f45ab183 (diff) |
ARM: EXYNOS: add secondary CPU boot base location for EXYNOS5420
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>
-rw-r--r-- | arch/arm/mach-exynos/platsmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c index ab1d2d5f3709..b2e8a5ebad40 100644 --- a/arch/arm/mach-exynos/platsmp.c +++ b/arch/arm/mach-exynos/platsmp.c | |||
@@ -50,6 +50,8 @@ static inline void __iomem *cpu_boot_reg(int cpu) | |||
50 | boot_reg = cpu_boot_reg_base(); | 50 | boot_reg = cpu_boot_reg_base(); |
51 | if (soc_is_exynos4412()) | 51 | if (soc_is_exynos4412()) |
52 | boot_reg += 4*cpu; | 52 | boot_reg += 4*cpu; |
53 | else if (soc_is_exynos5420()) | ||
54 | boot_reg += 4; | ||
53 | return boot_reg; | 55 | return boot_reg; |
54 | } | 56 | } |
55 | 57 | ||