This isn't needed v1 [0] is better [0] https://lore.kernel.org/u-boot/[email protected]/
On Thu, 6 Jun 2024 at 09:35, Michal Simek <[email protected]> wrote: > > It is useful when structure is also used for saving vendor data covered > by CRC32. > > Signed-off-by: Michal Simek <[email protected]> > --- > > Changes in v2: > - print it only in mdata v2 version > > cmd/fwu_mdata.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/cmd/fwu_mdata.c b/cmd/fwu_mdata.c > index 6d91935b9b54..56654ba1b93c 100644 > --- a/cmd/fwu_mdata.c > +++ b/cmd/fwu_mdata.c > @@ -27,6 +27,7 @@ static void print_mdata(struct fwu_data *data) > printf("previous_active_index: %#x\n", data->previous_active_index); > > if (data->version == 2) { > + printf("size: %#x\n", data->metadata_size); > for (i = 0; i < 4; i++) > printf("bank_state[%d]: %#x\n", > i, data->bank_state[i]); > -- > 2.40.1 >

