summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc780x/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc780x/crt0.S')
-rw-r--r--firmware/target/arm/tcc780x/crt0.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tcc780x/crt0.S b/firmware/target/arm/tcc780x/crt0.S
index b1608915f1..f6eb6afbe9 100644
--- a/firmware/target/arm/tcc780x/crt0.S
+++ b/firmware/target/arm/tcc780x/crt0.S
@@ -155,8 +155,8 @@ copied_start:
155 ldr r0, =0x8001eec0 /* Region 6: 0x80000000-0xffffffff (2Gb) */ 155 ldr r0, =0x8001eec0 /* Region 6: 0x80000000-0xffffffff (2Gb) */
156 str r0, [r1,#0x18] /* AP: 3 EN: 1 DO: 6 CACHE_NONE */ 156 str r0, [r1,#0x18] /* AP: 3 EN: 1 DO: 6 CACHE_NONE */
157 157
158 ldr r0, =0x1001aee0 /* Region 7: 0x10000000-0x17ffffff (128Mb) */ 158 ldr r0, =0x1001aeec /* Region 7: 0x10000000-0x17ffffff (128Mb) */
159 str r0, [r1,#0x1c] /* AP: 3 EN: 1 DO: 7 CACHE_NONE */ 159 str r0, [r1,#0x1c] /* AP: 3 EN: 1 DO: 7 CACHE_ALL */
160 160
161 add r1, r1, #0x8000 161 add r1, r1, #0x8000
162 mcr p15, 0, r1, c2, c0, 0 /* Set TTBR = TABBASE (Virtual TLB) */ 162 mcr p15, 0, r1, c2, c0, 0 /* Set TTBR = TABBASE (Virtual TLB) */