diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-10-03 19:50:08 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-04 13:26:17 -0500 |
commit | 63ea317245d9fd16222315797dcd30baf42ab71c (patch) | |
tree | 44536b02a3584bb52b003536d4ef2254b4785989 /configs/P1022DS_SPIFLASH_defconfig | |
parent | d4c2f6b7e3e2bfd297367d292aa641095c7a18e2 (diff) | |
download | u-boot-63ea317245d9fd16222315797dcd30baf42ab71c.tar.gz u-boot-63ea317245d9fd16222315797dcd30baf42ab71c.tar.xz u-boot-63ea317245d9fd16222315797dcd30baf42ab71c.zip |
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/P1022DS_SPIFLASH_defconfig')
-rw-r--r-- | configs/P1022DS_SPIFLASH_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/P1022DS_SPIFLASH_defconfig b/configs/P1022DS_SPIFLASH_defconfig index f478dc8c4c..2857f625c2 100644 --- a/configs/P1022DS_SPIFLASH_defconfig +++ b/configs/P1022DS_SPIFLASH_defconfig @@ -46,6 +46,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=e8000000.nor:48m(ramdisk),14m(diagnostic),2m(d CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_FSL_ESDHC=y +CONFIG_MTD=y CONFIG_MTD_NOR_FLASH=y CONFIG_FLASH_CFI_DRIVER=y CONFIG_FLASH_CFI_MTD=y |