diff options
Diffstat (limited to 'env/nvram.c')
-rw-r--r-- | env/nvram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/nvram.c b/env/nvram.c index 524f07d5f8..d046c9393c 100644 --- a/env/nvram.c +++ b/env/nvram.c @@ -104,7 +104,7 @@ int env_init(void) if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { gd->env_addr = (ulong)&env_ptr->data; #endif - gd->env_valid = 1; + gd->env_valid = ENV_VALID; } else { gd->env_addr = (ulong)&default_environment[0]; gd->env_valid = 0; |