]> Git Repo - u-boot.git/commit
dfu: Fix handling of UBI partitions in MTD backend
authorGuillermo Rodriguez <[email protected]>
Wed, 2 Sep 2020 11:06:06 +0000 (13:06 +0200)
committerMarek Vasut <[email protected]>
Sun, 31 Jan 2021 13:08:56 +0000 (14:08 +0100)
commit1b3c4cb1e392bf9365ac633d305c6a1aac9b94e1
tree07944f1620d936dd73e8cb482bbe1900738d03cc
parent472a716b8fdfd88a27cb675e4ea8e12cb4f79fc3
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 <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
drivers/dfu/dfu_mtd.c
This page took 0.033589 seconds and 4 git commands to generate.