summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-09-23 22:38:21 -0400
committerTom Rini <[email protected]>2021-09-23 22:38:21 -0400
commit657668348b5d677afca029673479266ef601f8a6 (patch)
tree88d807a4872e12a0df8eefc8463da8af9b286bd5 /env
parent7b57e56739ed2c550d17a072a7f4c8326c0c83dc (diff)
parent8e85f36a8fabb4bd5216f6bfcc9a8224adb63496 (diff)
Merge branch '2021-09-23-assorted-updates' into next
- Rework lmb reservation so we have common code for all arches to use - armv8 cache.S cleanups, crc32 speedup - ENV_IS_NOWHWERE, pci io/memory base configuration fixes
Diffstat (limited to 'env')
-rw-r--r--env/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/env.c b/env/env.c
index e5340080060..0a0f234747a 100644
--- a/env/env.c
+++ b/env/env.c
@@ -336,7 +336,7 @@ int env_init(void)
debug("%s: Environment %s init done (ret=%d)\n", __func__,
drv->name, ret);
- if (gd->env_valid == ENV_INVALID)
+ if (gd->env_valid == ENV_INVALID && drv->location != ENVL_NOWHERE)
ret = -ENOENT;
}