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/system-pp5002.c | |
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/system-pp5002.c')
-rw-r--r-- | firmware/target/arm/system-pp5002.c | 10 |
1 files changed, 0 insertions, 10 deletions
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) | |||
53 | 53 | ||
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | unsigned int current_core(void) | ||
57 | { | ||
58 | if(((*(volatile unsigned long *)(0xc4000000)) & 0xff) == 0x55) | ||
59 | { | ||
60 | return CPU; | ||
61 | } | ||
62 | return COP; | ||
63 | } | ||
64 | |||
65 | |||
66 | /* TODO: The following two function have been lifted straight from IPL, and | 56 | /* TODO: The following two function have been lifted straight from IPL, and |
67 | hence have a lot of numeric addresses used straight. I'd like to use | 57 | hence have a lot of numeric addresses used straight. I'd like to use |
68 | #defines for these, but don't know what most of them are for or even what | 58 | #defines for these, but don't know what most of them are for or even what |