[RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

Sughosh Ganu sughosh.ganu at linaro.org
Thu Dec 9 10:01:48 CET 2021


hi Simon,

On Thu, 9 Dec 2021 at 08:02, Simon Glass <sjg at chromium.org> wrote:

> 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'.
>

Okay. Will make the change as per your suggestion. Thanks.

-sughosh


More information about the U-Boot mailing list