mbox series

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

Message ID 20220601180041.340240-1-sughosh.ganu@linaro.org
Headers show
Series EFI: Miscellaneous capsule update fixes | expand

Message

Sughosh Ganu June 1, 2022, 6 p.m. UTC
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(-)