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 ab4f50c..85a6be9 100644 (file)
@@ -34,6 +34,9 @@ SECTIONS
        .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
 
        . = ALIGN(4);
+       .u_boot_list : { KEEP(*(SORT(.u_boot_list*))); } >.sram
+
+       . = ALIGN(4);
        .rel.dyn : {
                __rel_dyn_start = .;
                *(.rel*)