summaryrefslogtreecommitdiff
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
parentb591bb3f465f30433ba694ff046cf25ab3a6ffd9 (diff)
downloadrockbox-5aa5ef3704c09c5630b3074f746b76d71d78602b.zip
rockbox-5aa5ef3704c09c5630b3074f746b76d71d78602b.tar.gz
rockbox-5aa5ef3704c09c5630b3074f746b76d71d78602b.tar.bz2
rockbox-5aa5ef3704c09c5630b3074f746b76d71d78602b.tar.xz
Delete some unneccessary code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10458 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/crt0.S16
1 files changed, 0 insertions, 16 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S
index 9831d74..b856a85 100644
--- a/firmware/crt0.S
+++ b/firmware/crt0.S
@@ -85,7 +85,6 @@ remap_start:
L_post_remap: .word remap_end
remap_end:
-#ifdef CPU_PP
/* After doing the remapping, send the COP to sleep.
On wakeup it will go to cop_init */
#if CONFIG_CPU == PP5002
@@ -111,7 +110,6 @@ remap_end:
ldr pc, =cop_init
1:
-#endif
#elif CONFIG_CPU == PNX0101
@@ -347,20 +345,6 @@ cop_init:
ldr sp, =cop_stackend
bl cop_main
-#else
- /* If we don't plan to use the COP, we have some code to catch it and send
- it back to sleep if somebody wakes it. This means that the firmware
- size doesn't grow too much while the COP is still unused, but it is
- still handled cleanly. */
-#if CONFIG_CPU==PP5002
- ldr r4, =PP5002_COP_CTRL
- mov r3, #0xca
-#else
- ldr r4, =PP5020_COP_CTRL
- mov r3, #0x80000000
-#endif
- str r3, [r4]
- ldr pc, =cop_init
#endif /* PP specific */
/* Exception handlers. Will be copied to address 0 after memory remapping */