efi: Create a 64-bit app
authorSimon Glass <sjg@chromium.org>
Thu, 4 Nov 2021 03:09:07 +0000 (21:09 -0600)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 7 Nov 2021 17:36:55 +0000 (18:36 +0100)
commite16c47fa3d2e051a0035191d473549589bd34fc4
tree791e368520ae892b7b2b32b80cabeacff1b81639
parentf4d227c99fbfdf2f518bef6f5ad5e1281998a362
efi: Create a 64-bit app

Most modern platforms use 64-bit EFI so it is useful to have a U-Boot app
that runs under that. Add a (non-functional) build for this.

Note that --whole-archive causes the gcc 9.2 linker to crash, so disable
this for now. Once this is resolved, things should work.

For now, avoid mentioning the documentation for the 64-bit app, since it
does not work.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
13 files changed:
MAINTAINERS
Makefile
arch/x86/cpu/u-boot-64.lds
arch/x86/cpu/x86_64/Makefile
arch/x86/cpu/x86_64/cpu.c
arch/x86/cpu/x86_64/misc.c [new file with mode: 0644]
board/efi/Kconfig
board/efi/efi-x86_app/Kconfig
board/efi/efi-x86_app/MAINTAINERS
configs/efi-x86_app32_defconfig [moved from configs/efi-x86_app_defconfig with 97% similarity]
configs/efi-x86_app64_defconfig [new file with mode: 0644]
doc/develop/uefi/u-boot_on_efi.rst
lib/efi_loader/Kconfig