From 569dffea947b71085f3718e0fe3ed810b4e12b10 Mon Sep 17 00:00:00 2001 From: Buschel Date: Wed, 14 May 2008 19:30:34 +0000 Subject: [PATCH] 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 --- apps/plugins/plugin.lds | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 13a048aca..847ce3606 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 -- 2.11.4.GIT