From: Denys Drozdov Date: Fri, 8 Apr 2022 08:07:07 +0000 (+0200) Subject: apalis-tk1: avoid save environment unasked X-Git-Tag: v2025.01-rc5-pxa1908~1458^2~47 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=c1e6576162a8c360e41ce03f7b1364e408cae8f0;p=u-boot.git apalis-tk1: avoid save environment unasked U-Boot should never save the environment unasked. This also avoids storing broken fdt_module to flash. Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c index 2769b54601..ccf665b211 100644 --- a/board/toradex/apalis-tk1/apalis-tk1.c +++ b/board/toradex/apalis-tk1/apalis-tk1.c @@ -71,9 +71,6 @@ int arch_misc_init(void) env_set("fdt_module", FDT_MODULE_V1_0); printf("patching fdt_module to " FDT_MODULE_V1_0 " for older V1.0 and V1.1 HW\n"); -#ifndef CONFIG_ENV_IS_NOWHERE - env_save(); -#endif } /* activate USB power enable GPIOs */