|
@@ -58,9 +58,16 @@ ENDPROC(cpu_v7_proc_fin)
|
|
* to what would be the reset vector.
|
|
* to what would be the reset vector.
|
|
*
|
|
*
|
|
* - loc - location to jump to for soft reset
|
|
* - loc - location to jump to for soft reset
|
|
|
|
+ *
|
|
|
|
+ * This code must be executed using a flat identity mapping with
|
|
|
|
+ * caches disabled.
|
|
*/
|
|
*/
|
|
.align 5
|
|
.align 5
|
|
ENTRY(cpu_v7_reset)
|
|
ENTRY(cpu_v7_reset)
|
|
|
|
+ mrc p15, 0, r1, c1, c0, 0 @ ctrl register
|
|
|
|
+ bic r1, r1, #0x1 @ ...............m
|
|
|
|
+ mcr p15, 0, r1, c1, c0, 0 @ disable MMU
|
|
|
|
+ isb
|
|
mov pc, r0
|
|
mov pc, r0
|
|
ENDPROC(cpu_v7_reset)
|
|
ENDPROC(cpu_v7_reset)
|
|
|
|
|