[PATCH 09/14] env: flash: Let generic env_init() assign default environment

Simon Glass sjg at chromium.org
Fri Oct 22 18:08:17 CEST 2021


On Fri, 22 Oct 2021 at 07:47, Marek Behún <kabel at kernel.org> wrote:
>
> From: Marek Behún <marek.behun at nic.cz>
>
> env_flash_init() (both implementations) assigns default environment if
> ENV_INVALID, but this is done in the generic env_init() function, which
> calls this initializer, so drop it from here.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
>  env/flash.c | 3 ---
>  1 file changed, 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list