]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/socfpga/u-boot-spl.lds
axs101: Fix type mismatch warning
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / socfpga / u-boot-spl.lds
1 /*
2  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 MEMORY { .sdram : ORIGIN = (0), LENGTH = (0xffffffff) }
8
9 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
10 OUTPUT_ARCH(arm)
11 ENTRY(_start)
12 SECTIONS
13 {
14         . = 0x00000000;
15
16         . = ALIGN(4);
17         .text   :
18         {
19                 arch/arm/cpu/armv7/start.o      (.text*)
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
32         .end :
33         {
34                 *(.__end)
35         }
36
37         .bss : {
38                 . = ALIGN(4);
39                 __bss_start = .;
40                 *(.bss*)
41                 . = ALIGN(4);
42                 __bss_end = .;
43         } >.sdram
44
45         . = ALIGN(8);
46         __malloc_start = .;
47         . = . + CONFIG_SPL_MALLOC_SIZE;
48         __malloc_end = .;
49
50         . = . + CONFIG_SPL_STACK_SIZE;
51         . = ALIGN(8);
52         __stack_start = .;
53 }