mbox series

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

Message ID 20240111053540.899997-1-masahisa.kojima@linaro.org
Headers show
Series fix FMP versioning for FWU multi bank update | expand

Message

Masahisa Kojima Jan. 11, 2024, 5:35 a.m. UTC
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(-)