mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 22:21:49 +01:00
Revert "env: Make _init() expect _INVALID when _IS_NOWHERE"
Upon further discussion, this is not required now. This reverts commit f6bc5d17afa9fe12418edaf1fc9f82beeda06132. Link: https://lore.kernel.org/r/ebd92337-669a-9a0a-0af3-d06b957f3b40@denx.de/ Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
657668348b
commit
2c14ff5879
2
env/env.c
vendored
2
env/env.c
vendored
@ -336,7 +336,7 @@ int env_init(void)
|
|||||||
debug("%s: Environment %s init done (ret=%d)\n", __func__,
|
debug("%s: Environment %s init done (ret=%d)\n", __func__,
|
||||||
drv->name, ret);
|
drv->name, ret);
|
||||||
|
|
||||||
if (gd->env_valid == ENV_INVALID && drv->location != ENVL_NOWHERE)
|
if (gd->env_valid == ENV_INVALID)
|
||||||
ret = -ENOENT;
|
ret = -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user