mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 00:11:32 +00:00
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>
This commit is contained in:
parent
cc34e9cb0c
commit
4aeabd9672
1 changed files with 0 additions and 3 deletions
|
@ -102,9 +102,6 @@ static void select_dt_from_module_version(void)
|
||||||
if (strcmp(variant, env_variant)) {
|
if (strcmp(variant, env_variant)) {
|
||||||
printf("Setting variant to %s\n", variant);
|
printf("Setting variant to %s\n", variant);
|
||||||
env_set("variant", variant);
|
env_set("variant", variant);
|
||||||
|
|
||||||
if (IS_ENABLED(CONFIG_ENV_IS_NOWHERE))
|
|
||||||
env_save();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue