summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700/boot.lds
diff options
context:
space:
mode:
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}