1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2014 Albert ARIBAUD <albert.u.boot@aribaud.net>
7 * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
8 * Tom Cubie <tangliang@allwinnertech.com>
10 * Based on omap-common/u-boot-spl.lds:
13 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
16 * Texas Instruments, <www.ti.com>
17 * Aneesh V <aneesh@ti.com>
19 MEMORY { .nor : ORIGIN = IMAGE_TEXT_BASE,\
20 LENGTH = IMAGE_MAX_SIZE }
21 MEMORY { .bss : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
22 LENGTH = CONFIG_SPL_BSS_MAX_SIZE }
24 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
33 CPUDIR/start.o (.text)
38 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.nor
41 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.nor
45 KEEP(*(SORT(.u_boot_list*)));