1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2015 Atmel Corporation
4 * Bo Shen <voice.shen@atmel.com>
7 MEMORY { .sram : ORIGIN = IMAGE_TEXT_BASE, \
8 LENGTH = IMAGE_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
42 _image_binary_end = .;
54 #if defined(IMAGE_MAX_SIZE)
55 ASSERT(__image_copy_end - __start <= (IMAGE_MAX_SIZE), \
59 #if defined(CONFIG_SPL_BSS_MAX_SIZE)
60 ASSERT(__bss_end - __bss_start <= (CONFIG_SPL_BSS_MAX_SIZE), \
61 "SPL image BSS too big");