diff options
author | Masami Hiramatsu <masami.hiramatsu@linaro.org> | 2022-03-21 22:37:56 +0900 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-04-09 21:06:31 +0200 |
commit | 7660cfee0fb7827535b8d7152613728ad399b9df (patch) | |
tree | 09837c1136f96914a2a2b4fb5313d289747b5120 /lib/efi_loader/Kconfig | |
parent | 39bdf115805b9fd2bbfc8ed3c0d85224042ac776 (diff) |
efi_loader: Use sysreset instead of reset command
Use sysreset_walk_halt() directly from reset-after-capsule-on-disk
feature to reboot (cold reset) machine instead of using reset command
interface, since this is not a command.
Note that this will make CONFIG_EFI_CAPSULE_ON_DISK depending on
the CONFIG_SYSRESET.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/efi_loader/Kconfig')
-rw-r--r-- | lib/efi_loader/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index 759cd2a2ca..559b95a599 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -136,6 +136,7 @@ config EFI_RUNTIME_UPDATE_CAPSULE config EFI_CAPSULE_ON_DISK bool "Enable capsule-on-disk support" + depends on SYSRESET select EFI_HAVE_CAPSULE_SUPPORT help Select this option if you want to use capsule-on-disk feature, |