summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/crt0-pp.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S
index 362d736b49..41a0495861 100644
--- a/firmware/target/arm/crt0-pp.S
+++ b/firmware/target/arm/crt0-pp.S
@@ -88,7 +88,12 @@ pad_skip:
88 ldr r3, =0x3f84 /* r3 and r1 values here are magic, don't touch */ 88 ldr r3, =0x3f84 /* r3 and r1 values here are magic, don't touch */
89 orr r3, r3, r5 /* adjust for execute address */ 89 orr r3, r3, r5 /* adjust for execute address */
90 ldr r2, =0xf000f014 90 ldr r2, =0xf000f014
91#if MEM > 32
92 mov r1, #0x7400 /* r1 appears to indicate how much memory (not in
93 bytes) is remapped */
94#else
91 mov r1, #0x3a00 95 mov r1, #0x3a00
96#endif
92 ldr r0, =0xf000f010 97 ldr r0, =0xf000f010
93 mov pc, #0x40000000 98 mov pc, #0x40000000
94 99