diff options
author | Dave Chapman <dave@dchapman.com> | 2006-02-05 17:34:49 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-02-05 17:34:49 +0000 |
commit | 987879b958f87a9af7ef9edcf6ae417fe56db788 (patch) | |
tree | 5de31eff771b81440b833f4b9d5b0a3b382afe0f /firmware/boot.lds | |
parent | 465596b1639393ef320decced442537133ab09e8 (diff) | |
download | rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.tar.gz rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.zip |
Further iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r-- | firmware/boot.lds | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds index f38f3c6a3a..fc0d2c82c2 100644 --- a/firmware/boot.lds +++ b/firmware/boot.lds | |||
@@ -4,7 +4,7 @@ ENTRY(start) | |||
4 | #ifdef CPU_COLDFIRE | 4 | #ifdef CPU_COLDFIRE |
5 | OUTPUT_FORMAT(elf32-m68k) | 5 | OUTPUT_FORMAT(elf32-m68k) |
6 | INPUT(crt0.o) | 6 | INPUT(crt0.o) |
7 | #elif CONFIG_CPU == PP5020 | 7 | #elif defined (CPU_ARM) |
8 | OUTPUT_FORMAT(elf32-littlearm) | 8 | OUTPUT_FORMAT(elf32-littlearm) |
9 | OUTPUT_ARCH(arm) | 9 | OUTPUT_ARCH(arm) |
10 | #else | 10 | #else |
@@ -38,6 +38,12 @@ INPUT(crt0.o) | |||
38 | #define IRAMSIZE 0x18000 | 38 | #define IRAMSIZE 0x18000 |
39 | #define FLASHORIG 0x001f0000 | 39 | #define FLASHORIG 0x001f0000 |
40 | #define FLASHSIZE 2M | 40 | #define FLASHSIZE 2M |
41 | #elif CONFIG_CPU == PP5002 | ||
42 | #define DRAMORIG 0x28000000 | ||
43 | #define IRAMORIG 0x40000000 | ||
44 | #define IRAMSIZE 0x18000 | ||
45 | #define FLASHORIG 0x001f0000 | ||
46 | #define FLASHSIZE 2M | ||
41 | #else | 47 | #else |
42 | #define DRAMORIG 0x09000000 | 48 | #define DRAMORIG 0x09000000 |
43 | #define IRAMORIG 0x0f000000 | 49 | #define IRAMORIG 0x0f000000 |
@@ -46,7 +52,7 @@ INPUT(crt0.o) | |||
46 | #define FLASHSIZE 256K - ROM_START | 52 | #define FLASHSIZE 256K - ROM_START |
47 | #endif | 53 | #endif |
48 | 54 | ||
49 | #if CONFIG_CPU!=PP5020 | 55 | #if (CONFIG_CPU!=PP5002) && (CONFIG_CPU!=PP5002) |
50 | MEMORY | 56 | MEMORY |
51 | { | 57 | { |
52 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 58 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
@@ -56,7 +62,7 @@ MEMORY | |||
56 | #endif | 62 | #endif |
57 | 63 | ||
58 | SECTIONS | 64 | SECTIONS |
59 | #if CONFIG_CPU==PP5020 | 65 | #if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) |
60 | { | 66 | { |
61 | . = IRAMORIG; | 67 | . = IRAMORIG; |
62 | 68 | ||