diff options
Diffstat (limited to 'firmware/target/arm/tcc77x/boot.lds')
-rw-r--r-- | firmware/target/arm/tcc77x/boot.lds | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/target/arm/tcc77x/boot.lds b/firmware/target/arm/tcc77x/boot.lds index 21fc7db96a..890c4ec785 100644 --- a/firmware/target/arm/tcc77x/boot.lds +++ b/firmware/target/arm/tcc77x/boot.lds | |||
@@ -10,16 +10,11 @@ STARTUP(target/arm/tcc77x/crt0.o) | |||
10 | #define DRAMORIG 0x20000000 | 10 | #define DRAMORIG 0x20000000 |
11 | #define IRAMORIG 0x00000000 | 11 | #define IRAMORIG 0x00000000 |
12 | #define IRAMSIZE 64K | 12 | #define IRAMSIZE 64K |
13 | #define FLASHORIG 0x0000000 | 13 | |
14 | #define FLASHSIZE 1M | ||
15 | 14 | ||
16 | MEMORY | 15 | MEMORY |
17 | { | 16 | { |
18 | #ifdef TCCBOOT | ||
19 | DRAM : ORIGIN = DRAMORIG + DRAMSIZE - 0x100000, LENGTH = 0x100000 | 17 | DRAM : ORIGIN = DRAMORIG + DRAMSIZE - 0x100000, LENGTH = 0x100000 |
20 | #else | ||
21 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | ||
22 | #endif | ||
23 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE | 18 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE |
24 | } | 19 | } |
25 | 20 | ||
@@ -52,6 +47,7 @@ SECTIONS | |||
52 | _stackend = .; | 47 | _stackend = .; |
53 | stackend = .; | 48 | stackend = .; |
54 | } > DRAM | 49 | } > DRAM |
50 | |||
55 | .bss : { | 51 | .bss : { |
56 | _edata = .; | 52 | _edata = .; |
57 | *(.bss*); | 53 | *(.bss*); |