summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Wen <leiwen@marvell.com>2010-10-10 12:36:40 +0800
committerWolfgang Denk <wd@denx.de>2010-10-12 21:31:04 +0200
commitd259079d6d147541ddfe2e093cfa55db8e1a6cbf (patch)
tree72d6065e36084cf49dba7facd868b4c9ed6790cf
parentbe4424c73d3a0994c5fabc34900fb7101f6a7823 (diff)
env: don't set to default env twice when use CONFIG_ENV_IS_NOWHERE
When use the CONFIG_ENV_IS_NOWHERE, I met such issue: DRAM: 256 MiB Using default environment *** Warning - bad CRC, using default environment Signed-off-by: Lei Wen <leiwen@marvell.com>
-rw-r--r--common/env_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_common.c b/common/env_common.c
index 88f068cc38b..5acda4d49ed 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -237,8 +237,8 @@ void env_relocate (void)
set_default_env(NULL);
#else
show_boot_progress (-60);
-#endif
set_default_env("!bad CRC");
+#endif
} else {
env_relocate_spec ();
}