aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2013-12-10 09:58:05 +0530
committerTushar Behera <tushar.behera@linaro.org>2014-04-18 09:41:31 +0530
commit3aa58da166a58fa214380c0759215a4f60a0ed46 (patch)
tree578907653d599f336cdabc8cdc1539cd81c2e496
parentc54bc0bac5c467b68740ce5b43a2cafbd4fdb0f1 (diff)
ARM: EXYNOS: Update MPIDR check to accommodate A7 cores on Exynos5420llct-samsung-boards-core-support-v3.15llct/samsung-boards-core-support
On heterogenous multi-core Exynos SoCs, the cores are grouped together and the MPIDR values of all the cores don't lie within a count of 15 (as is the case with current code). Extend the check to accommodate all possible values of MPIDR of cores. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r--arch/arm/mach-exynos/headsmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/headsmp.S b/arch/arm/mach-exynos/headsmp.S
index cdd9d91e993..874b6895214 100644
--- a/arch/arm/mach-exynos/headsmp.S
+++ b/arch/arm/mach-exynos/headsmp.S
@@ -20,7 +20,7 @@
*/
ENTRY(exynos4_secondary_startup)
mrc p15, 0, r0, c0, c0, 5
- and r0, r0, #15
+ and r0, r0, #0xffffff
adr r4, 1f
ldmia r4, {r5, r6}
sub r4, r4, r5