diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-11-06 08:23:08 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-11-06 08:23:08 -0500 |
commit | 6b07d7fea0496374ff7754dc3d1dca03b2911828 (patch) | |
tree | 9a457c335982777e172fffad192c43b65d810b1e /arch/arm/mm/proc-v7.S | |
parent | 376e14218d3d791127e9b9bfbe2f99c44c2a19c2 (diff) |
ARMv7: Do not set TTBR0 in __v7_setup
This register is set in __enable_mmu in the head.S file.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mm/proc-v7.S')
-rw-r--r-- | arch/arm/mm/proc-v7.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index 07f82db70945..41772960fd10 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -175,7 +175,6 @@ __v7_setup: | |||
175 | mcr p15, 0, r10, c8, c7, 0 @ invalidate I + D TLBs | 175 | mcr p15, 0, r10, c8, c7, 0 @ invalidate I + D TLBs |
176 | mcr p15, 0, r10, c2, c0, 2 @ TTB control register | 176 | mcr p15, 0, r10, c2, c0, 2 @ TTB control register |
177 | orr r4, r4, #TTB_RGN_OC_WB @ mark PTWs outer cacheable, WB | 177 | orr r4, r4, #TTB_RGN_OC_WB @ mark PTWs outer cacheable, WB |
178 | mcr p15, 0, r4, c2, c0, 0 @ load TTB0 | ||
179 | mcr p15, 0, r4, c2, c0, 1 @ load TTB1 | 178 | mcr p15, 0, r4, c2, c0, 1 @ load TTB1 |
180 | mov r10, #0x1f @ domains 0, 1 = manager | 179 | mov r10, #0x1f @ domains 0, 1 = manager |
181 | mcr p15, 0, r10, c3, c0, 0 @ load domain access register | 180 | mcr p15, 0, r10, c3, c0, 0 @ load domain access register |