]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
verdin-imx8mp: do not save environment when it's nowhere
authorDenys Drozdov <denys.drozdov@toradex.com>
Tue, 23 Aug 2022 11:05:49 +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-imx8mp/verdin-imx8mp.c

index e3c1a1201daa7a44b84b0a797bbb7f6bc3c36eb2..783e2bd0d2521c4abe40749c34afa227e95a97a4 100644 (file)
@@ -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();
        }
 }