[PATCH 2/3] efi: Support an embedded DTB for the 32-bit app

Simon Glass sjg at chromium.org
Wed Dec 11 01:45:02 CET 2024


While this is not likely to be used these days, it seems best to keep it
in sync with the 64-bit app. Update the linker script to support a
separate devicetree.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/lib/elf_ia32_efi.lds | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/x86/lib/elf_ia32_efi.lds b/arch/x86/lib/elf_ia32_efi.lds
index 6d89c1fbd53..37a6c386b81 100644
--- a/arch/x86/lib/elf_ia32_efi.lds
+++ b/arch/x86/lib/elf_ia32_efi.lds
@@ -87,5 +87,10 @@ SECTIONS
 		*(.eh_frame)
 		*(.note.GNU-stack)
 	}
+
+	.embedded_dtb : {
+		*(.embedded_dtb)
+	}
+
 	.comment 0 : { *(.comment) }
 }
-- 
2.34.1



More information about the U-Boot mailing list