forked from len0rd/rockbox
Delete some unneccessary code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10458 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b591bb3f46
commit
5aa5ef3704
1 changed files with 0 additions and 16 deletions
|
|
@ -85,7 +85,6 @@ remap_start:
|
||||||
L_post_remap: .word remap_end
|
L_post_remap: .word remap_end
|
||||||
remap_end:
|
remap_end:
|
||||||
|
|
||||||
#ifdef CPU_PP
|
|
||||||
/* After doing the remapping, send the COP to sleep.
|
/* After doing the remapping, send the COP to sleep.
|
||||||
On wakeup it will go to cop_init */
|
On wakeup it will go to cop_init */
|
||||||
#if CONFIG_CPU == PP5002
|
#if CONFIG_CPU == PP5002
|
||||||
|
|
@ -111,7 +110,6 @@ remap_end:
|
||||||
ldr pc, =cop_init
|
ldr pc, =cop_init
|
||||||
|
|
||||||
1:
|
1:
|
||||||
#endif
|
|
||||||
|
|
||||||
#elif CONFIG_CPU == PNX0101
|
#elif CONFIG_CPU == PNX0101
|
||||||
|
|
||||||
|
|
@ -347,20 +345,6 @@ cop_init:
|
||||||
|
|
||||||
ldr sp, =cop_stackend
|
ldr sp, =cop_stackend
|
||||||
bl cop_main
|
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 */
|
#endif /* PP specific */
|
||||||
|
|
||||||
/* Exception handlers. Will be copied to address 0 after memory remapping */
|
/* Exception handlers. Will be copied to address 0 after memory remapping */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue