projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51230e6
)
Blackfin: just set SP register directly during init
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 12 Oct 2008 01:23:41 +0000
(21:23 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 28 Jan 2009 18:26:14 +0000
(13:26 -0500)
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>
cpu/blackfin/start.S
patch
|
blob
|
history
diff --git
a/cpu/blackfin/start.S
b/cpu/blackfin/start.S
index 6c5fef7a5223364a26f9aa2a645bfd0bcdd666f1..8617c9852eec98e422f1fd13e5dcdaaff725b49c 100644
(file)
--- 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