efi: x86: Adjust EFI files support efi_loader
Add compiler flags and make a few minor adjustments to support the efi
loader.
Signed-off-by: Simon Glass <sjg@chromium.org>
[agraf: Add Kconfig dep]
Signed-off-by: Alexander Graf <agraf@suse.de>
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 501ac17..2a2f23e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -183,7 +183,7 @@
config CMD_BOOTEFI_HELLO
bool "Allow booting a standard EFI hello world for testing"
- depends on CMD_BOOTEFI && ARM
+ depends on CMD_BOOTEFI && (ARM || X86)
help
This adds a standard EFI hello world application to U-Boot so that
it can be used with the 'bootefi hello' command. This is useful