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;
|
call _memcpy_ASM;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
.Lnorelocate:
|
||||||
/* Initialize BSS section ... we know that memset() does not
|
/* Initialize BSS section ... we know that memset() does not
|
||||||
* use the BSS, so it is safe to call here. The bootrom LDR
|
* use the BSS, so it is safe to call here. The bootrom LDR
|
||||||
* takes care of clearing things for us.
|
* takes care of clearing things for us.
|
||||||
|
@ -202,7 +203,6 @@ ENTRY(_start)
|
||||||
r2.h = __bss_len;
|
r2.h = __bss_len;
|
||||||
call _memset;
|
call _memset;
|
||||||
|
|
||||||
.Lnorelocate:
|
|
||||||
|
|
||||||
/* Setup the actual stack in external memory */
|
/* Setup the actual stack in external memory */
|
||||||
sp.h = HI(CONFIG_STACKBASE);
|
sp.h = HI(CONFIG_STACKBASE);
|
||||||
|
|
Loading…
Reference in New Issue