]> git.ipfire.org Git - people/ms/u-boot.git/commit
x86: Enable EFI loader support
authorSimon Glass <sjg@chromium.org>
Mon, 7 Nov 2016 15:47:16 +0000 (08:47 -0700)
committerAlexander Graf <agraf@suse.de>
Mon, 14 Nov 2016 22:24:04 +0000 (23:24 +0100)
commit58ad86288fd32f1f969ac654f2074c090f0abe32
tree6e1e10ca88e11026cb2dc443c909d3998eabd8c3
parent5bd828b5329ed9b7c85beae1e532daa710f22168
x86: Enable EFI loader support

Enable this so that EFI applications (notably grub) can be run under U-Boot
on x86 platforms.

At present the 'hello world' EFI application is not supported for the
qemu-x86_efi_payload64 board. That board builds a payload consisting of a
64-bit header and a 32-bit U-Boot, which is incompatible with the way the
EFI loader builds its EFI application. The following error is obtained:

x86_64-linux-ld.bfd: i386 architecture of input file
   `lib/efi_loader/helloworld.o' is incompatible with i386:x86-64 output

This could be corrected with additional Makefile rules. For now, this
feature is disabled for that board.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[agraf: drop hello kconfig bits]
Signed-off-by: Alexander Graf <agraf@suse.de>
configs/efi-x86_defconfig
doc/README.x86
lib/efi_loader/Kconfig