[Uboot-stm32] [PATCH] stm32mp1: configs: activate CMD_ERASEENV

Patrice CHOTARD patrice.chotard at st.com
Thu Jul 2 09:24:21 CEST 2020


Hi Patrick

On 6/15/20 11:25 AM, Patrick Delaunay wrote:
> Activate the command env erase to reset the environment with the command:
>> env erase
> it is simpler than:
>> env default -a
>> env save
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
>  configs/stm32mp15_basic_defconfig   | 1 +
>  configs/stm32mp15_trusted_defconfig | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
> index 31597dbc40..4a2ecc00b9 100644
> --- a/configs/stm32mp15_basic_defconfig
> +++ b/configs/stm32mp15_basic_defconfig
> @@ -26,6 +26,7 @@ CONFIG_SYS_PROMPT="STM32MP> "
>  # CONFIG_CMD_ELF is not set
>  # CONFIG_CMD_EXPORTENV is not set
>  # CONFIG_CMD_IMPORTENV is not set
> +CONFIG_CMD_ERASEENV=y
>  CONFIG_CMD_MEMINFO=y
>  CONFIG_CMD_MEMTEST=y
>  CONFIG_SYS_MEMTEST_START=0xc0000000
> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
> index b7ff4b2aec..17d174c2f3 100644
> --- a/configs/stm32mp15_trusted_defconfig
> +++ b/configs/stm32mp15_trusted_defconfig
> @@ -14,6 +14,7 @@ CONFIG_SYS_PROMPT="STM32MP> "
>  # CONFIG_CMD_ELF is not set
>  # CONFIG_CMD_EXPORTENV is not set
>  # CONFIG_CMD_IMPORTENV is not set
> +CONFIG_CMD_ERASEENV=y
>  CONFIG_CMD_MEMINFO=y
>  CONFIG_CMD_MEMTEST=y
>  CONFIG_SYS_MEMTEST_START=0xc0000000

Reviewed-by: Patrice Chotard <patrice.chotard at st.com>

Thanks


More information about the U-Boot mailing list