[PATCH v2 0/4] EFI: Miscellaneous capsule update fixes

Sughosh Ganu sughosh.ganu at linaro.org
Wed Jun 1 20:00:37 CEST 2022


The following set of patches fix separate issues relating to the
capsule update code.

The first patch moves the setting of the descriptor_count parameter to
the GetImageInfo function after assertion of a non zero image
descriptor buffer.

The second patch enables capsule update to proceed even when the
OsIndications variable is not set with EFI_IGNORE_OSINDICATIONS config
enabled.

The third patch updates the capsule update documentation to highlight
the 64 bit value of OsIndications that needs to be set.

The fourth patch defines a common function for the GetImageInfo
functionality for both FIT and raw image FMP instances.

Sughosh Ganu (4):
  EFI: Populate descriptor_count value only when image_info_size is not
    zero
  EFI: Do not consider OsIndications variable if
    CONFIG_EFI_IGNORE_OSINDICATIONS is enabled
  EFI: Update the documentation to reflect the correct value of
    OsIndications
  EFI: FMP: Use a common GetImageInfo function for FIT and raw images

 doc/develop/uefi/uefi.rst     |  2 +-
 lib/efi_loader/efi_capsule.c  |  7 +--
 lib/efi_loader/efi_firmware.c | 85 +++++++----------------------------
 3 files changed, 21 insertions(+), 73 deletions(-)

-- 
2.25.1




More information about the U-Boot mailing list