]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
davinci: da850evm: fix empty boot method list in the SPL
authorFabien Parent <fparent@baylibre.com>
Tue, 29 Nov 2016 13:23:40 +0000 (14:23 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 18:21:14 +0000 (13:21 -0500)
The list of available boot method is not part of the binary which
prevent the SPL from booting u-boot or Linux.

Add the missing .u_boot_list* sections to the binary to fix it.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/davinci/da8xxevm/u-boot-spl-da850evm.lds

index ab4f50cbbeb5c86a6ab1e03dfe41230fc1d1c216..85a6be90c59b857a32e0d9a3443915cde26b6733 100644 (file)
@@ -33,6 +33,9 @@ SECTIONS
        . = ALIGN(4);
        .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
 
+       . = ALIGN(4);
+       .u_boot_list : { KEEP(*(SORT(.u_boot_list*))); } >.sram
+
        . = ALIGN(4);
        .rel.dyn : {
                __rel_dyn_start = .;