usb: fastboot: ubiformat: Fix bad block handling
When fastboot handles UBI images in sparse file format then bad blocks
of the underlying mtd device are not skipped. This patch fixes this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent eaa3484 commit 75df7ff694572cdc1380b045bab3c56f9f2b671b
@Sascha Hauer Sascha Hauer authored on 28 Jan 2019
Showing 1 changed file
View
common/ubiformat.c