mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
remove dead code from firmware/target/arm/crt0.S, and conditionalise bits of it
make the meizu builds compile with the new crt0.S location git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18776 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e0f8c31216
commit
b56b0a37f4
2 changed files with 3 additions and 18 deletions
|
|
@ -34,24 +34,11 @@ start:
|
|||
b reserved_handler
|
||||
b irq_handler
|
||||
b fiq_handler
|
||||
#if CONFIG_CPU==S5L8700
|
||||
.word 0x43554644 /* DFUC */
|
||||
|
||||
#endif
|
||||
newstart:
|
||||
msr cpsr_c, #0xd3 /* enter supervisor mode, disable IRQ/FIQ */
|
||||
|
||||
#if 0
|
||||
/* set PWRON to 1 */
|
||||
ldr r1, =0x3CF00014
|
||||
ldr r2, [r1]
|
||||
orr r2, r2, #0x8
|
||||
str r2, [r1]
|
||||
|
||||
ldr r1, =0x3CF00010
|
||||
ldr r2, [r1]
|
||||
bic r2, r2, #0xf000
|
||||
orr r2, r2, #0x1000
|
||||
str r2, [r1]
|
||||
#endif
|
||||
|
||||
/* Initialise bss section to zero */
|
||||
ldr r2, =_edata
|
||||
|
|
@ -127,5 +114,3 @@ irq_stack:
|
|||
fiq_stack:
|
||||
|
||||
end:
|
||||
/*.word 0xA5A5A5A5
|
||||
.word 0x5A5A5A5A*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue