summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/iaudio/boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/iaudio/boot.lds')
-rw-r--r--firmware/target/coldfire/iaudio/boot.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/coldfire/iaudio/boot.lds b/firmware/target/coldfire/iaudio/boot.lds
index 4cd0e8eaab..9288a6c18b 100644
--- a/firmware/target/coldfire/iaudio/boot.lds
+++ b/firmware/target/coldfire/iaudio/boot.lds
@@ -14,8 +14,12 @@ STARTUP(target/coldfire/crt0.o)
#define IRAMSIZE 0x18000
#endif
#define DRAMORIG 0x31000000
+#ifdef HAVE_DUALBOOT
+#define FLASHORIG 0x00150000
+#else
#define FLASHORIG 0x00010000
-#define FLASHSIZE 4M
+#endif
+#define FLASHSIZE 4M - FLASHORIG
MEMORY
{