summaryrefslogtreecommitdiff
path: root/firmware/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/crt0.S')
-rw-r--r--firmware/crt0.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S
index df2ff5884d..9dad41944a 100644
--- a/firmware/crt0.S
+++ b/firmware/crt0.S
@@ -197,12 +197,13 @@ start_loc:
197 /* execute the loader - this will load an image to 0x10000000 */ 197 /* execute the loader - this will load an image to 0x10000000 */
198 bl main 198 bl main
199 199
200 /* The loader only returns if it is loading the Apple firmware or Linux -
201 the following code isn't executed when starting Rockbox */
202
200 /* save the startup address for the COP */ 203 /* save the startup address for the COP */
201 ldr r1, =startup_loc 204 ldr r1, =startup_loc
202 str r0, [r1] 205 str r0, [r1]
203 206
204#if 0
205/* TODO: fix something for the COP to wake up to, until then let it sleep. */
206#if CONFIG_CPU==PP5002 207#if CONFIG_CPU==PP5002
207 /* make sure COP is sleeping */ 208 /* make sure COP is sleeping */
208 ldr r4, =0xcf004050 209 ldr r4, =0xcf004050
@@ -227,8 +228,7 @@ start_loc:
227 @ldr r4, =PP5020_COP_CTRL 228 @ldr r4, =PP5020_COP_CTRL
228 mov r3, #0x0 229 mov r3, #0x0
229 str r3, [r4] 230 str r3, [r4]
230#endif 231#endif
231#endif
232 /* jump to start location */ 232 /* jump to start location */
233 mov pc, r0 233 mov pc, r0
234 234