Write to the PRRR (Primary Region Remap Register) rather than reading from

it during the early boot.

Found By:	Patrick Wildt <patrick@bitrig.org>
Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2015-06-16 17:24:20 +00:00
parent 9975c7a7ef
commit e96da3ffbe

View File

@ -240,7 +240,7 @@ ASENTRY_NP(init_mmu)
* - All is set to uncacheable memory
*/
ldr r0, =0xAAAAA
mrc CP15_PRRR(r0)
mcr CP15_PRRR(r0)
mov r0, #0
mcr CP15_NMRR(r0)
#endif