diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-07-17 20:35:55 +0900 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-09-14 11:14:21 +0200 |
commit | fb8d49cb4492332066a2dc775ef3c57c49fd1eca (patch) | |
tree | d07c785322060e28a1b0f59b598c76adf1a75eea /arch/arm | |
parent | 8386ca8bea7a6a8469c3b6a99313afb642e6cbeb (diff) | |
download | u-boot-imx-fb8d49cb4492332066a2dc775ef3c57c49fd1eca.zip u-boot-imx-fb8d49cb4492332066a2dc775ef3c57c49fd1eca.tar.gz u-boot-imx-fb8d49cb4492332066a2dc775ef3c57c49fd1eca.tar.bz2 |
arm: spl: Do not set the stack pointer twice
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/lib/spl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c index 26d0be4..dfcc596 100644 --- 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); |