summaryrefslogtreecommitdiff
path: root/firmware/boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r--firmware/boot.lds32
1 files changed, 31 insertions, 1 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds
index 78dd40bf92..56383d7723 100644
--- a/firmware/boot.lds
+++ b/firmware/boot.lds
@@ -69,7 +69,7 @@ INPUT(crt0.o)
69#define FLASHSIZE 256K - ROM_START 69#define FLASHSIZE 256K - ROM_START
70#endif 70#endif
71 71
72#ifndef CPU_PP 72#if !defined(CPU_PP) && (CONFIG_CPU!=S3C2440)
73MEMORY 73MEMORY
74{ 74{
75 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE 75 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
@@ -117,6 +117,36 @@ SECTIONS
117 _end = .; 117 _end = .;
118 } 118 }
119} 119}
120#elif (CONFIG_CPU==S3C2440)
121{
122 . = DRAMORIG + 0x8000;
123 .text : {
124 *(.init.text)
125 *(.text)
126 }
127 .data : {
128 *(.icode)
129 *(.irodata)
130 *(.idata)
131 *(.data)
132 _dataend = . ;
133 }
134 .stack :
135 {
136 *(.stack)
137 _stackbegin = .;
138 stackbegin = .;
139 . += 0x2000;
140 _stackend = .;
141 stackend = .;
142 }
143 .bss : {
144 _edata = .;
145 *(.bss);
146 *(.ibss);
147 _end = .;
148 }
149}
120#else 150#else
121{ 151{
122 .vectors : 152 .vectors :