[U-Boot] [PATCH v3 13/28] mtd: ensure MTD is compiled when ENV_IS_IN_FLASH is selected

Miquel Raynal
2018-12-04T23:56:59Z

MTD support must be enabled when the environment is in NOR.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
configs/armadillo-800eva_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/configs/armadillo-800eva_defconfig b/configs/armadillo-800eva_defconfig
index b1d923c069..45736a9b01 100644
--- a/configs/armadillo-800eva_defconfig
+++ b/configs/armadillo-800eva_defconfig
@@ -32,6 +32,7 @@ CONFIG_CMD_PING=y
# CONFIG_CMD_MISC is not set
CONFIG_ENV_IS_IN_FLASH=y
# CONFIG_MMC is not set
+CONFIG_MTD=y
CONFIG_SH_ETHER=y
CONFIG_SCIF_CONSOLE=y
CONFIG_OF_LIBFDT=y
--
2.19.1