[U-Boot] [PATCH 28/40] Blackfin: just set SP register directly during init
Mike Frysinger
vapier at gentoo.org
Fri Jan 23 19:00:29 CET 2009
No need to set the SP register indirectly to the configured value when it
can be set directly.
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
cpu/blackfin/start.S | 5 ++---
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
--
1.6.1
More information about the U-Boot
mailing list