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

Kever Yang kever.yang at rock-chips.com
Sat Aug 30 16:39:19 CEST 2025


On 2025/6/27 21:30, Quentin Schulz wrote:
> 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>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   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
>


More information about the U-Boot mailing list