env: Replace all open-coded gd->env_valid values with ENV_ flags

Some of these were missed in the conversion.
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2017-08-20 04:45:15 -06:00
committed by Tom Rini
parent c55d8b9400
commit 2d7cb5b426
6 changed files with 18 additions and 18 deletions

2
env/nvram.c vendored
View File

@@ -106,7 +106,7 @@ static int env_nvram_init(void)
gd->env_valid = ENV_VALID;
} else {
gd->env_addr = (ulong)&default_environment[0];
gd->env_valid = 0;
gd->env_valid = ENV_INVALID;
}
return 0;