summaryrefslogtreecommitdiff
path: root/lib/efi_selftest/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-09-15 10:06:11 +0200
committerAlexander Graf <agraf@suse.de>2017-09-18 23:53:57 +0200
commit623b3a579765f8e05723bd1eff6f8c7e56d33922 (patch)
tree6c51f2a6aa341c2e6c424201f48630d7c9c61f1c /lib/efi_selftest/Kconfig
parentea630ce9eae4858a2108bd019a6ef22e2bc1b3f6 (diff)
efi_selftest: provide an EFI selftest application
A testing framework for the EFI API is provided. It can be executed with the 'bootefi selftest' command. It is coded in a way that at a later stage we may turn it into a standalone EFI application. The current build system does not allow this yet. All tests use a driver model and are run in three phases: setup, execute, teardown. A test may be setup and executed at boottime, it may be setup at boottime and executed at runtime, or it may be setup and executed at runtime. After executing all tests the system is reset. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_selftest/Kconfig')
-rw-r--r--lib/efi_selftest/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/efi_selftest/Kconfig b/lib/efi_selftest/Kconfig
new file mode 100644
index 0000000000..3b5f3a1230
--- /dev/null
+++ b/lib/efi_selftest/Kconfig
@@ -0,0 +1,7 @@
+config CMD_BOOTEFI_SELFTEST
+ bool "Allow booting an EFI efi_selftest"
+ depends on CMD_BOOTEFI
+ help
+ This adds an EFI test application to U-Boot that can be executed
+ with the 'bootefi selftest' command. It provides extended tests of
+ the EFI API implementation.