summaryrefslogtreecommitdiff
path: root/env/nowhere.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/nowhere.c')
-rw-r--r--env/nowhere.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/env/nowhere.c b/env/nowhere.c
index 1fcf5034535..9ebc357dbd7 100644
--- a/env/nowhere.c
+++ b/env/nowhere.c
@@ -22,8 +22,7 @@ DECLARE_GLOBAL_DATA_PTR;
*/
static int env_nowhere_init(void)
{
- gd->env_addr = (ulong)&default_environment[0];
- gd->env_valid = ENV_INVALID;
+ gd->env_valid = ENV_INVALID;
return 0;
}
@@ -38,7 +37,7 @@ static int env_nowhere_load(void)
if (!IS_ENABLED(CONFIG_SPL_BUILD))
env_set_default(NULL, 0);
- gd->env_valid = ENV_INVALID;
+ gd->env_valid = ENV_INVALID;
return 0;
}