summaryrefslogtreecommitdiff
path: root/cpu/blackfin/start.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-11 21:23:41 -0400
committerMike Frysinger <vapier@gentoo.org>2009-01-28 13:26:14 -0500
commit95433f6d43ede6b40c1d900f3f704c839aa074f1 (patch)
treee837708bfc64a8d9b64a3ac4aa66b1b8f0a4f602 /cpu/blackfin/start.S
parent51230e6e356ccf4c932e0c4ff54f1e49da02285c (diff)
downloadu-boot-imx-95433f6d43ede6b40c1d900f3f704c839aa074f1.zip
u-boot-imx-95433f6d43ede6b40c1d900f3f704c839aa074f1.tar.gz
u-boot-imx-95433f6d43ede6b40c1d900f3f704c839aa074f1.tar.bz2
Blackfin: just set SP register directly during init
No need to set the SP register indirectly to the configured value when it can be set directly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'cpu/blackfin/start.S')
-rw-r--r--cpu/blackfin/start.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpu/blackfin/start.S b/cpu/blackfin/start.S
index 6c5fef7..8617c98 100644
--- a/cpu/blackfin/start.S
+++ b/cpu/blackfin/start.S
@@ -163,9 +163,8 @@ ENTRY(_start)
.Lnorelocate:
/* Setup the actual stack in external memory */
- r0.h = HI(CONFIG_STACKBASE);
- r0.l = LO(CONFIG_STACKBASE);
- sp = r0;
+ sp.h = HI(CONFIG_STACKBASE);
+ sp.l = LO(CONFIG_STACKBASE);
fp = sp;
/* Now lower ourselves from the highest interrupt level to