summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/app.lds10
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/app.lds b/firmware/app.lds
index ee666d8cb3..5816f40d35 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -113,10 +113,14 @@ _pluginbuf = 0;
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - STUBOFFSET - CODECSIZE
-#if CONFIG_CPU == MCF5249
-#define DRAMORIG 0x31000000 + STUBOFFSET
-#define IRAMORIG 0x10000000
+#ifdef IRIVER_H100_SERIES
#define IRAMSIZE 0x10000
+#define IRAMORIG 0x10000000
+#ifdef IRIVER_H100
+#define DRAMORIG 0x30000000 + STUBOFFSET
+#else /* H120/H140 */
+#define DRAMORIG 0x31000000 + STUBOFFSET
+#endif
#else
#define DRAMORIG 0x09000000 + STUBOFFSET
#define IRAMORIG 0x0f000000