[U-Boot] [PATCH v2 8/8] x86: Enable EFI loader support
Simon Glass
sjg at chromium.org
Sun Sep 25 23:27:37 CEST 2016
Enable this so that EFI applications (notably grub) can be run under U-Boot
on x86 platforms.
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---
Changes in v2:
- Remove EFI support from README.x86 TODO list
configs/efi-x86_defconfig | 1 +
doc/README.x86 | 1 -
lib/efi_loader/Kconfig | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/efi-x86_defconfig b/configs/efi-x86_defconfig
index 1cdd49d..30dfe90 100644
--- a/configs/efi-x86_defconfig
+++ b/configs/efi-x86_defconfig
@@ -35,3 +35,4 @@ CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y
CONFIG_EFI=y
+# CONFIG_EFI_LOADER is not set
diff --git a/doc/README.x86 b/doc/README.x86
index ba5bb99..9d3129a 100644
--- a/doc/README.x86
+++ b/doc/README.x86
@@ -1070,7 +1070,6 @@ TODO List
---------
- Audio
- Chrome OS verified boot
-- Support for CONFIG_EFI_LOADER
- Building U-Boot to run in 64-bit mode
References
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 37a0dd6..8e7e8a5 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -1,6 +1,6 @@
config EFI_LOADER
bool "Support running EFI Applications in U-Boot"
- depends on (ARM64 || ARM) && OF_LIBFDT
+ depends on (ARM64 || ARM || X86) && OF_LIBFDT
default y
help
Select this option if you want to run EFI applications (like grub2)
--
2.8.0.rc3.226.g39d4020
More information about the U-Boot
mailing list