Prepare v2023.10
[platform/kernel/u-boot.git] / board / davinci / da8xxevm / u-boot-spl-da850evm.lds
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 2008
7  * Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
8  */
9
10 MEMORY { .sram : ORIGIN = IMAGE_TEXT_BASE,\
11                 LENGTH = CONFIG_SPL_MAX_FOOTPRINT }
12
13 MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
14                 LENGTH = 0x1080000 }
15
16 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
17 OUTPUT_ARCH(arm)
18 ENTRY(_start)
19 SECTIONS
20 {
21         . = 0x00000000;
22
23         . = ALIGN(4);
24         .text      :
25         {
26         __start = .;
27           *(.vectors)
28           arch/arm/cpu/arm926ejs/start.o        (.text*)
29           *(.text*)
30         } >.sram
31
32         . = ALIGN(4);
33         .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
34
35         . = ALIGN(4);
36         .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
37
38         . = ALIGN(4);
39         __u_boot_list : { KEEP(*(SORT(__u_boot_list*))); } >.sram
40
41         . = ALIGN(4);
42         .rel.dyn : {
43                 __rel_dyn_start = .;
44                 *(.rel*)
45                 __rel_dyn_end = .;
46         } >.sram
47
48         __image_copy_end = .;
49
50         .end :
51         {
52                 *(.__end)
53         }
54
55         _image_binary_end = .;
56
57         .bss :
58         {
59                 . = ALIGN(4);
60                 __bss_start = .;
61                 *(.bss*)
62                 . = ALIGN(4);
63                 __bss_end = .;
64         } >.sdram
65 }