From accb5349b63a29324aaed0b35e57f5e967ca5be5 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Thu, 18 Jul 2019 18:56:56 -0700 Subject: [PATCH] MLK-22287 imx8mn: enable CONFIG_ENV_DEFAULT_NOWHERE at default This CONFIG_ENV_DEFAULT_NOWHERE config must be enabled for USB download when we implemented the override function to select env storage medium. To avoid adding it to every imx8mn defconfig, enable the config as default on imx8mn. Signed-off-by: Ye Li (cherry picked from commit 3f94cf98113af6c31e146afcf394f34ff4d2bc00) --- configs/imx8mn_ddr4_evk_defconfig | 1 - env/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/imx8mn_ddr4_evk_defconfig b/configs/imx8mn_ddr4_evk_defconfig index 6357cbeb91..1f278226c9 100644 --- a/configs/imx8mn_ddr4_evk_defconfig +++ b/configs/imx8mn_ddr4_evk_defconfig @@ -24,7 +24,6 @@ CONFIG_CMD_FAT=y CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8mn-ddr4-evk" CONFIG_DEFAULT_FDT_FILE="fsl-imx8mn-ddr4-evk.dtb" CONFIG_ENV_IS_IN_MMC=y -CONFIG_ENV_DEFAULT_NOWHERE=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_CMD_SF=y CONFIG_CMD_I2C=y diff --git a/env/Kconfig b/env/Kconfig index 4406f64b05..ce6b414079 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -24,6 +24,7 @@ config ENV_IS_NOWHERE config ENV_DEFAULT_NOWHERE depends on !ENV_IS_NOWHERE + default y if IMX8MN bool "Environment is not stored if no matched location" help Define this when multiple ENV locations are defined and use nowhere as -- 2.17.1