mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 23:45:20 +02:00
reenable-bss-cleardown.patch
Left BSS zeroing disabled from previous debugging, re-enable it Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
parent
d10aee81b0
commit
126fef5514
@ -175,7 +175,7 @@ stack_setup:
|
|||||||
ldr r0, _TEXT_BASE /* upper 128 KiB: relocated uboot */
|
ldr r0, _TEXT_BASE /* upper 128 KiB: relocated uboot */
|
||||||
sub r0, r0, #CFG_GBL_DATA_SIZE /* bdinfo */
|
sub r0, r0, #CFG_GBL_DATA_SIZE /* bdinfo */
|
||||||
sub sp, r0, #12 /* leave 3 words for abort-stack */
|
sub sp, r0, #12 /* leave 3 words for abort-stack */
|
||||||
#if 0
|
|
||||||
clear_bss:
|
clear_bss:
|
||||||
ldr r0, _bss_start /* find start of bss segment */
|
ldr r0, _bss_start /* find start of bss segment */
|
||||||
ldr r1, _bss_end /* stop here */
|
ldr r1, _bss_end /* stop here */
|
||||||
@ -186,7 +186,6 @@ clbss_l:
|
|||||||
add r0, r0, #4
|
add r0, r0, #4
|
||||||
cmp r0, r1
|
cmp r0, r1
|
||||||
ble clbss_l
|
ble clbss_l
|
||||||
#endif
|
|
||||||
|
|
||||||
/* we are going to jump into the C part of the init now */
|
/* we are going to jump into the C part of the init now */
|
||||||
spin:
|
spin:
|
||||||
|
Loading…
Reference in New Issue
Block a user