From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Date: Wed, 5 Dec 2018 11:27:33 +0100 Subject: [U-Boot] [PATCH v3 20/28] dfu: add dependency on the NAND core In-Reply-To: <20181204235714.11805-21-miquel.raynal@bootlin.com> References: <20181204235714.11805-1-miquel.raynal@bootlin.com> <20181204235714.11805-21-miquel.raynal@bootlin.com> Message-ID: <20181205112733.684ab4c8@bbrezillon> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 5 Dec 2018 00:57:06 +0100 Miquel Raynal wrote: > CONFIG_DFU_NAND needs the NAND core being compiled. > > Also fix the colibri_vf defconfig to reflect this dependency. > > Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon BTW, it would be great to have an MTD backend instead of having one per type of flash ;-). > --- > configs/colibri_vf_defconfig | 1 + > drivers/dfu/Kconfig | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig > index 305dfcccb5..73b7055de1 100644 > --- a/configs/colibri_vf_defconfig > +++ b/configs/colibri_vf_defconfig > @@ -50,6 +50,7 @@ CONFIG_FSL_ESDHC=y > CONFIG_NAND_VF610_NFC=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 4692736c9d..5ee260913c 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.