summaryrefslogtreecommitdiff
path: root/env/nowhere.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/nowhere.c')
-rw-r--r--env/nowhere.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/nowhere.c b/env/nowhere.c
index 326f27db2e9..6b9b6e2fe0b 100644
--- a/env/nowhere.c
+++ b/env/nowhere.c
@@ -33,7 +33,7 @@ static int env_nowhere_load(void)
* searches default_environment array in that case.
* For U-Boot proper, import the default environment to allow reload.
*/
- if (!IS_ENABLED(CONFIG_SPL_BUILD))
+ if (!IS_ENABLED(CONFIG_XPL_BUILD))
env_set_default(NULL, 0);
gd->env_valid = ENV_INVALID;