5 OUTPUT_FORMAT(elf32-littlearm)
7 STARTUP(target/arm/imx31/crt0.o)
9 #define DRAMSIZE (1 << 20) /* Limit 1 MB for bootloader */
11 #define DRAMORIG 0x02000000
12 /* #define IRAMORIG 0x1FFFC000 */
14 #define IRAMSIZE IRAM_SIZE
15 #define IRAMORIG DRAMORIG
16 #define FLASHORIG 0x0000000
21 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
22 QHARRAY : ORIGIN = QHARRAY_PHYS_ADDR, LENGTH = QHARRAY_SIZE
41 *(.rodata) /* problems without this, dunno why */
47 /* Pseudo-allocate the copies of the data sections */
62 #if 0 /* Unneeded at the moment */
63 /* .ncdata section is placed at uncached physical alias address and is
64 * loaded at the proper cached virtual address - no copying is
65 * performed in the init code */
66 .ncdata . + NOCACHE_BASE :
68 . = ALIGN(CACHEALIGN_SIZE); /* >= Cache line boundary */
70 . = ALIGN(CACHEALIGN_SIZE); /* >= Cache line boundary */
81 _vectorscopy = LOADADDR(.vectors);
93 /* .bss and .ncbss are treated as a single section to use one init loop to
94 * zero it - note "_edata" and "_end" */
104 .ncbss . + NOCACHE_BASE (NOLOAD) :
106 . = ALIGN(CACHEALIGN_SIZE); /* >= Cache line boundary */
108 . = ALIGN(CACHEALIGN_SIZE); /* >= Cache line boundary */
111 .endaddr . - NOCACHE_BASE (NOLOAD) :