]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/powerpc/cpu/mpc5xxx/u-boot-spl.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc5xxx / u-boot-spl.lds
1 /*
2  * Copyright 2012 Stefan Roese <sr@denx.de>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 MEMORY
8 {
9         sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR,
10                 LENGTH = CONFIG_SPL_BSS_MAX_SIZE
11         flash : ORIGIN = CONFIG_SPL_TEXT_BASE,
12                 LENGTH = CONFIG_SYS_SPL_MAX_LEN
13 }
14
15 OUTPUT_ARCH(powerpc)
16 ENTRY(_start)
17 SECTIONS
18 {
19         .text :
20         {
21                 __start = .;
22                 arch/powerpc/cpu/mpc5xxx/start.o        (.text)
23                 *(.text*)
24         } > flash
25
26         . = ALIGN(4);
27         .data : { *(SORT_BY_ALIGNMENT(.data*)) } > flash
28
29         . = ALIGN(4);
30         .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } > flash
31
32         . = ALIGN(4);
33         .end_align : { *(.end_align*) } > flash
34         __spl_flash_end = .;
35
36         .bss :
37         {
38                 . = ALIGN(4);
39                 __bss_start = .;
40                 *(.bss*)
41                 . = ALIGN(4);
42                 __bss_end = .;
43         } > sdram
44 }