]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
aspeed/ast2600: Fix SPL linker script
authorJoel Stanley <joel@jms.id.au>
Tue, 28 Jun 2022 04:27:25 +0000 (13:57 +0930)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jun 2022 13:40:03 +0000 (09:40 -0400)
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>
arch/arm/mach-aspeed/ast2600/u-boot-spl.lds

index 22b4e16d35c5261405725279107308cec18fb5f1..95a509ba3f318ecefd511f4ea1326848a0d96f7d 100644 (file)
@@ -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);