From 46a82f9067d109c86d2218d1c5875cdfa45eebed Mon Sep 17 00:00:00 2001 From: Francesco Dolcini Date: Mon, 29 Nov 2021 14:34:50 +0100 Subject: configs: verdin-imx8mp: Disable cmd env erase Erasing environment on emmc using the `env erase` command will erase surrounding data in case the env location is not aligned to the erase group size. This is the intended behavior, to be able to use the functionality the environment should be aligned/multiple of the erase size. This is not the case on verdin-imx8mp, when the environment is erased also the Toradex config block is lost, to avoid issues just disable the command in the defconfig. Link: https://lore.kernel.org/u-boot/20211129152530.GI24579@bill-the-cat/ Signed-off-by: Francesco Dolcini --- configs/verdin-imx8mp_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/verdin-imx8mp_defconfig b/configs/verdin-imx8mp_defconfig index 77000ddefd..ba98e49515 100644 --- a/configs/verdin-imx8mp_defconfig +++ b/configs/verdin-imx8mp_defconfig @@ -52,7 +52,6 @@ CONFIG_SYS_PROMPT="Verdin iMX8MP # " # CONFIG_BOOTM_NETBSD is not set # CONFIG_CMD_EXPORTENV is not set CONFIG_CMD_ASKENV=y -CONFIG_CMD_ERASEENV=y # CONFIG_CMD_CRC32 is not set CONFIG_CMD_MEMTEST=y CONFIG_CMD_CLK=y -- cgit v1.2.3