[RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices
Simon Glass
sjg at chromium.org
Thu Dec 9 03:32:14 CET 2021
Hi Sughosh,
On Thu, 25 Nov 2021 at 00:03, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> 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 functions for reading from and writing to the metadata
> when the updatable images and the metadata are stored on a block
> device which is formated with GPT based partition scheme.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
> lib/fwu_updates/fwu_metadata_gpt_blk.c | 716 +++++++++++++++++++++++++
> 1 file changed, 716 insertions(+)
> create mode 100644 lib/fwu_updates/fwu_metadata_gpt_blk.c
Given that you use mdata in some places, could you use it everywhere
(identifiers and filenames)? I think mdata is a much better name than
the generic word 'metadata'.
Regards,
Simon
More information about the U-Boot
mailing list