Re: [PATCH v12 06/15] FWU: Add helper functions for accessing FWU metadata

2022-10-04 Thread Ilias Apalodimas
Hi Sughosh [...] > > > + > > > +static int fwu_alt_num_for_dfu_dev(struct dfu_entity *dfu, int dev_num, > > > + int part, unsigned char dfu_dev, > > > + u8 *alt_num) > > > +{ > > > + int ret; > > > + > > > + switch(dfu_

Re: [PATCH v12 06/15] FWU: Add helper functions for accessing FWU metadata

2022-10-03 Thread Sughosh Ganu
On Mon, 3 Oct 2022 at 21:20, Etienne Carriere wrote: > > On Mon, 3 Oct 2022 at 16:25, Sughosh Ganu wrote: > > > > Add weak functions for getting the update index value and dfu > > alternate number needed for FWU Multi Bank update > > functionality. > > > > The current implementation for getting t

Re: [PATCH v12 06/15] FWU: Add helper functions for accessing FWU metadata

2022-10-03 Thread Etienne Carriere
On Mon, 3 Oct 2022 at 16:25, Sughosh Ganu wrote: > > Add weak functions for getting the update index value and dfu > alternate number needed for FWU Multi Bank update > functionality. > > The current implementation for getting the update index value is for > platforms with 2 banks. If a platform s

[PATCH v12 06/15] FWU: Add helper functions for accessing FWU metadata

2022-10-03 Thread Sughosh Ganu
Add weak functions for getting the update index value and dfu alternate number needed for FWU Multi Bank update functionality. The current implementation for getting the update index value is for platforms with 2 banks. If a platform supports more than 2 banks, it can implement it's own function.