diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-05-14 19:30:34 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-05-14 19:30:34 +0000 |
commit | 77087eba4ec1e35a7a0e0804cbb167118abac2ea (patch) | |
tree | c178313bc78d179c2241d42bb745544089259c68 | |
parent | 009cebeab263085d142c413386f1fc7760792b6d (diff) | |
download | rockbox-77087eba4ec1e35a7a0e0804cbb167118abac2ea.tar.gz rockbox-77087eba4ec1e35a7a0e0804cbb167118abac2ea.zip |
Make use of 128KB IRAM for PP5022/PP5024 targets. The additional 32KB are given to plugins/codecs with this change. Through this change performance optimizations especially for codecs are possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17506 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/plugin.lds | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 13a048acaf..847ce36061 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -53,10 +53,16 @@ OUTPUT_FORMAT(elf32-sh) #define DRAMORIG 0x31000000 #define IRAMORIG 0x10010000 #define IRAMSIZE 0x10000 +#elif (defined(PP5022) || defined(PP5024)) +/* PP5022/24 have 128KB of IRAM */ +#define DRAMORIG 0x00000000 +#define IRAMORIG 0x4000c000 +#define IRAMSIZE 0x14000 #elif defined(CPU_PP) +/* all other PP's have 96KB of IRAM */ #define DRAMORIG 0x00000000 #define IRAMORIG 0x4000c000 -#define IRAMSIZE 0xc000 +#define IRAMSIZE 0x0c000 #elif CONFIG_CPU == PNX0101 #define DRAMORIG 0xc00000 + STUBOFFSET #define IRAMORIG 0x407000 |