mbox series

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

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

Message

Masahisa Kojima Dec. 21, 2023, 9:52 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]
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 | 80 +++++++++++++++++++++++++++--------
 lib/fwu_updates/fwu.c         | 32 ++++++--------
 3 files changed, 80 insertions(+), 45 deletions(-)