]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: gateworks: venice: add eraseenv command
authorTim Harvey <tharvey@gateworks.com>
Tue, 2 May 2023 17:45:54 +0000 (10:45 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jul 2023 12:40:03 +0000 (14:40 +0200)
Add eraseenv command and remove the unnecessary env command.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
board/gateworks/venice/venice.env
configs/imx8mm_venice_defconfig
configs/imx8mn_venice_defconfig
configs/imx8mp_venice_defconfig

index f81804ca12c1bdff145636bf3f6eb947b27c1198..2054c029a3e9d1ee464c23f07000f82b4dbc3036 100644 (file)
@@ -31,4 +31,3 @@ update_rootfs=tftpboot $loadaddr $image &&
        gzwrite mmc $dev $loadaddr $filesize 100000 1000000
 update_all=tftpboot $loadaddr $image &&
        gzwrite mmc $dev $loadaddr $filesize
-erase_env=mmc dev $dev; mmc erase 0x7f08 0x40
index 2e729923af956c9d543ba20f8a3498aff9f6cc8a..5bf93db83778b20f6625b7308eeb490df7651c5b 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_SYS_PBSIZE=2074
 CONFIG_SYS_BOOTM_LEN=0x10000000
 # CONFIG_CMD_EXPORTENV is not set
 # CONFIG_CMD_IMPORTENV is not set
+CONFIG_CMD_ERASEENV=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
index dc0bb01976ddfa752e77c6f3fc4096526baa7b0f..8a0b8c2db48cf50e16d4c26c06e02c5be05d69ad 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_SYS_PBSIZE=2074
 CONFIG_SYS_BOOTM_LEN=0x10000000
 # CONFIG_CMD_EXPORTENV is not set
 # CONFIG_CMD_IMPORTENV is not set
+CONFIG_CMD_ERASEENV=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
index 3f68900fbe760b7a092049d06c9af8c519860d0f..f8e4a8415d8a106fb04fc823867df6573a696e5c 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_SYS_PBSIZE=2074
 CONFIG_SYS_BOOTM_LEN=0x10000000
 # CONFIG_CMD_EXPORTENV is not set
 # CONFIG_CMD_IMPORTENV is not set
+CONFIG_CMD_ERASEENV=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y