1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * (C) Copyright 2002 4 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> 5 * 6 * (C) Copyright 2010 7 * Texas Instruments, <www.ti.com> 8 * Aneesh V <aneesh@ti.com> 9 */ 10 11MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\ 12 LENGTH = CONFIG_SPL_MAX_SIZE } 13MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \ 14 LENGTH = CONFIG_SPL_BSS_MAX_SIZE } 15 16OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 17OUTPUT_ARCH(arm) 18ENTRY(_start) 19SECTIONS 20{ 21 .text : 22 { 23 __start = .; 24 *(.vectors) 25 arch/arm/cpu/arm1136/start.o (.text*) 26 *(.text*) 27 } >.sram 28 29 . = ALIGN(4); 30 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram 31 32 . = ALIGN(4); 33 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram 34 . = ALIGN(4); 35 __image_copy_end = .; 36 37 .end : 38 { 39 *(.__end) 40 } 41 42 .bss : 43 { 44 . = ALIGN(4); 45 __bss_start = .; 46 *(.bss*) 47 . = ALIGN(4); 48 __bss_end = .; 49 } >.sdram 50} 51