summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2010-04-11 20:53:18 +0000
committerJens Arnold <amiconn@rockbox.org>2010-04-11 20:53:18 +0000
commit4f551a00df62edf6562773e1cd390fcdde40af93 (patch)
tree90b7bed27e9f92e0609d617be174d8a605b5434b /apps/plugins/plugin.lds
parent6999e5debef57f89439da3a42d7b5b7e89d559b5 (diff)
FS #11153 by Marcin Bukat: Make memory layout for plugins and codecs only depend on SoC for coldfire as well, in preparation for the MPIO HD200 port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25598 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds11
1 files changed, 4 insertions, 7 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 3a88867fa1..11038109e1 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -80,17 +80,14 @@ OUTPUT_FORMAT(elf32-littlemips)
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE
#endif
-
-#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300)
-#define ARCH_IRIVER
-#endif
-
-#if defined(ARCH_IRIVER) || defined(IAUDIO_M3)
+/* MCF5249 have 96KB of IRAM */
+#if CONFIG_CPU == MCF5249
#define DRAMORIG 0x31000000
#define IRAMORIG 0x1000c000
#define IRAMSIZE 0xc000
-#elif defined(IAUDIO_X5) || defined(IAUDIO_M5)
+/* MCF5250 have 128KB of IRAM */
+#elif CONFIG_CPU == MCF5250
#define DRAMORIG 0x31000000
#define IRAMORIG 0x1000c000
#define IRAMSIZE 0x14000