summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/cortex-a9.S2
-rw-r--r--arch/arm/mach-tegra/headsmp.S3
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/cortex-a9.S b/arch/arm/mach-tegra/cortex-a9.S
index 96f915725eb1..bb744224ba5b 100644
--- a/arch/arm/mach-tegra/cortex-a9.S
+++ b/arch/arm/mach-tegra/cortex-a9.S
@@ -629,6 +629,8 @@ lh5: beq lh5
end1:
#endif
#ifdef CONFIG_ARM_ERRATA_752520
+ cmp r5, #0x1F @ not present in r1p*
+ ble end2
cmp r5, #0x29 @ present prior to r2p9
bge end2
tst r9, #(1 << 20)
diff --git a/arch/arm/mach-tegra/headsmp.S b/arch/arm/mach-tegra/headsmp.S
index 0f1e52d89edc..6693aacbbbe7 100644
--- a/arch/arm/mach-tegra/headsmp.S
+++ b/arch/arm/mach-tegra/headsmp.S
@@ -124,10 +124,13 @@ ENTRY(__tegra_cpu_reset_handler)
mcrlt p15, 0, r10, c15, c0, 1 @ write diagnostic register
#endif
#ifdef CONFIG_ARM_ERRATA_752520
+ teq r5, #0x00100000 @ not present in r1p*
+ beq skip_752520
cmp r6, #0x29 @ present prior to r2p9
mrclt p15, 0, r10, c15, c0, 1 @ read diagnostic register
orrlt r10, r10, #1 << 20 @ set bit #20
mcrlt p15, 0, r10, c15, c0, 1 @ write diagnostic register
+skip_752520:
#endif
#endif
mrc p15, 0, r10, c0, c0, 5 @ MPIDR