[U-Boot] [PATCH] blackfin: init bss early

From: Bob Liu lliubbo@gmail.com
Signed-off-by: Bob Liu lliubbo@gmail.com Signed-off-by: Sonic Zhang sonic.zhang@analog.com --- arch/blackfin/cpu/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/blackfin/cpu/start.S b/arch/blackfin/cpu/start.S index 90b4d1a..b7c1c3a 100644 --- a/arch/blackfin/cpu/start.S +++ b/arch/blackfin/cpu/start.S @@ -195,6 +195,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. @@ -207,7 +208,6 @@ ENTRY(_start) r2.h = __bss_len; call _memset;
-.Lnorelocate:
/* Setup the actual stack in external memory */ sp.h = HI(CONFIG_STACKBASE);
participants (1)
-
Sonic Zhang