diff options
author | Tom Rini <trini@konsulko.com> | 2023-02-10 13:41:27 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 13:41:27 -0500 |
commit | a1e6b529e57c622e862e93fa6da03d9504565089 (patch) | |
tree | 1b756fb08296e17f4edec6f4dd40c7a6e2fb9a80 /env/env.c | |
parent | 8b301102e246350a0ccedc370f7c9923b02f86f2 (diff) | |
parent | add396d66703c6c422353f950e584fae2a786a20 (diff) |
Merge branch '2023-02-10-assorted-updates-and-additions'
- DM_SERIAL conversion for bcm7xxx, button input driver, qcom updates,
environment and network related cleanup, ftmac100 update, add a
IS_ENABLED conversion that was just missed.
Diffstat (limited to 'env/env.c')
-rw-r--r-- | env/env.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/env/env.c b/env/env.c index 0f73ebc08e0..ad774f41175 100644 --- a/env/env.c +++ b/env/env.c @@ -192,6 +192,14 @@ int env_load(void) int best_prio = -1; int prio; + if (CONFIG_IS_ENABLED(ENV_WRITEABLE_LIST)) { + /* + * When using a list of writeable variables, the baseline comes + * from the built-in default env. So load this first. + */ + env_set_default(NULL, 0); + } + for (prio = 0; (drv = env_driver_lookup(ENVOP_LOAD, prio)); prio++) { int ret; |