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:
2
env/nvram.c
vendored
2
env/nvram.c
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user