path: root/Makefile
diff options
authorSimon Glass <>2015-08-04 12:33:56 -0600
committerSimon Glass <>2015-08-05 08:44:07 -0600
commit96a8d409a75af99ac7a9a9ba707d544f9cf44fc0 (patch)
tree42d2df0ab57c55ce9f0a191b97fb88a7858b81ff /Makefile
parent6f92ed8f1abfe94ee1c96c83c21f4092bb04ff63 (diff)
efi: Add 64-bit payload support
Most EFI implementations use 64-bit. Add a way to build U-Boot as a 64-bit EFI payload. The payload unpacks a (32-bit) U-Boot and starts it. This can be enabled for x86 boards at present. Signed-off-by: Simon Glass <> Improvements to how the payload is built: Signed-off-by: Bin Meng <> Reviewed-by: Bin Meng <> Tested-by: Bin Meng <>
Diffstat (limited to 'Makefile')
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 752ee0dbea..bb0ba9f8a2 100644
--- a/Makefile
+++ b/Makefile
@@ -1100,7 +1100,7 @@ $(LDSCRIPT_EFI) FORCE
# Rule to link the EFI payload which contains a stub and a U-Boot binary
quiet_cmd_u-boot_payload ?= LD $@
cmd_u-boot_payload ?= $(LD) $(LDFLAGS_EFI_PAYLOAD) -o $@ \
- -T \
+ -T arch/x86/cpu/call32.o \
lib/efi/efi.o lib/efi/efi_stub.o u-boot-dtb.bin.o \
$(addprefix arch/$(ARCH)/lib/efi/,$(EFISTUB))
OpenPOWER on IntegriCloud