1/*
2 * (C) Copyright 2002
3 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
4 *
5 * Copyright (C) 2012 Samsung Electronics
6 *
7 * Based on arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
8 *
9 * SPDX-License-Identifier:	GPL-2.0+
10 */
11
12MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE, \
13		LENGTH = CONFIG_SPL_MAX_FOOTPRINT }
14
15OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
16OUTPUT_ARCH(arm)
17ENTRY(_start)
18
19SECTIONS
20{
21	.text :
22	{
23		__start = .;
24		*(.vectors)
25		arch/arm/cpu/armv7/start.o (.text*)
26		*(.text*)
27	} >.sram
28	. = ALIGN(4);
29
30	.rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
31	. = ALIGN(4);
32
33	.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
34	. = ALIGN(4);
35
36	.u_boot_list : {
37		KEEP(*(SORT(.u_boot_list*)));
38	} >.sram
39	. = ALIGN(4);
40
41	/* Align .machine_param on 256 byte boundary for easier searching */
42	.machine_param ALIGN(0x100) : { *(.machine_param) } >.sram
43	. = ALIGN(4);
44
45	__image_copy_end = .;
46
47	.end :
48	{
49		*(.__end)
50	} >.sram
51
52	.bss :
53	{
54		. = ALIGN(4);
55		__bss_start = .;
56		*(.bss*)
57		. = ALIGN(4);
58		__bss_end = .;
59	} >.sram
60}
61