diff options
author | Denys Drozdov <denys.drozdov@toradex.com> | 2022-04-08 10:07:06 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-12 19:10:44 +0200 |
commit | b8055ee1762b291db56dd1df107dd778df94c717 (patch) | |
tree | 00cba867b90029fee6342c1399076ff1dc85a948 /board/toradex/apalis_imx6 | |
parent | 338b9b9a197b81dba6fade853a4c623e463f6a3a (diff) | |
download | u-boot-b8055ee1762b291db56dd1df107dd778df94c717.zip u-boot-b8055ee1762b291db56dd1df107dd778df94c717.tar.gz u-boot-b8055ee1762b291db56dd1df107dd778df94c717.tar.bz2 |
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>
Diffstat (limited to 'board/toradex/apalis_imx6')
-rw-r--r-- | board/toradex/apalis_imx6/apalis_imx6.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index 25a4cd9..a78d52d 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -727,9 +727,6 @@ int board_late_init(void) if ((fdt_env != NULL) && (strcmp(FDT_FILE, fdt_env) == 0)) { env_set("fdt_file", FDT_FILE_V1_0); 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 */ |