aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Drozdov <denys.drozdov@toradex.com>2022-08-23 13:05:48 +0200
committerStefano Babic <sbabic@denx.de>2022-09-18 22:56:10 +0200
commit4aeabd9672fa2c00434783c5aaa8e74185eb464e (patch)
tree629504f04cfa1fe1e7da9a1ab0f492ea6956a3e7
parentcc34e9cb0cf3ac6ad66abb56167329ae8f355999 (diff)
downloadu-boot-4aeabd9672fa2c00434783c5aaa8e74185eb464e.zip
u-boot-4aeabd9672fa2c00434783c5aaa8e74185eb464e.tar.gz
u-boot-4aeabd9672fa2c00434783c5aaa8e74185eb464e.tar.bz2
verdin-imx8mm: 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>
-rw-r--r--board/toradex/verdin-imx8mm/verdin-imx8mm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c
index 7597cd8..bad8833 100644
--- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c
+++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c
@@ -102,9 +102,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();
}
}