summaryrefslogtreecommitdiffstats
path: root/firmware/boot.lds
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-12 20:35:42 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-12 20:35:42 +0000
commit769fcbd4d9425d0de1fa1628acdce1a2ffbdcd98 (patch)
tree91b000f711fc6f4037768013d20c0f788794a029 /firmware/boot.lds
parent78017a0b3861a3238ac7845f7be95a5e5b981fe4 (diff)
downloadrockbox-769fcbd4d9425d0de1fa1628acdce1a2ffbdcd98.tar.gz
rockbox-769fcbd4d9425d0de1fa1628acdce1a2ffbdcd98.zip
More iAudio M3 work. Bootloader compiles, but doesn't work yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16645 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r--firmware/boot.lds12
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds
index fc876b1d20..e6c9326c7c 100644
--- a/firmware/boot.lds
+++ b/firmware/boot.lds
@@ -47,6 +47,12 @@ INPUT(target/sh/crt0.o)
#define IRAMSIZE 0x20000
#define FLASHORIG 0x00010000
#define FLASHSIZE 4M
+#elif defined(IAUDIO_M3)
+#define DRAMORIG 0x31000000
+#define IRAMORIG 0x10000000
+#define IRAMSIZE 0x18000
+#define FLASHORIG 0x00010000
+#define FLASHSIZE 4M
#elif CONFIG_CPU == PP5020
#define DRAMORIG 0x10000000
#define IRAMORIG 0x40000000
@@ -375,7 +381,7 @@ SECTIONS
{
.vectors :
{
-#if defined(IAUDIO_X5) || defined(IAUDIO_M5)
+#if defined(IAUDIO_X5) || defined(IAUDIO_M5) || defined(IAUDIO_M3)
*(.init.text)
#endif
_datacopy = .;
@@ -426,7 +432,7 @@ SECTIONS
} > IRAM
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) \
- || defined(IAUDIO_X5) || defined(IAUDIO_M5)
+ || defined(IAUDIO_X5) || defined(IAUDIO_M5) || defined(IAUDIO_M3)
.bss DRAMORIG+0x800000:
#else
.bss :
@@ -438,7 +444,7 @@ SECTIONS
*(COMMON)
_end = .;
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) \
- || defined(IAUDIO_X5) || defined(IAUDIO_M5)
+ || defined(IAUDIO_X5) || defined(IAUDIO_M5) || defined(IAUDIO_M3)
} > DRAM
#else
} > IRAM