summaryrefslogtreecommitdiffstats
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)
#define FLASHSIZE 256K - ROM_START
#endif
-#ifndef CPU_PP
+#if !defined(CPU_PP) && (CONFIG_CPU!=S3C2440)
MEMORY
{
DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
@@ -117,6 +117,36 @@ SECTIONS
_end = .;
}
}
+#elif (CONFIG_CPU==S3C2440)
+{
+ . = DRAMORIG + 0x8000;
+ .text : {
+ *(.init.text)
+ *(.text)
+ }
+ .data : {
+ *(.icode)
+ *(.irodata)
+ *(.idata)
+ *(.data)
+ _dataend = . ;
+ }
+ .stack :
+ {
+ *(.stack)
+ _stackbegin = .;
+ stackbegin = .;
+ . += 0x2000;
+ _stackend = .;
+ stackend = .;
+ }
+ .bss : {
+ _edata = .;
+ *(.bss);
+ *(.ibss);
+ _end = .;
+ }
+}
#else
{
.vectors :