From da55251a35d8ad6c0b8b9e62904798212caba46f Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 29 Sep 2007 06:17:33 +0000 Subject: 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 --- firmware/target/arm/crt0-pp.S | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'firmware/target/arm/crt0-pp.S') 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: ldr r3, [r4] tst r3, #SLEEPING beq 1b +#endif /* Set up idle stack for COP and munge it with 0xdeadbeef */ - ldr r2, =cop_idlestackbegin ldr sp, =cop_idlestackend -#else - /* Setup stack for COP and munge it with 0xdeadbeef */ - ldr r2, =cop_stackbegin - ldr sp, =cop_stackend -#endif + ldr r2, =cop_idlestackbegin ldr r4, =0xdeadbeef 2: cmp sp, r2 -- cgit v1.2.3