diff options
Diffstat (limited to 'arch/arm/mm/proc-arm925.S')
-rw-r--r-- | arch/arm/mm/proc-arm925.S | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mm/proc-arm925.S b/arch/arm/mm/proc-arm925.S index 3c6cffe400f6..657bd3f7c153 100644 --- a/arch/arm/mm/proc-arm925.S +++ b/arch/arm/mm/proc-arm925.S | |||
@@ -92,15 +92,11 @@ ENTRY(cpu_arm925_proc_init) | |||
92 | * cpu_arm925_proc_fin() | 92 | * cpu_arm925_proc_fin() |
93 | */ | 93 | */ |
94 | ENTRY(cpu_arm925_proc_fin) | 94 | ENTRY(cpu_arm925_proc_fin) |
95 | stmfd sp!, {lr} | ||
96 | mov ip, #PSR_F_BIT | PSR_I_BIT | SVC_MODE | ||
97 | msr cpsr_c, ip | ||
98 | bl arm925_flush_kern_cache_all | ||
99 | mrc p15, 0, r0, c1, c0, 0 @ ctrl register | 95 | mrc p15, 0, r0, c1, c0, 0 @ ctrl register |
100 | bic r0, r0, #0x1000 @ ...i............ | 96 | bic r0, r0, #0x1000 @ ...i............ |
101 | bic r0, r0, #0x000e @ ............wca. | 97 | bic r0, r0, #0x000e @ ............wca. |
102 | mcr p15, 0, r0, c1, c0, 0 @ disable caches | 98 | mcr p15, 0, r0, c1, c0, 0 @ disable caches |
103 | ldmfd sp!, {pc} | 99 | mov pc, lr |
104 | 100 | ||
105 | /* | 101 | /* |
106 | * cpu_arm925_reset(loc) | 102 | * cpu_arm925_reset(loc) |