commit | abbe8c4459e3d2c40d17bc6c6dd178baf1639685 | [log] [tgz] |
---|---|---|
author | Guillermo Rodriguez <guille.rodriguez@gmail.com> | Wed Sep 02 13:06:06 2020 +0200 |
committer | Marek Vasut <marex@denx.de> | Sun Jan 31 14:08:56 2021 +0100 |
tree | 07944f1620d936dd73e8cb482bbe1900738d03cc | |
parent | b2e0b3292e681eee586748041c0de4ee889eb8f3 [diff] |
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@gmail.com> Cc: Lukasz Majewski <lukma@denx.de> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>