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>
This commit is contained in:
Lei Wen authored and Wolfgang Denk committed 2010-10-12 21:31:04 +02:00
1 parent be4424c73d
commit d259079d6d
1 file changed
+1 -1
+1 -1
View File
@@ -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 ();
}