summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/headsmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rockchip/headsmp.S')
-rw-r--r--arch/arm/mach-rockchip/headsmp.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/headsmp.S b/arch/arm/mach-rockchip/headsmp.S
index 73206e360e31..46c22dedf632 100644
--- a/arch/arm/mach-rockchip/headsmp.S
+++ b/arch/arm/mach-rockchip/headsmp.S
@@ -16,7 +16,10 @@
#include <linux/init.h>
ENTRY(rockchip_secondary_startup)
- bl v7_invalidate_l1
+ mrc p15, 0, r0, c0, c0, 0 @ read main ID register
+ ldr r1, =0x00000c09 @ Cortex-A9 primary part number
+ teq r0, r1
+ beq v7_invalidate_l1
b secondary_startup
ENDPROC(rockchip_secondary_startup)