]> git.dujemihanovic.xyz Git - u-boot.git/commit
fwu: check all images for transitioning out of Trial State
authorSughosh Ganu <sughosh.ganu@linaro.org>
Mon, 9 Sep 2024 11:20:18 +0000 (16:50 +0530)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 19 Sep 2024 07:52:50 +0000 (10:52 +0300)
commit03392f1eb85655bf6397f6eafaeafa1f9571a77e
treef54118bd66c5fc2a9483c15beebc2585297cc737
parent36811ff8275144a9fe78453023ce1b7e20bd0cf9
fwu: check all images for transitioning out of Trial State

The platform transitions out of Trial State into the Regular State
only when all the images in the update bank have been accepted. Check
for this condition before transitioning out of Trial State.

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>
include/fwu.h
lib/fwu_updates/fwu.c
lib/fwu_updates/fwu_v1.c
lib/fwu_updates/fwu_v2.c