diff options
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/proc-v7.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index 945f36341fa6..080129263eef 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -243,6 +243,15 @@ __v7_setup: | |||
243 | orrle r10, r10, #1 << 4 @ set bit #4 | 243 | orrle r10, r10, #1 << 4 @ set bit #4 |
244 | mcrle p15, 0, r10, c15, c0, 1 @ write diagnostic register | 244 | mcrle p15, 0, r10, c15, c0, 1 @ write diagnostic register |
245 | #endif | 245 | #endif |
246 | #ifdef CONFIG_ARM_ERRATA_742231 | ||
247 | teq r6, #0x20 @ present in r2p0 | ||
248 | teqne r6, #0x21 @ present in r2p1 | ||
249 | teqne r6, #0x22 @ present in r2p2 | ||
250 | mrceq p15, 0, r10, c15, c0, 1 @ read diagnostic register | ||
251 | orreq r10, r10, #1 << 12 @ set bit #12 | ||
252 | orreq r10, r10, #1 << 22 @ set bit #22 | ||
253 | mcreq p15, 0, r10, c15, c0, 1 @ write diagnostic register | ||
254 | #endif | ||
246 | 255 | ||
247 | 3: mov r10, #0 | 256 | 3: mov r10, #0 |
248 | #ifdef HARVARD_CACHE | 257 | #ifdef HARVARD_CACHE |