diff mbox

[U-Boot,v3,5/6] davinci: da850evm: fix empty boot method list in the SPL

Message ID 20161129132341.18254-6-fparent@baylibre.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Fabien Parent Nov. 29, 2016, 1:23 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>
Reviewed-by: Tom Rini <trini@konsulko.com>
---

v2 -> v3:

	* No change

v1 -> v2:

	* No change

---
 board/davinci/da8xxevm/u-boot-spl-da850evm.lds | 3 +++
 1 file changed, 3 insertions(+)

Comments

Tom Rini Dec. 4, 2016, 12:55 a.m. UTC | #1
On Tue, Nov 29, 2016 at 02:23:40PM +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>

Applied to u-boot/master, thanks!
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*)