blackfin: init bss early
authorBob Liu <lliubbo@gmail.com>
Tue, 27 Sep 2011 03:00:27 +0000 (11:00 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Fri, 7 Feb 2014 03:18:06 +0000 (11:18 +0800)
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/cpu/start.S

index c99cf49833511a0c2c08ec5b2c1a4b82493345a6..29a7c232e2d59bb46e983df3243185df15cdb363 100644 (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);