[U-Boot] [PATCH 32/48] x86: Add a link script entry for U-Boot as a payload
Simon Glass
sjg at chromium.org
Wed Jul 22 17:49:24 CEST 2015
Allow U-Boot to be packaged into the image as a binary payload.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/x86/cpu/efi/elf_ia32_efi.lds | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/x86/cpu/efi/elf_ia32_efi.lds b/arch/x86/cpu/efi/elf_ia32_efi.lds
index fca008b..87ddb4d 100644
--- a/arch/x86/cpu/efi/elf_ia32_efi.lds
+++ b/arch/x86/cpu/efi/elf_ia32_efi.lds
@@ -57,6 +57,9 @@ SECTIONS
KEEP(*(SORT(.u_boot_list*)));
. = ALIGN(8);
KEEP(*(.dtb*));
+ /* Keep U-Boot payload */
+ . = ALIGN(8);
+ KEEP(*(.u_boot_bin.*));
}
.dynamic : { *(.dynamic) }
. = ALIGN(4096);
--
2.4.3.573.g4eafbef
More information about the U-Boot
mailing list