]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
verdin-imx8mm: do not save environment when it's nowhere
authorDenys Drozdov <denys.drozdov@toradex.com>
Tue, 23 Aug 2022 11:05:48 +0000 (13:05 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 18 Sep 2022 20:56:10 +0000 (22:56 +0200)
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>
board/toradex/verdin-imx8mm/verdin-imx8mm.c

index 7597cd81f945ce093f71f747970c4e11757b36d9..bad8833b22869d1a1a6609138505c2c2906b73eb 100644 (file)
@@ -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();
        }
 }