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 2015-06-16 17:24:20 +00:00
parent 08e22f2cb8
commit 37e1baa952

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