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/legoev3_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/legoev3_defconfig') diff --git a/configs/legoev3_defconfig b/configs/legoev3_defconfig index 51fba82b07..b46b9e6786 100644 --- a/configs/legoev3_defconfig +++ b/configs/legoev3_defconfig @@ -32,6 +32,7 @@ CONFIG_DM=y CONFIG_SYS_I2C_DAVINCI=y CONFIG_DM_MMC=y CONFIG_DM_SPI_FLASH=y +CONFIG_MTD=y CONFIG_SF_DEFAULT_SPEED=50000000 CONFIG_SPI_FLASH_STMICRO=y CONFIG_DM_SERIAL=y -- cgit