mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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:
parent
be4424c73d
commit
d259079d6d
1 changed files with 1 additions and 1 deletions
|
|
@ -237,8 +237,8 @@ void env_relocate (void)
|
||||||
set_default_env(NULL);
|
set_default_env(NULL);
|
||||||
#else
|
#else
|
||||||
show_boot_progress (-60);
|
show_boot_progress (-60);
|
||||||
#endif
|
|
||||||
set_default_env("!bad CRC");
|
set_default_env("!bad CRC");
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
env_relocate_spec ();
|
env_relocate_spec ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue