commit | 385518c698384daaa9e1a6ed06de49fe0940b9a7 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Fri Oct 22 15:47:15 2021 +0200 |
committer | Simon Glass <sjg@chromium.org> | Sun Oct 31 12:26:44 2021 -0600 |
tree | 2cfa7415e7334e1fcd0c6bbbf94107527502f1f3 | |
parent | c33f42f660e5a4d42a1f0bb8978cb2ca48ae2eee [diff] |
env: nand: Put ENV_INVALID into gd->env_valid if default environment 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@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>