[PATCH 4/4] rockchip: puma-rk3399: enable "env erase" command

Quentin Schulz foss+uboot at 0leil.net
Fri Jun 27 15:30:19 CEST 2025


From: Quentin Schulz <quentin.schulz at cherry.de>

Erasing the environment to start from scratch is actually very useful
and "env erase" is the proper way to do it instead of using "env
default -a && env save", so let's enable support for it.

Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
 configs/puma-rk3399_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig
index 4e8cee06775aa020a14c656ce2f810f38354613b..8c0bd3d83daf3d263196e25a5452b943d974be3f 100644
--- a/configs/puma-rk3399_defconfig
+++ b/configs/puma-rk3399_defconfig
@@ -36,6 +36,7 @@ CONFIG_TPL_GPIO=y
 # CONFIG_BOOTM_RTEMS is not set
 # CONFIG_CMD_VBE is not set
 # CONFIG_BOOTM_VXWORKS is not set
+CONFIG_CMD_ERASEENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y

-- 
2.50.0



More information about the U-Boot mailing list