Re: [PATCH v14 03/15] FWU: Add FWU metadata access driver for GPT partitioned block devices

2022-10-18 Thread Sughosh Ganu
hi Ilias, On Tue, 18 Oct 2022 at 20:38, Ilias Apalodimas wrote: > > Hi Sughosh, > > [...] > > > +}; > > + > > +static int gpt_get_mdata_partitions(struct blk_desc *desc, > > + uint mdata_parts[2]) > > +{ > > + int i, ret; > > + u32 nparts; > > + efi_gui

Re: [PATCH v14 03/15] FWU: Add FWU metadata access driver for GPT partitioned block devices

2022-10-18 Thread Ilias Apalodimas
Hi Sughosh, [...] > +}; > + > +static int gpt_get_mdata_partitions(struct blk_desc *desc, > + uint mdata_parts[2]) > +{ > + int i, ret; > + u32 nparts; > + efi_guid_t part_type_guid; > + struct disk_partition info; > + const efi_guid_t fwu_mdat

[PATCH v14 03/15] FWU: Add FWU metadata access driver for GPT partitioned block devices

2022-10-18 Thread Sughosh Ganu
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