summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-15 11:29:19 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-15 11:29:19 +0000
commit1e422d0ea4acabfea54880edb293179f7dadeafd (patch)
tree6ddfd848e143ed069f346fa4beeb6280b0cb7153
parent191857cc8d30550719b018f7e0420dcd28a3dee3 (diff)
downloadrockbox-1e422d0ea4acabfea54880edb293179f7dadeafd.tar.gz
rockbox-1e422d0ea4acabfea54880edb293179f7dadeafd.tar.bz2
rockbox-1e422d0ea4acabfea54880edb293179f7dadeafd.zip
as3525* : make sure sp is setup in bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25199 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/crt0.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/crt0.S b/firmware/target/arm/crt0.S
index 1cb9f9186e..5e65738d9c 100644
--- a/firmware/target/arm/crt0.S
+++ b/firmware/target/arm/crt0.S
@@ -110,6 +110,7 @@ newstart:
bhi 1b
/* Set up some stack and munge it with 0xdeadbeef */
+ ldr sp, =stackend
ldr r2, =stackbegin
ldr r3, =0xdeadbeef
1: