diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-09-29 06:17:33 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-09-29 06:17:33 +0000 |
commit | da55251a35d8ad6c0b8b9e62904798212caba46f (patch) | |
tree | b629e5316ce26624d3307587e32985c18403ec27 /firmware/target/arm/crt0-pp.S | |
parent | aaf3e3269c9d1e3dc41255c9be5f47aba8acb515 (diff) | |
download | rockbox-da55251a35d8ad6c0b8b9e62904798212caba46f.tar.gz rockbox-da55251a35d8ad6c0b8b9e62904798212caba46f.zip |
Compile Portal Player bootloaders as single core. Cleanup the startup code for bootloaders. Remove cop stack entirely and keep IRAM use down on all relevant targets - just use the 128-byte idle stack. Use the inline asm version of current_core for pp5002 as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14898 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/crt0-pp.S')
-rw-r--r-- | firmware/target/arm/crt0-pp.S | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S index 971b9e0ac5..2708ee3ad4 100644 --- a/firmware/target/arm/crt0-pp.S +++ b/firmware/target/arm/crt0-pp.S | |||
@@ -266,15 +266,11 @@ cop_init: | |||
266 | ldr r3, [r4] | 266 | ldr r3, [r4] |
267 | tst r3, #SLEEPING | 267 | tst r3, #SLEEPING |
268 | beq 1b | 268 | beq 1b |
269 | #endif | ||
269 | 270 | ||
270 | /* Set up idle stack for COP and munge it with 0xdeadbeef */ | 271 | /* Set up idle stack for COP and munge it with 0xdeadbeef */ |
271 | ldr r2, =cop_idlestackbegin | ||
272 | ldr sp, =cop_idlestackend | 272 | ldr sp, =cop_idlestackend |
273 | #else | 273 | ldr r2, =cop_idlestackbegin |
274 | /* Setup stack for COP and munge it with 0xdeadbeef */ | ||
275 | ldr r2, =cop_stackbegin | ||
276 | ldr sp, =cop_stackend | ||
277 | #endif | ||
278 | ldr r4, =0xdeadbeef | 274 | ldr r4, =0xdeadbeef |
279 | 2: | 275 | 2: |
280 | cmp sp, r2 | 276 | cmp sp, r2 |