On Thu, 16 Mar 2023 at 13:56, Ilias Apalodimas <ilias.apalodi...@linaro.org> wrote: > > On Mon, Mar 06, 2023 at 05:18:41PM -0600, jassisinghb...@gmail.com wrote: > > From: Jassi Brar <jaswinder.si...@linaro.org> > > > > 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() and .write_mdata_partition() and also the > > corresponding wrapper functions. > > > > Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> > > Reviewed-by: Etienne Carriere <etienne.carri...@linaro.org> > > --- > > cmd/fwu_mdata.c | 17 +- > > drivers/fwu-mdata/fwu-mdata-uclass.c | 165 ------------------- > > drivers/fwu-mdata/gpt_blk.c | 124 +------------- > > include/fwu.h | 199 ----------------------- > > lib/fwu_updates/fwu.c | 235 ++++----------------------- > > 5 files changed, 38 insertions(+), 702 deletions(-)
<snip> > > > Etienne, Sughosh, this looks correct, but can someone > verify it doesn't break the ST board? I will check on the ST board by tomorrow and get back. -sughosh