Skip to content
Snippets Groups Projects
Commit d259079d authored by Lei Wen's avatar Lei Wen Committed by Wolfgang Denk
Browse files

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: default avatarLei Wen <leiwen@marvell.com>
parent be4424c7
No related branches found
No related tags found
No related merge requests found
......@@ -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 ();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment