mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 13:53:21 +09:00
![Heinrich Schuchardt](/assets/img/avatar_default.png)
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>
11 lines
330 B
Plaintext
11 lines
330 B
Plaintext
config CMD_BOOTEFI_SELFTEST
|
|
bool "UEFI unit tests"
|
|
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
|
|
the UEFI API implementation.
|