mirror of
https://xff.cz/git/u-boot/
synced 2025-10-27 00:24:09 +01:00
Revert "env: Make _init() expect _INVALID when _IS_NOWHERE"
Upon further discussion, this is not required now.
This reverts commit f6bc5d17af.
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:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user