Fix a register name typo. The effect was that CPU_CONTROL_AFLT_ENABLE

wasn't being set, but it was almost assuredly already turned on anyway
by the bootloader.
This commit is contained in:
ian 2013-10-16 14:24:22 +00:00
parent da935edd8d
commit 3384803d85

View File

@ -187,7 +187,7 @@ Lunmapped:
mrc p15, 0, r0, c1, c0, 0
#ifdef _ARM_ARCH_6
orr r0, r0, #(CPU_CONTROL_V6_EXTPAGE | CPU_CONTROL_UNAL_ENABLE)
orr r2, r2, #(CPU_CONTROL_AFLT_ENABLE)
orr r0, r0, #(CPU_CONTROL_AFLT_ENABLE)
orr r0, r0, #(CPU_CONTROL_AF_ENABLE)
#endif
orr r0, r0, #(CPU_CONTROL_MMU_ENABLE)