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

Sonic Zhang sonic.adi at gmail.com
Wed Jan 22 08:51:06 CET 2014


From: Bob Liu <lliubbo at gmail.com>

Signed-off-by: Bob Liu <lliubbo at gmail.com>
Signed-off-by: Sonic Zhang <sonic.zhang at 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);
-- 
1.7.9.5



More information about the U-Boot mailing list