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/system-pp5002.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'firmware/target/arm/system-pp5002.c') diff --git a/firmware/target/arm/system-pp5002.c b/firmware/target/arm/system-pp5002.c index 1b5cbdc762..08783280be 100644 --- a/firmware/target/arm/system-pp5002.c +++ b/firmware/target/arm/system-pp5002.c @@ -53,16 +53,6 @@ void irq(void) #endif -unsigned int current_core(void) -{ - if(((*(volatile unsigned long *)(0xc4000000)) & 0xff) == 0x55) - { - return CPU; - } - return COP; -} - - /* TODO: The following two function have been lifted straight from IPL, and hence have a lot of numeric addresses used straight. I'd like to use #defines for these, but don't know what most of them are for or even what -- cgit v1.2.3