diff options
author | Miquel Raynal | 2019-10-03 19:50:08 +0200 |
---|---|---|
committer | Tom Rini | 2019-12-04 13:26:17 -0500 |
commit | 63ea317245d9fd16222315797dcd30baf42ab71c (patch) | |
tree | 44536b02a3584bb52b003536d4ef2254b4785989 /configs/mx6sxsabresd_defconfig | |
parent | d4c2f6b7e3e2bfd297367d292aa641095c7a18e2 (diff) |
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 <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'configs/mx6sxsabresd_defconfig')
-rw-r--r-- | configs/mx6sxsabresd_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig index 543678e93b8..43306974001 100644 --- a/configs/mx6sxsabresd_defconfig +++ b/configs/mx6sxsabresd_defconfig @@ -42,6 +42,7 @@ CONFIG_DM_I2C=y CONFIG_DM_MMC=y CONFIG_FSL_USDHC=y CONFIG_DM_SPI_FLASH=y +CONFIG_MTD=y CONFIG_SF_DEFAULT_BUS=1 CONFIG_SF_DEFAULT_MODE=0 CONFIG_SF_DEFAULT_SPEED=40000000 |