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

2022-11-07 Thread Jassi Brar
On Mon, Nov 7, 2022 at 11:23 AM Etienne Carriere wrote: > > Hello Jassi, > > FYI, I've successfully tested this series on stm32mp1 for FWU, once > the few typos fixed to build it them. > Thanks for testing. I will fix the typos and resubmit. . > > @@ -831,11 +662,7 @@ static int fwu_boottime_

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

2022-11-07 Thread Etienne Carriere
Hello Jassi, FYI, I've successfully tested this series on stm32mp1 for FWU, once the few typos fixed to build it them. On Fri, 4 Nov 2022 at 03:43, wrote: > > From: Jassi Brar > > The common code can now read, verify and fix meta-data copies > while exposing one consistent structure to users.

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

2022-11-03 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()