From: Bob Liu Date: Tue, 27 Sep 2011 03:00:27 +0000 (+0800) Subject: blackfin: init bss early X-Git-Tag: v2014.04-rc1~97 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=28bfc40ce9bfa47da5d84de15b23063af7606c95;p=oweals%2Fu-boot.git blackfin: init bss early Signed-off-by: Bob Liu Signed-off-by: Sonic Zhang --- 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);