summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-11-07 15:47:08 (GMT)
committerAlexander Graf <agraf@suse.de>2016-11-14 22:24:03 (GMT)
commitc7ae3dfdccc171543804d6577ee41ab03e7a09bc (patch)
treeec3307e4f3a686ba6972b1785e6a3f9d488e5af1 /cmd/Kconfig
parentbb1ae55948377b6b75d2230fd8fea69106477d81 (diff)
downloadu-boot-c7ae3dfdccc171543804d6577ee41ab03e7a09bc.tar.xz
efi: Add support for a hello world test program
It is useful to have a basic sanity check for EFI loader support. Add a 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org> [agraf: Fix documentation, add unfulfilled kconfig dep] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index e339d86..ebcfd6d 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -181,6 +181,15 @@ config CMD_BOOTEFI
help
Boot an EFI image from memory.
+config CMD_BOOTEFI_HELLO
+ bool "Allow booting a standard EFI hello world for testing"
+ depends on CMD_BOOTEFI && NEED_CRT0_ENABLEMENT
+ 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
+ for testing that EFI is working at a basic level, and for bringing
+ up EFI support on a new architecture.
+
config CMD_ELF
bool "bootelf, bootvx"
default y