imx8mq_evk: Move CONFIG_ENV_IS_IN_MMC to Kconfig
authorFabio Estevam <festevam@gmail.com>
Thu, 28 Feb 2019 11:46:14 +0000 (08:46 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Mar 2019 08:14:35 +0000 (09:14 +0100)
Currently the command "saveenv" is not available.

The CONFIG_ENV_IS_IN_MMC symbol has been converted to Kconfig,
so fix the problem by moving it to the defconfig.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
configs/imx8mq_evk_defconfig
include/configs/imx8mq_evk.h

index 68656b0cd3b59b91d043f34a496bb768b50e9150..46100b6719639e489e5bc3ac73d94c6d9be32408 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8mq-evk"
+CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SAVED_DRAM_TIMING_BASE=0x40000000
 CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
index f0430224cb882bab7363d20a3e9450fcba9536e3..a9e38a70e60fbbeb4ad7bce8d8df12c7d4724143 100644 (file)
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_ENV_OFFSET               (64 * SZ_64K)
 #define CONFIG_ENV_SIZE                        0x1000
-#define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV         1   /* USDHC2 */
 #define CONFIG_MMCROOT                 "/dev/mmcblk1p2"  /* USDHC2 */