From patchwork Sat Jan 11 11:45:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 239461 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Sat, 11 Jan 2020 12:45:57 +0100 Subject: [PATCH 1/1] efi_selftest: enable CONFIG_CMD_POWEROFF Message-ID: <20200111114557.122982-1-xypron.glpk@gmx.de> 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 --- lib/efi_selftest/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.24.1 diff --git a/lib/efi_selftest/Kconfig b/lib/efi_selftest/Kconfig index d20f5899af..478140330b 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