[PATCH 08/22] board: lsxl: remove eraseenv script

Michael Walle michael at walle.cc
Wed Aug 17 21:37:55 CEST 2022


This is not needed. The user can do a "env default -f -a".

Signed-off-by: Michael Walle <michael at walle.cc>
---
 include/configs/lsxl.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h
index e1108619f2..db5f7a93f9 100644
--- a/include/configs/lsxl.h
+++ b/include/configs/lsxl.h
@@ -62,9 +62,6 @@
 		"&& bootz ${kernel_addr} "				\
 			"${ramdisk_addr}:${ramdisk_len} ${fdt_addr}\0"	\
 	"bootcmd_rescue=run config_nc_dhcp; run nc\0"			\
-	"eraseenv=sf probe 0 "						\
-		"&& sf erase " __stringify(CONFIG_ENV_OFFSET)		\
-			" +" __stringify(CONFIG_ENV_SIZE) "\0"		\
 	"config_nc_dhcp=setenv autoload_old ${autoload}; "		\
 		"setenv autoload no "					\
 		"&& bootp "						\
-- 
2.30.2



More information about the U-Boot mailing list