diff mbox

[U-Boot,2/3] davinci: da850evm: fix empty boot method list in the SPL

Message ID 20161116163335.4560-2-fparent@baylibre.com
State Accepted
Commit 5d7cdf3af64efb58fc272db1f74954401d7877f7
Delegated to: Tom Rini
Headers show

Commit Message

Fabien Parent Nov. 16, 2016, 4:33 p.m. UTC
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>
---
 board/davinci/da8xxevm/u-boot-spl-da850evm.lds | 3 +++
 1 file changed, 3 insertions(+)

Comments

Tom Rini Nov. 17, 2016, 10:22 p.m. UTC | #1
On Wed, Nov 16, 2016 at 05:33:34PM +0100, Fabien Parent wrote:

> 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>
diff mbox

Patch

diff --git a/board/davinci/da8xxevm/u-boot-spl-da850evm.lds b/board/davinci/da8xxevm/u-boot-spl-da850evm.lds
index ab4f50c..85a6be9 100644
--- a/board/davinci/da8xxevm/u-boot-spl-da850evm.lds
+++ b/board/davinci/da8xxevm/u-boot-spl-da850evm.lds
@@ -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*)