From 4f551a00df62edf6562773e1cd390fcdde40af93 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 11 Apr 2010 20:53:18 +0000 Subject: 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 --- apps/plugins/plugin.lds | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'apps/plugins/plugin.lds') diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 3a88867..1103810 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 -- cgit v1.1