aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2022-06-28 13:57:25 +0930
committerTom Rini <trini@konsulko.com>2022-06-28 09:40:03 -0400
commitf6810b749f2ec136dac02989b23e7c5730c4e1a7 (patch)
tree519bfe66413efdc0d6c95150261c8dd8cc16dd1f
parentc0f47562162f7f6ede331514ff2b59bff204a448 (diff)
downloadu-boot-f6810b749f2ec136dac02989b23e7c5730c4e1a7.zip
u-boot-f6810b749f2ec136dac02989b23e7c5730c4e1a7.tar.gz
u-boot-f6810b749f2ec136dac02989b23e7c5730c4e1a7.tar.bz2
aspeed/ast2600: Fix SPL linker script
The commit 99e2fbcb69f0 ("linker_lists: Rename sections to remove . prefix") changed the name of the linker list sections. As the Aspeed SPL linker wasn't in the tree yet, it missed the change. This updates the SPL linker to match arch/arm/cpu/u-boot-spl.lds which Aspeed was copied from. Fixes: 442a69c14375 ("configs: ast2600: Move SPL bss section to DRAM space") Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--arch/arm/mach-aspeed/ast2600/u-boot-spl.lds6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-aspeed/ast2600/u-boot-spl.lds b/arch/arm/mach-aspeed/ast2600/u-boot-spl.lds
index 22b4e16..95a509b 100644
--- a/arch/arm/mach-aspeed/ast2600/u-boot-spl.lds
+++ b/arch/arm/mach-aspeed/ast2600/u-boot-spl.lds
@@ -40,8 +40,8 @@ SECTIONS
} > .nor
. = ALIGN(4);
- .u_boot_list : {
- KEEP(*(SORT(.u_boot_list*)));
+ __u_boot_list : {
+ KEEP(*(SORT(__u_boot_list*)));
} > .nor
. = ALIGN(4);
@@ -68,7 +68,7 @@ SECTIONS
_image_binary_end = .;
- .bss : {
+ .bss __rel_dyn_start (OVERLAY) : {
__bss_start = .;
*(.bss*)
. = ALIGN(4);