u-boot/lib/fwu_updates
Masahisa Kojima af7a34acfd fwu: fix fwu_get_image_index interface
The capsule update uses the DFU framework for updating
storage. fwu_get_image_index() currently returns the
image_index calculated by (dfu_alt_num + 1), but this is
different from the image_index in UEFI terminology.

Since capsule update implementation calls dfu_write_by_alt
function, it is better that FWU returns the dfu_alt_num.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2024-01-13 18:17:47 +01:00
..
fwu_gpt.c FWU: Add helper functions for accessing FWU metadata 2022-10-31 14:47:32 -04:00
fwu_mtd.c fwu: mtd: Fix dfu_alt_info generation for 2 images per bank 2023-07-25 12:44:46 -04:00
fwu.c fwu: fix fwu_get_image_index interface 2024-01-13 18:17:47 +01:00
Kconfig FWU: Avoid showing an unselectable menu option 2023-09-19 11:36:25 -04:00
Makefile FWU: Add FWU metadata access driver for MTD storage regions 2023-06-09 13:52:40 -04:00