[PATCH 04/14] env: nand: Put ENV_INVALID into gd->env_valid if default environment
Simon Glass
sjg at chromium.org
Fri Oct 22 18:08:12 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_nand_init() says the environment is valid even if it is assigning
> default environment due to not being able to access nand pre-reloaction
> (determined by macro values). 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 at nic.cz>
> ---
> env/nand.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list