summaryrefslogtreecommitdiff
path: root/firmware/crt0.S
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2006-08-05 11:00:44 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2006-08-05 11:00:44 +0000
commit5aa5ef3704c09c5630b3074f746b76d71d78602b (patch)
tree8a8de76d137c6af2324c14e0c5997fd1d8e24eec /firmware/crt0.S
parentb591bb3f465f30433ba694ff046cf25ab3a6ffd9 (diff)
downloadrockbox-5aa5ef3704c09c5630b3074f746b76d71d78602b.tar.gz
rockbox-5aa5ef3704c09c5630b3074f746b76d71d78602b.zip
Delete some unneccessary code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10458 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/crt0.S')
-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 */