summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2021-11-29 14:34:50 +0100
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2021-11-29 16:55:57 +0100
commit46a82f9067d109c86d2218d1c5875cdfa45eebed (patch)
tree317cceb66d80f51b0a6660b5311a33344dae7586
parent451021665884336989e418dd05068b510a120d93 (diff)
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 <francesco.dolcini@toradex.com>
-rw-r--r--configs/verdin-imx8mp_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/verdin-imx8mp_defconfig b/configs/verdin-imx8mp_defconfig
index 77000ddefd8..ba98e49515c 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