From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 26 Oct 2020 16:33:46 +0100 Subject: [PATCH] dfu: Fix handling of UBI partitions in MTD backend In-Reply-To: <5430bc1b353d49f19cb6add25eee2c55@SFHDAG2NODE3.st.com> References: <20200902110606.15764-1-guille.rodriguez@gmail.com> <3d869e7f0f024a568f34459f95569b68@SFHDAG6NODE3.st.com> <5430bc1b353d49f19cb6add25eee2c55@SFHDAG2NODE3.st.com> Message-ID: <20201026163346.3b329c60@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 23 Oct 2020 15:48:24 +0000 Patrick DELAUNAY wrote: > Hi Lukasz, > > > From: U-Boot On Behalf Of Patrick > > DELAUNAY Sent: vendredi 4 septembre 2020 10:31 > > > > Hi, > > > > > From: U-Boot On Behalf Of Guillermo > > > Rodriguez > > > Sent: mercredi 2 septembre 2020 13:06 > > > To: u-boot at lists.denx.de > > > Cc: Guillermo Rodriguez ; Lukasz > > > Majewski > > > 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 > > > Cc: Lukasz Majewski > > > --- > > > > Fixes: 6015af28ee6d ("dfu: add backend for MTD device") > > Reviewed-by: Patrick Delaunay > > > > 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 ? > Please pull it via stm32. > Patrick > Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: