blackfin: init bss early
Signed-off-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
parent
ab784696fc
commit
28bfc40ce9
@ -190,6 +190,7 @@ ENTRY(_start)
|
||||
call _memcpy_ASM;
|
||||
#endif
|
||||
|
||||
.Lnorelocate:
|
||||
/* Initialize BSS section ... we know that memset() does not
|
||||
* use the BSS, so it is safe to call here. The bootrom LDR
|
||||
* takes care of clearing things for us.
|
||||
@ -202,7 +203,6 @@ ENTRY(_start)
|
||||
r2.h = __bss_len;
|
||||
call _memset;
|
||||
|
||||
.Lnorelocate:
|
||||
|
||||
/* Setup the actual stack in external memory */
|
||||
sp.h = HI(CONFIG_STACKBASE);
|
||||
|
Loading…
Reference in New Issue
Block a user