summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2011-09-27 11:00:27 +0800
committerSonic Zhang <sonic.zhang@analog.com>2014-02-07 11:18:06 +0800
commit28bfc40ce9bfa47da5d84de15b23063af7606c95 (patch)
tree9d771bfbb45a299d3eb91e8dd0ff0f1ba84ef25e /arch/blackfin
parentab784696fc4d73d55d0e0776e8bf748d477a1082 (diff)
blackfin: init bss early
Signed-off-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/cpu/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/cpu/start.S b/arch/blackfin/cpu/start.S
index c99cf498335..29a7c232e2d 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);