diff options
author | Guillermo RodrÃguez <guille.rodriguez@gmail.com> | 2019-12-16 16:27:57 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-02-02 18:19:52 +0100 |
commit | 13cb7cc9e8e48eb888b13743f79ff02420405044 (patch) | |
tree | a9857c70222233f5e895f6875452fcaccb78bff7 /drivers/dfu/Kconfig | |
parent | bf16a7be90d5732279c454c10be1686ed79610be (diff) |
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>
Diffstat (limited to 'drivers/dfu/Kconfig')
-rw-r--r-- | drivers/dfu/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig index 9709b6277d..174fb588a6 100644 --- a/drivers/dfu/Kconfig +++ b/drivers/dfu/Kconfig @@ -42,6 +42,13 @@ config DFU_NAND This option enables using DFU to read and write to NAND based storage. +config DFU_NAND_TRIMFFS + bool "Skip empty pages when flashing UBI images to NAND" + depends on DFU_NAND + help + When flashing UBI images to NAND, enable the DROP_FFS flag to drop + trailing all-0xff pages. + config DFU_RAM bool "RAM back end for DFU" help |