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/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/am57xx_hs_evm_defconfig') diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig index b3abbba0f9..39c17b070c 100644 --- a/configs/am57xx_hs_evm_defconfig +++ b/configs/am57xx_hs_evm_defconfig @@ -66,6 +66,7 @@ CONFIG_DM_MMC=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_MMC_OMAP_HS=y CONFIG_DM_SPI_FLASH=y +CONFIG_MTD=y CONFIG_SF_DEFAULT_MODE=0 CONFIG_SF_DEFAULT_SPEED=76800000 CONFIG_SPI_FLASH_SPANSION=y -- cgit v1.2.1