]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: lsxl: remove eraseenv script
authorMichael Walle <michael@walle.cc>
Wed, 17 Aug 2022 19:37:55 +0000 (21:37 +0200)
committerStefan Roese <sr@denx.de>
Tue, 23 Aug 2022 10:39:22 +0000 (12:39 +0200)
This is not needed. The user can do a "env default -f -a".

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
include/configs/lsxl.h

index e1108619f21b5cd7ca0e38a7f5074f9c5c98b9d0..db5f7a93f92422cf6a4227b7fb238026c13500a8 100644 (file)
@@ -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 "                                             \