Re: [PATCH 03/14] env: sf: Put ENV_INVALID into gd->env_valid on CRC failure

Simon Glass
2021-10-22T16:10:48Z

> env_sf_init_addr() says the environment is valid even if it is assigning
> default environment due to CRC failure. Change this to ENV_INVALID and
> let the generic env_init() function, which calls this initializer,
> assign the default environment.
>
> Signed-off-by: Marek Behún <marek.behun@nic.cz>
> ---
> env/sf.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)