diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-01-14 22:04:48 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-01-14 22:04:48 +0000 |
commit | 47ea030e2e68a51f91a2c2302b7ea4d3ee1a2a07 (patch) | |
tree | 0a48ce653e22ec9a2673474f718217d9659e0c6b /firmware/boot.lds | |
parent | b30ca8ca5ab6c8ea27b8fe1f5fb38ebad09b7e62 (diff) | |
download | rockbox-47ea030e2e68a51f91a2c2302b7ea4d3ee1a2a07.tar.gz rockbox-47ea030e2e68a51f91a2c2302b7ea4d3ee1a2a07.zip |
Initial Cowon D2 commit:
* bootloader test program (basic LCD & button drivers, reads touchscreen)
* work-in-progress stubs for main build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
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) |