summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-10-03 19:50:22 +0200
committerTom Rini <trini@konsulko.com>2019-12-04 17:10:51 -0500
commitf3a02d29e84b57fe7f11e7f3de5cd5f2479484b1 (patch)
tree6ef70f29c3ed4009d31c6980415622dd1d11771c
parentc8f555f10267c89735ee721618c0b17c0f2ba3c8 (diff)
dfu: add dependency on the raw NAND core
CONFIG_DFU_NAND needs the raw NAND core being compiled. Also fix the colibri_vf defconfig to reflect this dependency. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
-rw-r--r--configs/colibri_vf_defconfig1
-rw-r--r--drivers/dfu/Kconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig
index 12cfc17086d..f34e9b9bea6 100644
--- a/configs/colibri_vf_defconfig
+++ b/configs/colibri_vf_defconfig
@@ -68,6 +68,7 @@ CONFIG_NAND_VF610_NFC=y
CONFIG_NAND_VF610_NFC_DT=y
CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
CONFIG_MTD=y
+CONFIG_MTD_RAW_NAND=y
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_FASTMAP=y
CONFIG_PHYLIB=y
diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index 02bc28f4b4b..75fe0a12c61 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -31,6 +31,7 @@ config DFU_MMC
config DFU_NAND
bool "NAND back end for DFU"
depends on CMD_MTDPARTS
+ depends on MTD_RAW_NAND
help
This option enables using DFU to read and write to NAND based
storage.