diff options
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r-- | firmware/boot.lds | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds index 1b13211608..8d7d55a607 100644 --- a/firmware/boot.lds +++ b/firmware/boot.lds | |||
@@ -15,6 +15,8 @@ INPUT(target/arm/tms320dm320/crt0.o) | |||
15 | INPUT(target/arm/s3c2440/crt0.o) | 15 | INPUT(target/arm/s3c2440/crt0.o) |
16 | #elif defined(CPU_TCC77X) | 16 | #elif defined(CPU_TCC77X) |
17 | INPUT(target/arm/tcc77x/crt0.o) | 17 | INPUT(target/arm/tcc77x/crt0.o) |
18 | #elif defined(CPU_TCC780X) | ||
19 | INPUT(target/arm/tcc780x/crt0.o) | ||
18 | #elif CONFIG_CPU==IMX31L | 20 | #elif CONFIG_CPU==IMX31L |
19 | INPUT(target/arm/imx31/crt0.o) | 21 | INPUT(target/arm/imx31/crt0.o) |
20 | #else | 22 | #else |
@@ -89,6 +91,12 @@ INPUT(target/sh/crt0.o) | |||
89 | #define IRAMSIZE 64K | 91 | #define IRAMSIZE 64K |
90 | #define FLASHORIG 0x0000000 | 92 | #define FLASHORIG 0x0000000 |
91 | #define FLASHSIZE 1M | 93 | #define FLASHSIZE 1M |
94 | #elif defined(CPU_TCC780X) | ||
95 | #define DRAMORIG 0x20000000 | ||
96 | #define IRAMORIG 0x00000000 | ||
97 | #define IRAMSIZE 4K | ||
98 | #define FLASHORIG 0x0000000 | ||
99 | #define FLASHSIZE 1M | ||
92 | #else | 100 | #else |
93 | #define DRAMORIG 0x09000000 | 101 | #define DRAMORIG 0x09000000 |
94 | #define IRAMORIG 0x0f000000 | 102 | #define IRAMORIG 0x0f000000 |
@@ -97,7 +105,7 @@ INPUT(target/sh/crt0.o) | |||
97 | #define FLASHSIZE 256K - ROM_START | 105 | #define FLASHSIZE 256K - ROM_START |
98 | #endif | 106 | #endif |
99 | 107 | ||
100 | #if defined(CPU_TCC77X) | 108 | #if defined(CPU_TCC77X) || defined(CPU_TCC780X) |
101 | MEMORY | 109 | MEMORY |
102 | { | 110 | { |
103 | #ifdef TCCBOOT | 111 | #ifdef TCCBOOT |
@@ -190,7 +198,7 @@ SECTIONS | |||
190 | _end = .; | 198 | _end = .; |
191 | } | 199 | } |
192 | } | 200 | } |
193 | #elif defined(CPU_TCC77X) | 201 | #elif defined(CPU_TCC77X) || defined(CPU_TCC780X) |
194 | { | 202 | { |
195 | .text : { | 203 | .text : { |
196 | *(.init.text) | 204 | *(.init.text) |