From: Denys Drozdov Date: Tue, 23 Aug 2022 11:05:49 +0000 (+0200) Subject: verdin-imx8mp: do not save environment when it's nowhere X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=1f650d9ec66ee168f4a2373aa19e3a5f9f4a7254;p=u-boot.git verdin-imx8mp: do not save environment when it's nowhere This code part is broken, remove it. Signed-off-by: Andrejs Cainikovs Signed-off-by: Denys Drozdov --- diff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c b/board/toradex/verdin-imx8mp/verdin-imx8mp.c index e3c1a1201d..783e2bd0d2 100644 --- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c +++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c @@ -108,9 +108,6 @@ static void select_dt_from_module_version(void) if (strcmp(variant, env_variant)) { printf("Setting variant to %s\n", variant); env_set("variant", variant); - - if (IS_ENABLED(CONFIG_ENV_IS_NOWHERE)) - env_save(); } }