u-boot/drivers/fwu-mdata
Sughosh Ganu f42a61f57f drivers: fwu: add the size parameter to the metadata access API's
In version 2 of the metadata structure, the size of the structure
cannot be determined statically at build time. The structure is now
broken into the top level structure which contains a field indicating
the total size of the structure.

Add a size parameter to the metadata access API functions to indicate
the number of bytes to be accessed. This is then used to either read
the entire structure, or only the top level structure.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Tested-by: Michal Simek <michal.simek@amd.com>
2024-05-24 13:40:03 -06:00
..
fwu-mdata-uclass.c drivers: fwu: add the size parameter to the metadata access API's 2024-05-24 13:40:03 -06:00
gpt_blk.c drivers: fwu: add the size parameter to the metadata access API's 2024-05-24 13:40:03 -06:00
Kconfig FWU: Add FWU metadata access driver for MTD storage regions 2023-06-09 13:52:40 -04:00
Makefile FWU: Add FWU metadata access driver for MTD storage regions 2023-06-09 13:52:40 -04:00
raw_mtd.c drivers: fwu: add the size parameter to the metadata access API's 2024-05-24 13:40:03 -06:00