summaryrefslogtreecommitdiffstats
path: root/firmware/boot.lds
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-04 14:09:21 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-04 14:09:21 +0000
commitb4994a08ca8d8c86c1254a0b4f3de75564fdad1d (patch)
treefbc95b8302d75e581835a350d30d95db681b4cf6 /firmware/boot.lds
parent4de9fbeda6d38adb197399156f69d034837a9562 (diff)
downloadrockbox-b4994a08ca8d8c86c1254a0b4f3de75564fdad1d.tar.gz
rockbox-b4994a08ca8d8c86c1254a0b4f3de75564fdad1d.zip
Added new iAudio M5 target, including some adjustments to make the bootloader compile (with a small change against the committed tools/tonfigure, and it won't actually work yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r--firmware/boot.lds10
1 files changed, 6 insertions, 4 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds
index c9e39be554..b032f8e64a 100644
--- a/firmware/boot.lds
+++ b/firmware/boot.lds
@@ -31,7 +31,7 @@ INPUT(target/sh/crt0.o)
#define IRAMSIZE 0x18000
#define FLASHORIG 0x003f0000
#define FLASHSIZE 4M
-#elif defined(IAUDIO_X5)
+#elif defined(IAUDIO_X5) || defined(IAUDIO_M5)
#define DRAMORIG 0x31000000
#define IRAMORIG 0x10000000
#define IRAMSIZE 0x20000
@@ -151,7 +151,7 @@ SECTIONS
{
.vectors :
{
-#ifdef IAUDIO_X5
+#if defined(IAUDIO_X5) || defined(IAUDIO_M5)
*(.init.text)
#endif
_datacopy = .;
@@ -201,7 +201,8 @@ SECTIONS
stackend = .;
} > IRAM
-#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) || defined(IAUDIO_X5)
+#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) \
+ || defined(IAUDIO_X5) || defined(IAUDIO_M5)
.bss DRAMORIG+0x800000:
#else
.bss :
@@ -212,7 +213,8 @@ SECTIONS
*(.bss*)
*(COMMON)
_end = .;
-#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) || defined(IAUDIO_X5)
+#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) \
+ || defined(IAUDIO_X5) || defined(IAUDIO_M5)
} > DRAM
#else
} > IRAM