1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2015 Atmel Corporation
7 MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE, \
8 LENGTH = CONFIG_SPL_MAX_SIZE }
9 MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
10 LENGTH = CONFIG_SPL_BSS_MAX_SIZE }
12 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
21 arch/arm/cpu/arm926ejs/start.o (.text*)
26 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
29 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
32 .u_boot_list : { KEEP(*(SORT(.u_boot_list*))) } > .sram
52 #if defined(CONFIG_SPL_MAX_SIZE)
53 ASSERT(__image_copy_end - __start < (CONFIG_SPL_MAX_SIZE), \
57 #if defined(CONFIG_SPL_BSS_MAX_SIZE)
58 ASSERT(__bss_end - __bss_start < (CONFIG_SPL_BSS_MAX_SIZE), \
59 "SPL image BSS too big");