FWU: Add FWU metadata access driver for GPT partitioned block devices
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 21 Oct 2022 12:45:56 +0000 (18:15 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 18:47:32 +0000 (14:47 -0400)
commit554b38f7a532784c72e57f58877fdd922b7a0d9f
tree59d635502cf346a9b772b4d1b5648e1ebe4817a4
parent2eaedc95164f5831093917bb0424cf1f02d3f4a5
FWU: Add FWU metadata access driver for GPT partitioned block devices

In the FWU Multi Bank Update feature, the information about the
updatable images is stored as part of the metadata, on a separate
partition. Add a driver for reading from and writing to the metadata
when the updatable images and the metadata are stored on a block
device which is formatted with GPT based partition scheme.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/fwu-mdata/Kconfig [new file with mode: 0644]
drivers/fwu-mdata/Makefile [new file with mode: 0644]
drivers/fwu-mdata/gpt_blk.c [new file with mode: 0644]
include/fwu.h