projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4424c
)
env: don't set to default env twice when use CONFIG_ENV_IS_NOWHERE
author
Lei Wen
<leiwen@marvell.com>
Sun, 10 Oct 2010 04:36:40 +0000
(12:36 +0800)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 12 Oct 2010 19:31:04 +0000
(21:31 +0200)
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>
common/env_common.c
patch
|
blob
|
history
diff --git
a/common/env_common.c
b/common/env_common.c
index 88f068cc38b8e9785569d87c328ae70034a4d395..5acda4d49ed66225889aa7e9e409652c9ad03cce 100644
(file)
--- 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 ();
}