4 OUTPUT_FORMAT(elf32-littlearm)
6 STARTUP(target/arm/pp/crt0-pp-bl.o)
8 #define DRAMSIZE (MEMORYSIZE * 0x100000)
10 #if CONFIG_CPU == PP5020
11 #define DRAMORIG 0x10000000
12 #define IRAMORIG 0x40000000
13 #define IRAMSIZE 0x18000
14 #define FLASHORIG 0x001f0000
16 #elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
17 #define DRAMORIG 0x10000000
19 #define IRAMORIG 0x40000000
21 #define IRAMSIZE 0x20000
22 #define FLASHORIG 0x001f0000
24 #elif CONFIG_CPU == PP5002
25 #define DRAMORIG 0x28000000
26 #define IRAMORIG 0x40000000
27 #define IRAMSIZE 0x18000
28 #define FLASHORIG 0x001f0000
34 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
35 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
68 /* The bss section is too large for IRAM - we just move it 16MB into the
72 .bss . + (16*1024*1024) (NOLOAD) : {