From 63ea317245d9fd16222315797dcd30baf42ab71c Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 3 Oct 2019 19:50:08 +0200 Subject: mtd: ensure MTD is compiled when there is a SPI NOR flash using MTD MTD must be enabled when there is a SPI NOR flash using the SPI_FLASH_MTD config entry. Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon --- configs/sama5d2_xplained_qspiflash_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/sama5d2_xplained_qspiflash_defconfig') diff --git a/configs/sama5d2_xplained_qspiflash_defconfig b/configs/sama5d2_xplained_qspiflash_defconfig index 3ecc65ee92d..718d3edfac2 100644 --- a/configs/sama5d2_xplained_qspiflash_defconfig +++ b/configs/sama5d2_xplained_qspiflash_defconfig @@ -65,6 +65,7 @@ CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ATMEL=y CONFIG_DM_SPI_FLASH=y +CONFIG_MTD=y CONFIG_SF_DEFAULT_SPEED=30000000 CONFIG_SPI_FLASH_ATMEL=y CONFIG_SPI_FLASH_MACRONIX=y -- cgit v1.2.3