]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
bcae7211 A |
2 | /* |
3 | * (C) Copyright 2002 | |
4 | * Gary Jennejohn, DENX Software Engineering, <[email protected]> | |
5 | * | |
6 | * (C) Copyright 2010 | |
7 | * Texas Instruments, <www.ti.com> | |
8 | * Aneesh V <[email protected]> | |
bcae7211 A |
9 | */ |
10 | ||
2f41ade7 TR |
11 | MEMORY { .sram : ORIGIN = IMAGE_TEXT_BASE,\ |
12 | LENGTH = IMAGE_MAX_SIZE } | |
bcae7211 A |
13 | MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \ |
14 | LENGTH = CONFIG_SPL_BSS_MAX_SIZE } | |
15 | ||
16 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") | |
17 | OUTPUT_ARCH(arm) | |
18 | ENTRY(_start) | |
19 | SECTIONS | |
20 | { | |
21 | .text : | |
22 | { | |
9f8a6e7a | 23 | __start = .; |
eeadd3fe | 24 | *(.vectors) |
1a9a91dc | 25 | arch/arm/cpu/armv7/start.o (.text*) |
9f8a6e7a | 26 | *(.text*) |
bcae7211 A |
27 | } >.sram |
28 | ||
29 | . = ALIGN(4); | |
30 | .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram | |
31 | ||
32 | . = ALIGN(4); | |
33 | .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram | |
55675142 | 34 | |
6789e84e | 35 | . = ALIGN(4); |
99e2fbcb AS |
36 | __u_boot_list : { |
37 | KEEP(*(SORT(__u_boot_list*))); | |
6789e84e | 38 | } >.sram |
5e995c00 | 39 | |
bcae7211 A |
40 | . = ALIGN(4); |
41 | __image_copy_end = .; | |
c1eb7a99 | 42 | _end = .; |
4d451c00 LV |
43 | _image_binary_end = .; |
44 | ||
bcae7211 A |
45 | .bss : |
46 | { | |
47 | . = ALIGN(4); | |
48 | __bss_start = .; | |
49 | *(.bss*) | |
50 | . = ALIGN(4); | |
3929fb0a | 51 | __bss_end = .; |
bcae7211 A |
52 | } >.sdram |
53 | } |