From 28bfc40ce9bfa47da5d84de15b23063af7606c95 Mon Sep 17 00:00:00 2001 From: Bob Liu Date: Tue, 27 Sep 2011 11:00:27 +0800 Subject: [PATCH] blackfin: init bss early Signed-off-by: Bob Liu Signed-off-by: Sonic Zhang --- 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 c99cf49833..29a7c232e2 100644 --- a/arch/blackfin/cpu/start.S +++ b/arch/blackfin/cpu/start.S @@ -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); -- 2.25.1