Re: [PATCH v7 02/13] FWU: Add FWU metadata structure and driver for accessing metadata

2022-07-15 Thread Ilias Apalodimas
Hi Sughosh, > + */ > + > +#define LOG_CATEGORY UCLASS_FWU_MDATA [...] > + > +/** > + * fwu_verify_mdata() - Verify the FWU metadata > + * @mdata: FWU metadata structure > + * @pri_part: FWU metadata partition is primary or secondary > + * > + * Verify the FWU metadata by computing the CRC32 for

[PATCH v7 02/13] FWU: Add FWU metadata structure and driver for accessing metadata

2022-07-14 Thread Sughosh Ganu
In the FWU Multi Bank Update feature, the information about the updatable images is stored as part of the metadata, which is stored on a dedicated partition. Add the metadata structure, and a driver model uclass which provides functions to access the metadata. These are generic API's, and implement