mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
as3525*: setup stack pointer before we use it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25198 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d384f8d064
commit
191857cc8d
1 changed files with 1 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ newstart:
|
|||
|
||||
#if (CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2) && !defined(BOOTLOADER)
|
||||
/* Setup MMU : has to be done before accessing IRAM ! */
|
||||
ldr sp, =stackend
|
||||
bl memory_init
|
||||
|
||||
/* Zero out IBSS */
|
||||
|
|
@ -109,7 +110,6 @@ newstart:
|
|||
bhi 1b
|
||||
|
||||
/* Set up some stack and munge it with 0xdeadbeef */
|
||||
ldr sp, =stackend
|
||||
ldr r2, =stackbegin
|
||||
ldr r3, =0xdeadbeef
|
||||
1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue