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:
8386ca8
)
arm: spl: Do not set the stack pointer twice
author
Masahiro Yamada
<yamada.m@jp.panasonic.com>
Wed, 17 Jul 2013 11:35:55 +0000
(20:35 +0900)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sat, 14 Sep 2013 09:14:21 +0000
(11:14 +0200)
Because the stack pointer is already set in arch/arm/lib/crt0.S,
we do not need to set it in arch/arm/lib/spl.c.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/lib/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/lib/spl.c
b/arch/arm/lib/spl.c
index 26d0be47e59766a0dd8f55d65addabb1ce64d012..dfcc596815432b4357114f6aef01b11a66596e04 100644
(file)
--- a/
arch/arm/lib/spl.c
+++ b/
arch/arm/lib/spl.c
@@
-25,9
+25,6
@@
gd_t gdata __attribute__ ((section(".data")));
*/
void __weak board_init_f(ulong dummy)
{
- /* Set the stack pointer. */
- asm volatile("mov sp, %0\n" : : "r"(CONFIG_SPL_STACK));
-
/* Clear the BSS. */
memset(__bss_start, 0, __bss_end - __bss_start);