]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dfu: add dependency on the raw NAND core
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Oct 2019 17:50:22 +0000 (19:50 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2019 22:10:51 +0000 (17:10 -0500)
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>
configs/colibri_vf_defconfig
drivers/dfu/Kconfig

index 12cfc17086df383c67d7b8cc4a2723fea8a6dc86..f34e9b9bea655d9125e71d5e41a3a54d3a2e0119 100644 (file)
@@ -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
index 02bc28f4b4bf2284583225c98b5f84036fd1c0b3..75fe0a12c61c31fd89048f2208846a4038676287 100644 (file)
@@ -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.