]> git.dujemihanovic.xyz Git - u-boot.git/commit
FWU: Add FWU metadata access driver for MTD storage regions
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Wed, 31 May 2023 05:29:14 +0000 (00:29 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 9 Jun 2023 17:52:40 +0000 (13:52 -0400)
commit4898679e190770ad19917dfc01bc192df0cdfdee
treec01fb2da03b2ad3790977e1a28aca7bc7f74ef88
parent72168b929e0fb69aa0a133703ad9dee02c7aa561
FWU: Add FWU metadata access driver for MTD storage regions

In the FWU Multi Bank Update feature, the information about the
updatable images is stored as part of the metadata, on a separate
region. Add a driver for reading from and writing to the metadata
when the updatable images and the metadata are stored on a raw
MTD region.
The code is divided into core under drivers/fwu-mdata/ and some helper
functions clubbed together under lib/fwu_updates/

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/fwu-mdata/Kconfig
drivers/fwu-mdata/Makefile
drivers/fwu-mdata/raw_mtd.c [new file with mode: 0644]
include/fwu.h
lib/fwu_updates/Makefile
lib/fwu_updates/fwu_mtd.c [new file with mode: 0644]