efi: Add 64-bit payload support
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:33:56 +0000 (12:33 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:07 +0000 (08:44 -0600)
commit96a8d409a75af99ac7a9a9ba707d544f9cf44fc0
tree42d2df0ab57c55ce9f0a191b97fb88a7858b81ff
parent6f92ed8f1abfe94ee1c96c83c21f4092bb04ff63
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 <sjg@chromium.org>
Improvements to how the payload is built:
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Makefile
arch/x86/config.mk
arch/x86/include/asm/types.h
arch/x86/lib/efi/crt0-efi-x86_64.S [new file with mode: 0644]
include/efi.h
lib/efi/efi_stub.c