summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-11 10:59:08 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-15 00:51:51 +0100
commit1064f2ef03c7fbed15119403c65f1de0de7f7b6d (patch)
treef56a7615b03b0064df53a5cbe79395b2ec2edb57 /lib
parent55111c5052b3a6b6d26daacc1950e30a2c3aa55f (diff)
efi_selftest: enable CONFIG_CMD_POWEROFF
For automating testing we should be able to power off the test system. The implementation of EFI_RESET_SHUTDOWN requires the do_poweroff() function which is only available if CONFIG_CMD_POWEROFF=y. Enable CONFIG_CMD_POWEROFF if PSCI reset is available. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_selftest/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_selftest/Kconfig b/lib/efi_selftest/Kconfig
index d20f5899afa..478140330b5 100644
--- a/lib/efi_selftest/Kconfig
+++ b/lib/efi_selftest/Kconfig
@@ -3,6 +3,7 @@ config CMD_BOOTEFI_SELFTEST
depends on CMD_BOOTEFI
imply FAT
imply FAT_WRITE
+ imply CMD_POWEROFF if PSCI_RESET || SYSRESET_PSCI
help
This adds a UEFI test application to U-Boot that can be executed
via the 'bootefi selftest' command. It provides extended tests of