mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
apalis-imx6: avoid save environment unasked
U-Boot should never save the environment unasked. This also avoids storing broken ftd_file to eMMC. Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
This commit is contained in:
parent
338b9b9a19
commit
b8055ee176
1 changed files with 0 additions and 3 deletions
|
@ -727,9 +727,6 @@ int board_late_init(void)
|
||||||
if ((fdt_env != NULL) && (strcmp(FDT_FILE, fdt_env) == 0)) {
|
if ((fdt_env != NULL) && (strcmp(FDT_FILE, fdt_env) == 0)) {
|
||||||
env_set("fdt_file", FDT_FILE_V1_0);
|
env_set("fdt_file", FDT_FILE_V1_0);
|
||||||
printf("patching fdt_file to " FDT_FILE_V1_0 "\n");
|
printf("patching fdt_file to " FDT_FILE_V1_0 "\n");
|
||||||
#ifndef CONFIG_ENV_IS_NOWHERE
|
|
||||||
env_save();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_TDX_APALIS_IMX6_V1_0 */
|
#endif /* CONFIG_TDX_APALIS_IMX6_V1_0 */
|
||||||
|
|
Loading…
Reference in a new issue