summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-04-18 17:04:04 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-04-18 17:04:04 +0000
commit3b90ab5ab10550fb42b79d7faedd4b06d7e3e695 (patch)
tree7cd814bdf2767cebb6d4874b4c85dfb0f275db78 /firmware
parent94f7d0f29095e056de281b2159a85e0f4c73d61a (diff)
downloadrockbox-3b90ab5ab10550fb42b79d7faedd4b06d7e3e695.tar.gz
rockbox-3b90ab5ab10550fb42b79d7faedd4b06d7e3e695.tar.bz2
rockbox-3b90ab5ab10550fb42b79d7faedd4b06d7e3e695.zip
Fix bootloader red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17155 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/imx31/boot.lds8
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/target/arm/imx31/boot.lds b/firmware/target/arm/imx31/boot.lds
index 7110264c1b..8940f77f77 100644
--- a/firmware/target/arm/imx31/boot.lds
+++ b/firmware/target/arm/imx31/boot.lds
@@ -1,4 +1,5 @@
#include "config.h"
+#include "imx31l.h"
ENTRY(start)
OUTPUT_FORMAT(elf32-littlearm)
@@ -8,9 +9,10 @@ INPUT(target/arm/imx31/crt0.o)
#define DRAMSIZE (1 << 20) /* Limit 1 MB for bootloader */
#define DRAMORIG (0x02000000-0x00100000)
-#define IRAM DRAM
-#define IRAMORIG 0x1FFFC000
-#define IRAMSIZE 16K
+/* #define IRAMORIG 0x1FFFC000 */
+#define IRAM DRAM
+#define IRAMSIZE IRAM_SIZE
+#define IRAMORIG DRAMORIG
#define FLASHORIG 0x0000000
#define FLASHSIZE 1M