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:
Bob Liu 2011-09-27 11:00:27 +08:00 committed by Sonic Zhang
parent ab784696fc
commit 28bfc40ce9

View file

@ -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);