From e96da3ffbe7d08869196958c66f6108e051fe4db Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 16 Jun 2015 17:24:20 +0000 Subject: [PATCH] Write to the PRRR (Primary Region Remap Register) rather than reading from it during the early boot. Found By: Patrick Wildt Sponsored by: ABT Systems Ltd --- sys/arm/arm/locore-v6.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/arm/locore-v6.S b/sys/arm/arm/locore-v6.S index 7d5ba9704ae7..cddcdab787cc 100644 --- a/sys/arm/arm/locore-v6.S +++ b/sys/arm/arm/locore-v6.S @@ -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