summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/app.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/app.lds')
-rw-r--r--firmware/target/mips/ingenic_x1000/app.lds9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/app.lds b/firmware/target/mips/ingenic_x1000/app.lds
index 55a43af10a..2943329ba7 100644
--- a/firmware/target/mips/ingenic_x1000/app.lds
+++ b/firmware/target/mips/ingenic_x1000/app.lds
@@ -23,6 +23,7 @@ MEMORY
23{ 23{
24 IRAM : ORIGIN = X1000_IRAM_BASE, LENGTH = X1000_IRAM_SIZE 24 IRAM : ORIGIN = X1000_IRAM_BASE, LENGTH = X1000_IRAM_SIZE
25 DRAM : ORIGIN = X1000_DRAM_BASE, LENGTH = X1000_DRAM_SIZE 25 DRAM : ORIGIN = X1000_DRAM_BASE, LENGTH = X1000_DRAM_SIZE
26 TCSM : ORIGIN = X1000_TCSM_BASE, LENGTH = X1000_TCSM_SIZE
26} 27}
27 28
28SECTIONS 29SECTIONS
@@ -68,6 +69,14 @@ SECTIONS
68 } > IRAM 69 } > IRAM
69 _iramcopy = LOADADDR(.iram); 70 _iramcopy = LOADADDR(.iram);
70 71
72 .tcsm X1000_TCSM_BASE: AT (_bssbegin + SIZEOF(.iram))
73 {
74 _tcsmstart = .;
75 KEEP(*(.tcsm*));
76 _tcsmend = .;
77 } > TCSM
78 _tcsmcopy = LOADADDR(.tcsm);
79
71 . = ALIGN(4); 80 . = ALIGN(4);
72 .stack (NOLOAD) : 81 .stack (NOLOAD) :
73 { 82 {