From b2a4fa2c191afff2619e0d458914ab5979b7b85e Mon Sep 17 00:00:00 2001 From: Denys Drozdov Date: Thu, 4 Nov 2021 20:24:31 +0200 Subject: apalis-imx6: avoid save environment unasked u-boot should never save the environment unasked. Avoid storing broken ftd_file to eMMC Signed-off-by: Denys Drozdov --- board/toradex/apalis_imx6/apalis_imx6.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'board/toradex/apalis_imx6/apalis_imx6.c') diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index aadf2e52b1..7927caa4c0 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 */ -- cgit v1.2.3