Re: [PATCHv2 4/4] fwu: meta-data: switch to management by common code

2023-01-02 Thread Etienne Carriere
On Sat, 3 Dec 2022 at 04:17, wrote: > > From: Jassi Brar > > The common code can now read, verify and fix meta-data copies > while exposing one consistent structure to users. > Only the .read_mdata() and .write_mdata() callbacks of fwu_mdata_ops > are needed. Get rid of .get_mdata() .update_mdat

[PATCHv2 4/4] fwu: meta-data: switch to management by common code

2022-12-02 Thread jassisinghbrar
From: Jassi Brar The common code can now read, verify and fix meta-data copies while exposing one consistent structure to users. Only the .read_mdata() and .write_mdata() callbacks of fwu_mdata_ops are needed. Get rid of .get_mdata() .update_mdata() .get_mdata_part_num() .read_mdata_partition()