From 987879b958f87a9af7ef9edcf6ae417fe56db788 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 5 Feb 2006 17:34:49 +0000 Subject: Further iPod 3G work from Seven Le Mesle git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657 --- firmware/boot.lds | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'firmware/boot.lds') 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) #ifdef CPU_COLDFIRE OUTPUT_FORMAT(elf32-m68k) INPUT(crt0.o) -#elif CONFIG_CPU == PP5020 +#elif defined (CPU_ARM) OUTPUT_FORMAT(elf32-littlearm) OUTPUT_ARCH(arm) #else @@ -38,6 +38,12 @@ INPUT(crt0.o) #define IRAMSIZE 0x18000 #define FLASHORIG 0x001f0000 #define FLASHSIZE 2M +#elif CONFIG_CPU == PP5002 +#define DRAMORIG 0x28000000 +#define IRAMORIG 0x40000000 +#define IRAMSIZE 0x18000 +#define FLASHORIG 0x001f0000 +#define FLASHSIZE 2M #else #define DRAMORIG 0x09000000 #define IRAMORIG 0x0f000000 @@ -46,7 +52,7 @@ INPUT(crt0.o) #define FLASHSIZE 256K - ROM_START #endif -#if CONFIG_CPU!=PP5020 +#if (CONFIG_CPU!=PP5002) && (CONFIG_CPU!=PP5002) MEMORY { DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE @@ -56,7 +62,7 @@ MEMORY #endif SECTIONS -#if CONFIG_CPU==PP5020 +#if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) { . = IRAMORIG; -- cgit v1.2.3