[U-Boot] [PATCH] ge: ppd: move CONFIG_ENV_IS_IN_MMC to defconfig

Sebastian Reichel sebastian.reichel at collabora.co.uk
Mon Apr 23 15:10:43 UTC 2018


CONFIG_ENV_IS_IN_MMC must be declared in defconfig to properly
support "env save".

Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.co.uk>
---
 configs/mx53ppd_defconfig | 1 +
 include/configs/mx53ppd.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig
index 0f5ce14e4001..8a0cc5d481ad 100644
--- a/configs/mx53ppd_defconfig
+++ b/configs/mx53ppd_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_ENV_IS_IN_MMC=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_EXT=y
 CONFIG_SYS_BOOTCOUNT_EXT_DEVPART="0:5"
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index e2ce79671d04..338f1434f2cc 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -199,7 +199,6 @@
 /* FLASH and environment organization */
 #define CONFIG_ENV_OFFSET      (12 * 64 * 1024)
 #define CONFIG_ENV_SIZE        (10 * 1024)
-#define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV 0
 
 #define CONFIG_CMD_FUSE
-- 
2.17.0



More information about the U-Boot mailing list