[PATCH] dfu: Fix handling of UBI partitions in MTD backend

Patrick DELAUNAY patrick.delaunay at st.com
Fri Oct 23 17:48:24 CEST 2020


Hi Lukasz,

> From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Patrick DELAUNAY
> Sent: vendredi 4 septembre 2020 10:31
> 
> Hi,
> 
> > From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Guillermo
> > Rodriguez
> > Sent: mercredi 2 septembre 2020 13:06
> > To: u-boot at lists.denx.de
> > Cc: Guillermo Rodriguez <guille.rodriguez at gmail.com>; Lukasz Majewski
> > <lukma at denx.de>
> > Subject: [PATCH] dfu: Fix handling of UBI partitions in MTD backend
> >
> > For UBI partitions ("partubi" in dfu_alt_info), dfu_fill_entity_mtd
> > sets the mtd.ubi flag; however other functions incorrectly check for
> > nand.ubi instead. Fix this by checking for the correct flag.
> >
> > Signed-off-by: Guillermo Rodriguez <guille.rodriguez at gmail.com>
> > Cc: Lukasz Majewski <lukma at denx.de>
> > ---
> 
> Fixes: 6015af28ee6d ("dfu: add backend for MTD device")
> Reviewed-by: Patrick Delaunay <patrick.delaunay at st.com>
> 
> Thanks for the correction.
> 
> Patrick
> 
> >  drivers/dfu/dfu_mtd.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >

This correction will be integrated in the next u-boot-dfu v2021.01 pull request ?
Or I can include it in stm32 custodians master branch ?

Patrick



More information about the U-Boot mailing list