]> git.dujemihanovic.xyz Git - u-boot.git/commit
fwu: v1: do a version check for the metadata
authorSughosh Ganu <sughosh.ganu@linaro.org>
Mon, 9 Sep 2024 11:20:17 +0000 (16:50 +0530)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 19 Sep 2024 07:52:50 +0000 (10:52 +0300)
commit36811ff8275144a9fe78453023ce1b7e20bd0cf9
treeb10b0d9da69efa87cc5f8856971e80350298ec8d
parent5e9feeed8afa7ed4e26766bb15af3d2b04117f4a
fwu: v1: do a version check for the metadata

Do a sanity check that the version of the FWU metadata that has been
read aligns with the version enabled in the image. This allows to
indicate an early failure as part of the FWU module initialisation.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Tested-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/fwu_updates/fwu_v1.c