1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2014 Xilinx, Inc. Michal Simek
4 * Copyright (c) 2004-2008 Texas Instruments
7 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
10 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
11 LENGTH = CONFIG_SPL_MAX_SIZE }
12 MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
13 LENGTH = CONFIG_SPL_BSS_MAX_SIZE }
15 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
23 __image_copy_start = .;
25 CPUDIR/start.o (.text*)
31 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
41 KEEP(*(SORT(.u_boot_list*)));
46 _image_binary_end = .;
50 /* Move BSS section to RAM because of FAT */
58 /DISCARD/ : { *(.dynsym) }
59 /DISCARD/ : { *(.dynstr*) }
60 /DISCARD/ : { *(.dynamic*) }
61 /DISCARD/ : { *(.plt*) }
62 /DISCARD/ : { *(.interp*) }
63 /DISCARD/ : { *(.gnu*) }