[U-Boot] [PATCH 1/2] imx8mq_evk: Move CONFIG_ENV_IS_IN_MMC to Kconfig

Peng Fan peng.fan at nxp.com
Fri Mar 1 00:59:53 UTC 2019



> -----Original Message-----
> From: Fabio Estevam [mailto:festevam at gmail.com]
> Sent: 2019年2月28日 19:46
> To: sbabic at denx.de
> Cc: Peng Fan <peng.fan at nxp.com>; u-boot at lists.denx.de; dl-uboot-imx
> <uboot-imx at nxp.com>; spencercw at gmail.com; baruch at tkos.co.il; Fabio
> Estevam <festevam at gmail.com>
> Subject: [PATCH 1/2] imx8mq_evk: Move CONFIG_ENV_IS_IN_MMC to
> Kconfig
> 
> 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 at gmail.com>
> ---
>  configs/imx8mq_evk_defconfig | 1 +
>  include/configs/imx8mq_evk.h | 1 -
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/imx8mq_evk_defconfig b/configs/imx8mq_evk_defconfig
> index 53025e45bc..889d8f1484 100644
> --- a/configs/imx8mq_evk_defconfig
> +++ b/configs/imx8mq_evk_defconfig
> @@ -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
> diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h
> index f0430224cb..a9e38a70e6 100644
> --- a/include/configs/imx8mq_evk.h
> +++ b/include/configs/imx8mq_evk.h
> @@ -187,7 +187,6 @@
>  #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

Reviewed-by: Peng Fan <peng.fan at nxp.com>

> */
> 
> --
> 2.17.1



More information about the U-Boot mailing list