Skip to content
Commit 1b3c4cb1 authored by Guillermo Rodriguez's avatar Guillermo Rodriguez Committed by Marek Vasut
Browse files

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: default avatarGuillermo Rodriguez <guille.rodriguez@gmail.com>
Cc: Lukasz Majewski <lukma@denx.de>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 472a716b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment