]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: support fmp versioning for multi bank update
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Thu, 11 Jan 2024 05:35:40 +0000 (14:35 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 Jan 2024 17:17:47 +0000 (18:17 +0100)
commitb20c9c3d8681547f7c839bb4f6fcd2f31e2b8585
tree558d906d20a0a8663253ea26a3f3b6a96607890c
parentaf7a34acfd88815ead1882eb8b05ef088d7ca738
efi_loader: support fmp versioning for multi bank update

This commit stores the firmware version into the array
of fmp_state structure to support the fmp versioning
for multi bank update. The index of the array is identified
by the bank index.

This modification keeps the backward compatibility with
the existing versioning feature.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_firmware.c