diff options
author | Guillermo Rodriguez <guille.rodriguez@gmail.com> | 2020-09-02 13:06:06 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-01-31 14:08:56 +0100 |
commit | 1b3c4cb1e392bf9365ac633d305c6a1aac9b94e1 (patch) | |
tree | 07944f1620d936dd73e8cb482bbe1900738d03cc /drivers/gpio | |
parent | 472a716b8fdfd88a27cb675e4ea8e12cb4f79fc3 (diff) | |
download | u-boot-1b3c4cb1e392bf9365ac633d305c6a1aac9b94e1.tar.gz u-boot-1b3c4cb1e392bf9365ac633d305c6a1aac9b94e1.tar.xz u-boot-1b3c4cb1e392bf9365ac633d305c6a1aac9b94e1.zip |
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>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions