summaryrefslogtreecommitdiff
path: root/configs/ap121_defconfig
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-10-03 19:50:08 +0200
committerTom Rini <trini@konsulko.com>2019-12-04 13:26:17 -0500
commit63ea317245d9fd16222315797dcd30baf42ab71c (patch)
tree44536b02a3584bb52b003536d4ef2254b4785989 /configs/ap121_defconfig
parentd4c2f6b7e3e2bfd297367d292aa641095c7a18e2 (diff)
downloadu-boot-63ea317245d9fd16222315797dcd30baf42ab71c.tar.gz
u-boot-63ea317245d9fd16222315797dcd30baf42ab71c.tar.bz2
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/ap121_defconfig')
-rw-r--r--configs/ap121_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/ap121_defconfig b/configs/ap121_defconfig
index d658541793..f509fa0e99 100644
--- a/configs/ap121_defconfig
+++ b/configs/ap121_defconfig
@@ -39,6 +39,7 @@ CONFIG_ENV_SPI_MAX_HZ=25000000
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_DM_SPI_FLASH=y
+CONFIG_MTD=y
CONFIG_SPI_FLASH_ATMEL=y
CONFIG_SPI_FLASH_EON=y
CONFIG_SPI_FLASH_GIGADEVICE=y