[PATCH v4 0/2] EFI: Reset system after capsule-on-disk

Masami Hiramatsu masami.hiramatsu at linaro.org
Thu Feb 3 10:23:05 CET 2022


Here is the 4th version of the reset after capsule-on-disk. This version
updates the patch description and use do_reset() and halt or reset_cpu()
if available, according to Takahiro and Sughosh's comment.

The reset after completing the capsule-on-disk is stated in the UEFI
specification 2.9, section 8.5.5 "Delivery of Capsules via file on Mass
Storage device" as below,

    In all cases that a capsule is identified for processing the system is
    restarted after capsule processing is completed.

Thank you,


Masami Hiramatsu (2):
      efi_loader: use efi_update_capsule_firmware() for capsule on disk
      efi_loader: Reset system after CapsuleUpdate on disk

 lib/efi_loader/efi_capsule.c |   20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

Masami Hiramatsu <masami.hiramatsu at linaro.org>

More information about the U-Boot mailing list