]> git.baikalelectronics.ru Git - uboot.git/commit
FWU: Add FWU metadata structure and driver for accessing metadata
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 21 Oct 2022 12:45:55 +0000 (18:15 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 18:47:32 +0000 (14:47 -0400)
commit582350c2cea32a3d0955b4b95acc6f735d9ef7ee
tree981ca1de84c86b4198eaa34ef80ef3795f0b30c6
parent54549b753bd1bd03cb4cd1a32c3ee54ba1797153
FWU: Add FWU metadata structure and driver for accessing metadata

In the FWU Multi Bank Update feature, the information about the
updatable images is stored as part of the metadata, which is stored on
a dedicated partition. Add the metadata structure, and a driver model
uclass which provides functions to access the metadata. These are
generic API's, and implementations can be added based on parameters
like how the metadata partition is accessed and what type of storage
device houses the metadata.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/fwu-mdata/fwu-mdata-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/fwu.h [new file with mode: 0644]
include/fwu_mdata.h [new file with mode: 0644]
lib/fwu_updates/fwu.c [new file with mode: 0644]