summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700/boot.lds
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-10-25 13:52:46 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-10-25 13:52:46 +0000
commitd2827996af26dc668eef5a9212285d2b781279bd (patch)
tree34f3b5ac76da3165c42d138c53f4978d67b95a18 /firmware/target/arm/s5l8700/boot.lds
parent6290f78177b2860df0beaa63d11cb5f8528b77ab (diff)
downloadrockbox-d2827996af26dc668eef5a9212285d2b781279bd.tar.gz
rockbox-d2827996af26dc668eef5a9212285d2b781279bd.zip
Meizu M6 SP: make bootloader compile and run again
* don't use DRAM yet in the bootloader linker script * add header files for the ftl and nand * update svn:keywords git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23347 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/boot.lds')
-rw-r--r--firmware/target/arm/s5l8700/boot.lds12
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8700/boot.lds b/firmware/target/arm/s5l8700/boot.lds
index 308a97dca8..90de22f8fe 100644
--- a/firmware/target/arm/s5l8700/boot.lds
+++ b/firmware/target/arm/s5l8700/boot.lds
@@ -90,11 +90,13 @@ SECTIONS
90 _fiqstackend = .; 90 _fiqstackend = .;
91 } > IRAM 91 } > IRAM
92 92
93 . = DRAMORIG;
94#ifdef IPOD_NANO2G
93 /* The bss section is too large for IRAM - we just move it 12MB into the 95 /* The bss section is too large for IRAM - we just move it 12MB into the
94 DRAM */ 96 DRAM */
95 97 . += (12*1024*1024) {
96 . = DRAMORIG; 98#endif
97 .bss . + (12*1024*1024): { 99 .bss :{
98 _edata = .; 100 _edata = .;
99 *(.bss*); 101 *(.bss*);
100 *(.ibss); 102 *(.ibss);
@@ -102,5 +104,9 @@ SECTIONS
102 *(COMMON); 104 *(COMMON);
103 . = ALIGN(0x4); 105 . = ALIGN(0x4);
104 _end = .; 106 _end = .;
107#ifdef IPOD_NANO2G
105 } > DRAM 108 } > DRAM
109#else /* other targets don't have DRAM set up yet */
110 } > IRAM
111#endif
106} 112}