summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/crt0.S16
1 files changed, 0 insertions, 16 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S
index 9831d749eb..b856a8569d 100644
--- a/firmware/crt0.S
+++ b/firmware/crt0.S
@@ -85,7 +85,6 @@ remap_start:
85L_post_remap: .word remap_end 85L_post_remap: .word remap_end
86remap_end: 86remap_end:
87 87
88#ifdef CPU_PP
89 /* After doing the remapping, send the COP to sleep. 88 /* After doing the remapping, send the COP to sleep.
90 On wakeup it will go to cop_init */ 89 On wakeup it will go to cop_init */
91#if CONFIG_CPU == PP5002 90#if CONFIG_CPU == PP5002
@@ -111,7 +110,6 @@ remap_end:
111 ldr pc, =cop_init 110 ldr pc, =cop_init
112 111
1131: 1121:
114#endif
115 113
116#elif CONFIG_CPU == PNX0101 114#elif CONFIG_CPU == PNX0101
117 115
@@ -347,20 +345,6 @@ cop_init:
347 345
348 ldr sp, =cop_stackend 346 ldr sp, =cop_stackend
349 bl cop_main 347 bl cop_main
350#else
351 /* If we don't plan to use the COP, we have some code to catch it and send
352 it back to sleep if somebody wakes it. This means that the firmware
353 size doesn't grow too much while the COP is still unused, but it is
354 still handled cleanly. */
355#if CONFIG_CPU==PP5002
356 ldr r4, =PP5002_COP_CTRL
357 mov r3, #0xca
358#else
359 ldr r4, =PP5020_COP_CTRL
360 mov r3, #0x80000000
361#endif
362 str r3, [r4]
363 ldr pc, =cop_init
364#endif /* PP specific */ 348#endif /* PP specific */
365 349
366/* Exception handlers. Will be copied to address 0 after memory remapping */ 350/* Exception handlers. Will be copied to address 0 after memory remapping */