summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/cortex-a9.S
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2010-09-15 09:42:36 -0700
committerRebecca Schultz Zavin <rebecca@android.com>2010-10-08 15:59:00 -0700
commit8419248010c866bb8894340c6d2d08d016f54ed2 (patch)
treee075d55fb7983253d3857aa42c6493e03b701689 /arch/arm/mach-tegra/cortex-a9.S
parent72e02a181588d17dd17b15c187a86bda8882e5f3 (diff)
[ARM] tegra: change SMP startup to use read-allocate cache
mirror the change to v7 common startup in the tegra-specific LP2 and hotplug statup routines Change-Id: I0552eba951dbfc168e37e59b41394d31fab30256 Signed-off-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cortex-a9.S')
-rw-r--r--arch/arm/mach-tegra/cortex-a9.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/cortex-a9.S b/arch/arm/mach-tegra/cortex-a9.S
index 7434366aa461..893544956832 100644
--- a/arch/arm/mach-tegra/cortex-a9.S
+++ b/arch/arm/mach-tegra/cortex-a9.S
@@ -666,7 +666,11 @@ ENTRY(__return_to_virtual)
mcr p15, 0, r0, c3, c0, 0 @ domain access register
mov32 r0, 0xff0a81a8
+#ifdef CONFIG_SMP
+ mov32 r1, 0xc0e0c0e0
+#else
mov32 r1, 0x40e040e0
+#endif
mcr p15, 0, r0, c10, c2, 0 @ PRRR
mcr p15, 0, r1, c10, c2, 1 @ NMRR
mrc p15, 0, r0, c1, c0, 0