summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Drozdov <denys.drozdov@toradex.com>2021-11-02 15:43:38 +0200
committerDenys Drozdov <denys.drozdov@toradex.com>2021-11-04 11:47:40 +0200
commit362b1c630eae43eab6fa845c74a6e8064ca695b2 (patch)
tree9862f044ed06d892da38c925e1ef438af4eee0b1
parentb3d964c4f7b50d248e0df6742193bf573b8da0b5 (diff)
verdin-imx8mp: avoid storing environment every boot
Verdin should never save the environment to flash if not asked. Avoid storing environment in this case. Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
-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 a15c6db45cb..44b9d829621 100644
--- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c
+++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
@@ -356,9 +356,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);
-#ifndef CONFIG_ENV_IS_NOWHERE
- env_save();
-#endif
}
}