mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
rk27xx: small cleanup of crt0.S
Change-Id: I5f40efd03b133acab86315d36580fcad68834f78
This commit is contained in:
parent
adc503302c
commit
71f0b884bc
1 changed files with 1 additions and 10 deletions
|
|
@ -149,15 +149,6 @@ entry_point:
|
||||||
strhi r1, [r2], #4
|
strhi r1, [r2], #4
|
||||||
bhi 1b
|
bhi 1b
|
||||||
|
|
||||||
/* Initialise bss section to zero */
|
|
||||||
ldr r2, =_edata
|
|
||||||
ldr r3, =_end
|
|
||||||
mov r4, #0
|
|
||||||
1:
|
|
||||||
cmp r3, r2
|
|
||||||
strhi r4, [r2], #4
|
|
||||||
bhi 1b
|
|
||||||
|
|
||||||
/* Initialise bss, ibss section to zero */
|
/* Initialise bss, ibss section to zero */
|
||||||
ldr r2, =_edata
|
ldr r2, =_edata
|
||||||
ldr r3, =_end
|
ldr r3, =_end
|
||||||
|
|
@ -195,4 +186,4 @@ entry_point:
|
||||||
strhi r3, [r2], #4
|
strhi r3, [r2], #4
|
||||||
bhi 1b
|
bhi 1b
|
||||||
|
|
||||||
bl main
|
b main
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue