summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-04-29 14:35:53 -0400
committerMichael Sevakis <jethead71@rockbox.org>2012-04-29 14:35:53 -0400
commit4928810354e0d467c5c52221b21cf64a264946b3 (patch)
treed12532f874d49f295db548131a79b3c14b14ae56
parent230f6f432674fb58382f46fd2f74e0977da3e5eb (diff)
downloadrockbox-4928810354e0d467c5c52221b21cf64a264946b3.tar.gz
rockbox-4928810354e0d467c5c52221b21cf64a264946b3.zip
M5/X5 (MCF5250): Scoot the core/plugin IRAM boundary forward by 0x800.
Change-Id: I482fe3f4f2f59a3f17026e796c245c4efa8279f3
-rw-r--r--apps/plugins/plugin.lds4
-rw-r--r--firmware/target/coldfire/iaudio/app.lds4
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 1da9065760..10ce98fca4 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -94,8 +94,8 @@ OUTPUT_FORMAT(elf32-littlemips)
94/* MCF5250 have 128KB of IRAM */ 94/* MCF5250 have 128KB of IRAM */
95#elif CONFIG_CPU == MCF5250 95#elif CONFIG_CPU == MCF5250
96#define DRAMORIG 0x31000000 96#define DRAMORIG 0x31000000
97#define IRAMORIG 0x1000c000 97#define IRAMORIG 0x1000c800
98#define IRAMSIZE 0x14000 98#define IRAMSIZE 0x13800
99 99
100#elif CONFIG_CPU == PP5022 || CONFIG_CPU == PP5024 100#elif CONFIG_CPU == PP5022 || CONFIG_CPU == PP5024
101/* PP5022/24 have 128KB of IRAM */ 101/* PP5022/24 have 128KB of IRAM */
diff --git a/firmware/target/coldfire/iaudio/app.lds b/firmware/target/coldfire/iaudio/app.lds
index 6f3669c47e..6a733ed07e 100644
--- a/firmware/target/coldfire/iaudio/app.lds
+++ b/firmware/target/coldfire/iaudio/app.lds
@@ -12,7 +12,11 @@ STARTUP(target/coldfire/crt0.o)
12 12
13#define DRAMORIG 0x31000000 13#define DRAMORIG 0x31000000
14#define IRAMORIG 0x10000000 14#define IRAMORIG 0x10000000
15#if CONFIG_CPU == MCF5250
16#define IRAMSIZE 0xc800
17#else
15#define IRAMSIZE 0xc000 18#define IRAMSIZE 0xc000
19#endif
16 20
17/* End of the audio buffer, where the codec buffer starts */ 21/* End of the audio buffer, where the codec buffer starts */
18#define ENDAUDIOADDR (DRAMORIG + DRAMSIZE) 22#define ENDAUDIOADDR (DRAMORIG + DRAMSIZE)