summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/crt0-pp-bl.S11
1 files changed, 10 insertions, 1 deletions
diff --git a/firmware/target/arm/crt0-pp-bl.S b/firmware/target/arm/crt0-pp-bl.S
index ef04eced30..7ac6295305 100644
--- a/firmware/target/arm/crt0-pp-bl.S
+++ b/firmware/target/arm/crt0-pp-bl.S
@@ -166,7 +166,16 @@ cpu:
mov r3, #WAKE
str r3, [r4]
- mov pc, r0
+#ifdef SANSA_C200
+ /* Magic for loading the c200 OF */
+ ldr r0, =0xb00d10ad
+ mov r1, #0x700
+ ldr r2, =0xfff0
+ mov r3, #0x7
+#endif
+
+ ldr r4, =startup_loc
+ ldr pc, [r4]
startup_loc:
.word 0x0