aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDenys Drozdov2022-08-23 13:05:49 +0200
committerStefano Babic2022-09-18 22:56:10 +0200
commit1f650d9ec66ee168f4a2373aa19e3a5f9f4a7254 (patch)
tree95e6264349cc75f5c7d7253a59b03c4d86313dcf /board
parent4aeabd9672fa2c00434783c5aaa8e74185eb464e (diff)
verdin-imx8mp: do not save environment when it's nowhere
This code part is broken, remove it. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com> Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
Diffstat (limited to 'board')
-rw-r--r--board/toradex/verdin-imx8mp/verdin-imx8mp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
index e3c1a1201da..783e2bd0d25 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();
}
}