From 260c0184de30b0f71288548686270126577db5f8 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 7 Mar 2010 20:22:49 +0000 Subject: [PATCH] Set IRAM split to 48KB / 80KB (apps / plugins) for M5 and X5. This way codecs can be optimized further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25057 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/plugin.lds | 4 ++-- firmware/target/coldfire/iaudio/app.lds | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 82d6354b24..0ef27603e9 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -92,8 +92,8 @@ OUTPUT_FORMAT(elf32-littlemips) #elif defined(IAUDIO_X5) || defined(IAUDIO_M5) #define DRAMORIG 0x31000000 -#define IRAMORIG 0x10010000 -#define IRAMSIZE 0x10000 +#define IRAMORIG 0x1000c000 +#define IRAMSIZE 0x14000 #elif CONFIG_CPU == PP5022 || CONFIG_CPU == PP5024 /* PP5022/24 have 128KB of IRAM */ diff --git a/firmware/target/coldfire/iaudio/app.lds b/firmware/target/coldfire/iaudio/app.lds index 5cb2f6cb3f..b7164f9941 100644 --- a/firmware/target/coldfire/iaudio/app.lds +++ b/firmware/target/coldfire/iaudio/app.lds @@ -21,7 +21,7 @@ STARTUP(target/coldfire/crt0.o) #ifdef IAUDIO_M3 #define IRAMSIZE 0xc000 #else -#define IRAMSIZE 0x10000 +#define IRAMSIZE 0xc000 #endif /* End of the audio buffer, where the codec buffer starts */