3 /* Can't link all Sansa PP devices the same way at this time */
4 #ifdef HAVE_BOOTLOADER_USB_MODE
5 #include "../boot-pp502x-bl-usb.lds"
6 #else /* !HAVE_BOOTLOADER_USB_MODE */
9 OUTPUT_FORMAT(elf32-littlearm)
11 STARTUP(target/arm/crt0-pp-bl.o)
13 #define DRAMSIZE (MEMORYSIZE * 0x100000)
16 #define DRAMORIG 0x10f00000
18 #define DRAMORIG 0x10000000
22 #define IRAMORIG 0x40000000
24 #define IRAMSIZE 0x20000
25 #define FLASHORIG 0x001f0000
30 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
31 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) : {
81 #endif /* HAVE_BOOTLOADER_USB_MODE */