diff options
Diffstat (limited to 'firmware/target/arm/tcc77x/boot.lds')
-rw-r--r-- | firmware/target/arm/tcc77x/boot.lds | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/tcc77x/boot.lds b/firmware/target/arm/tcc77x/boot.lds index 890c4ec785..2fd6964d57 100644 --- a/firmware/target/arm/tcc77x/boot.lds +++ b/firmware/target/arm/tcc77x/boot.lds | |||
@@ -14,7 +14,11 @@ STARTUP(target/arm/tcc77x/crt0.o) | |||
14 | 14 | ||
15 | MEMORY | 15 | MEMORY |
16 | { | 16 | { |
17 | #ifdef TCCBOOT | ||
17 | DRAM : ORIGIN = DRAMORIG + DRAMSIZE - 0x100000, LENGTH = 0x100000 | 18 | DRAM : ORIGIN = DRAMORIG + DRAMSIZE - 0x100000, LENGTH = 0x100000 |
19 | #else | ||
20 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | ||
21 | #endif | ||
18 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE | 22 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE |
19 | } | 23 | } |
20 | 24 | ||
@@ -34,6 +38,7 @@ SECTIONS | |||
34 | *(.idata) | 38 | *(.idata) |
35 | *(.data*) | 39 | *(.data*) |
36 | *(.rodata.*) | 40 | *(.rodata.*) |
41 | *(.rodata) | ||
37 | . = ALIGN(0x4); | 42 | . = ALIGN(0x4); |
38 | _dataend = . ; | 43 | _dataend = . ; |
39 | } > DRAM | 44 | } > DRAM |