]> git.baikalelectronics.ru Git - uboot.git/commit
efi_selftest: enable CONFIG_CMD_POWEROFF
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 11 Jan 2020 09:59:08 +0000 (10:59 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 14 Jan 2020 23:51:51 +0000 (00:51 +0100)
commit467c05954e947b5de76c68a48b22a56cc791a5d7
treef56a7615b03b0064df53a5cbe79395b2ec2edb57
parent31b6704197ff4a44f4e7495b0bcfcf43e734b6c4
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>
lib/efi_selftest/Kconfig