[PATCH v3 0/2] fix FMP versioning for FWU multi bank update

Masahisa Kojima masahisa.kojima at linaro.org
Thu Jan 11 06:35:38 CET 2024


The current FMP versioning does not work when CONFIG_FWU_MULTI_BANK_UPDATE
is enabled. This series aims to support FMP versioning
for FWU multi bank update.

[Changelog]
v2 -> v3
- add comment of ignoring GetVariable error when set FmpState variable

v1 -> v2
- update fwu_get_image_index() function to return the dfu_alt_num
- store firmware version into the array of fmp_state structure

Masahisa Kojima (2):
  fwu: fix fwu_get_image_index interface
  efi_loader: support fmp versioning for multi bank update

 include/fwu.h                 | 13 ++----
 lib/efi_loader/efi_firmware.c | 86 ++++++++++++++++++++++++++++-------
 lib/fwu_updates/fwu.c         | 32 +++++--------
 3 files changed, 86 insertions(+), 45 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list