diff mbox

[U-Boot,6/6] x86: Enable EFI loader support

Message ID 1470525796-26941-6-git-send-email-sjg@chromium.org
State Superseded
Delegated to: Bin Meng
Headers show

Commit Message

Simon Glass Aug. 6, 2016, 11:23 p.m. UTC
Enable this so that EFI applications (notably grub) can be run under U-Boot
on x86 platforms.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 lib/efi_loader/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng Aug. 9, 2016, 6:51 a.m. UTC | #1
Hi Simon,

On Sun, Aug 7, 2016 at 7:23 AM, Simon Glass <sjg@chromium.org> wrote:
> Enable this so that EFI applications (notably grub) can be run under U-Boot
> on x86 platforms.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  lib/efi_loader/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
> --

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Can you also update README.x86 to remove this EFI_LOADER from TODO list?

Regards,
Bin
diff mbox

Patch

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)