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/mscc_jr2_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/mscc_jr2_defconfig') diff --git a/configs/mscc_jr2_defconfig b/configs/mscc_jr2_defconfig index 04d5256f5d..b71e7f07fd 100644 --- a/configs/mscc_jr2_defconfig +++ b/configs/mscc_jr2_defconfig @@ -53,6 +53,7 @@ CONFIG_MSCC_SGPIO=y CONFIG_LED=y CONFIG_LED_GPIO=y CONFIG_DM_SPI_FLASH=y +CONFIG_MTD=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_SPI_FLASH_MACRONIX=y -- cgit v1.2.3