]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/cpu/armv7/socfpga/u-boot-spl.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / arm / cpu / armv7 / socfpga / u-boot-spl.lds
CommitLineData
77754408
DN
1/*
2 * Copyright (C) 2012 Altera Corporation <www.altera.com>
3 *
1a459660 4 * SPDX-License-Identifier: GPL-2.0+
77754408
DN
5 */
6
7MEMORY { .sdram : ORIGIN = (0), LENGTH = (0xffffffff) }
8
9OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
10OUTPUT_ARCH(arm)
11ENTRY(_start)
12SECTIONS
13{
14 . = 0x00000000;
15
16 . = ALIGN(4);
17 .text :
18 {
1a9a91dc 19 arch/arm/cpu/armv7/start.o (.text*)
77754408
DN
20 *(.text*)
21 } >.sdram
22
23 . = ALIGN(4);
24 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } >.sdram
25
26 . = ALIGN(4);
27 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sdram
28
29 . = ALIGN(4);
30 __image_copy_end = .;
31 _end = .;
32
33 .bss : {
34 . = ALIGN(4);
35 __bss_start = .;
36 *(.bss*)
37 . = ALIGN(4);
3929fb0a 38 __bss_end = .;
77754408
DN
39 } >.sdram
40
41 . = ALIGN(8);
42 __malloc_start = .;
43 . = . + CONFIG_SPL_MALLOC_SIZE;
44 __malloc_end = .;
45
46 . = . + CONFIG_SPL_STACK_SIZE;
47 . = ALIGN(8);
48 __stack_start = .;
49}