dfu: Add option to skip empty pages when flashing UBI images to NAND
authorGuillermo Rodríguez <guille.rodriguez@gmail.com>
Mon, 16 Dec 2019 15:27:57 +0000 (16:27 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 2 Feb 2020 17:19:52 +0000 (18:19 +0100)
commit13cb7cc9e8e48eb888b13743f79ff02420405044
treea9857c70222233f5e895f6875452fcaccb78bff7
parentbf16a7be90d5732279c454c10be1686ed79610be
dfu: Add option to skip empty pages when flashing UBI images to NAND

Add a new option to enable the DROP_FFS flag when flashing UBI images to
NAND in order to drop trailing all-0xff pages.

This is similar to the existing FASTBOOT_FLASH_NAND_TRIMFFS option.

Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
Cc: Lukasz Majewski <lukma@denx.de>
drivers/dfu/Kconfig
drivers/dfu/dfu_nand.c