[U-Boot] [PATCH v4 12/25] mtd: ensure MTD and NOR drivers are compiled with ENV_IS_IN_FLASH

Miquel Raynal miquel.raynal at bootlin.com
Sun Dec 9 18:07:34 UTC 2018


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

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

diff --git a/configs/armadillo-800eva_defconfig b/configs/armadillo-800eva_defconfig
index b1d923c069..72758884b4 100644
--- a/configs/armadillo-800eva_defconfig
+++ b/configs/armadillo-800eva_defconfig
@@ -32,6 +32,8 @@ 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_MTD_NOR_FLASH=y
 CONFIG_SH_ETHER=y
 CONFIG_SCIF_CONSOLE=y
 CONFIG_OF_LIBFDT=y
-- 
2.19.1



More information about the U-Boot mailing list