[PATCH 09/22] board: lsxl: remove CONFIG_ENV_OVERWRITE
Michael Walle
michael at walle.cc
Wed Aug 17 21:37:56 CEST 2022
This is not needed. The user can force setting the variables with
"setenv -f".
Signed-off-by: Michael Walle <michael at walle.cc>
---
board/buffalo/lsxl/lsxl.c | 4 ----
configs/lschlv2_defconfig | 1 -
configs/lsxhl_defconfig | 1 -
3 files changed, 6 deletions(-)
diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c
index 31d532b752..106d46d436 100644
--- a/board/buffalo/lsxl/lsxl.c
+++ b/board/buffalo/lsxl/lsxl.c
@@ -45,10 +45,6 @@
* Additionally, the bootsource is set to 'rescue'.
*/
-#ifndef CONFIG_ENV_OVERWRITE
-# error "You need to set CONFIG_ENV_OVERWRITE"
-#endif
-
DECLARE_GLOBAL_DATA_PTR;
int board_early_init_f(void)
diff --git a/configs/lschlv2_defconfig b/configs/lschlv2_defconfig
index aa8e523784..87dc1be61b 100644
--- a/configs/lschlv2_defconfig
+++ b/configs/lschlv2_defconfig
@@ -36,7 +36,6 @@ CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_OF_CONTROL=y
-CONFIG_ENV_OVERWRITE=y
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_NET_RANDOM_ETHADDR=y
diff --git a/configs/lsxhl_defconfig b/configs/lsxhl_defconfig
index f56743a578..35e414f059 100644
--- a/configs/lsxhl_defconfig
+++ b/configs/lsxhl_defconfig
@@ -37,7 +37,6 @@ CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_OF_CONTROL=y
-CONFIG_ENV_OVERWRITE=y
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_NET_RANDOM_ETHADDR=y
--
2.30.2
More information about the U-Boot
mailing list