]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Use sysreset instead of reset command
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Mon, 21 Mar 2022 13:37:56 +0000 (22:37 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Apr 2022 19:06:31 +0000 (21:06 +0200)
commit411c5b889dc7b4f147db7970659930bee1036ed4
tree09837c1136f96914a2a2b4fb5313d289747b5120
parent1cced1388eedbc229e671cd22189caa7335e6094
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>
lib/efi_loader/Kconfig
lib/efi_loader/efi_capsule.c