mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 12:54:37 +00:00
env: Remove misuse of env is nowhere leftover
When using a list of writeable variables, the initial values come from
the built-in default environment since commit 5ab8105836
("env: Complete generic support for writable list"). Remove leftover of
misuse of the env is nowhere driver as default environment.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
This commit is contained in:
parent
35a6fdc58d
commit
8344162ea8
1 changed files with 0 additions and 2 deletions
2
env/env.c
vendored
2
env/env.c
vendored
|
@ -217,9 +217,7 @@ int env_load(void)
|
||||||
printf("OK\n");
|
printf("OK\n");
|
||||||
gd->env_load_prio = prio;
|
gd->env_load_prio = prio;
|
||||||
|
|
||||||
#if !CONFIG_IS_ENABLED(ENV_APPEND)
|
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
|
||||||
} else if (ret == -ENOMSG) {
|
} else if (ret == -ENOMSG) {
|
||||||
/* Handle "bad CRC" case */
|
/* Handle "bad CRC" case */
|
||||||
if (best_prio == -1)
|
if (best_prio == -1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue