u-boot/lib/fwu_updates
Sughosh Ganu be281eccb0 fwu: do not allow capsule processing on exceeding Trial Counter threshold
When in Trial State, the platform keeps a count of the number of times
it has booted in the Trial State. Once the threshold of the maximum
allowed count exceeds, the platform reverts to boot from a different
bank on subsequent boot, thus coming out of the Trial State. It is
expected that all the updated images would be accepted or rejected
while the platform is in Trial State. Put in checks so that it is not
possible to apply an empty capsule once the max Trial Count exceeds.

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>
2024-09-19 10:52:50 +03:00
..
fwu_gpt.c FWU: Add helper functions for accessing FWU metadata 2022-10-31 14:47:32 -04:00
fwu_mtd.c include: export uuid.h 2024-09-12 17:35:37 +02:00
fwu_v1.c fwu: check all images for transitioning out of Trial State 2024-09-19 10:52:50 +03:00
fwu_v2.c fwu: check all images for transitioning out of Trial State 2024-09-19 10:52:50 +03:00
fwu.c fwu: do not allow capsule processing on exceeding Trial Counter threshold 2024-09-19 10:52:50 +03:00
Kconfig fwu: add dependency checks for selecting FWU metadata version 2024-09-19 10:52:50 +03:00
Makefile fwu: add config symbols for enabling FWU metadata versions 2024-05-24 13:40:04 -06:00