[U-Boot] [PATCH] env: don't set to default env twice when use	CONFIG_ENV_IS_NOWHERE
    Lei Wen 
    leiwen at marvell.com
       
    Sat Oct  9 11:58:08 CEST 2010
    
    
  
When use the CONFIG_ENV_IS_NOWHERE, I met such issue:
Using default environment
*** Warning - bad CRC, using default environment
Signed-off-by: Lei Wen <leiwen at marvell.com>
---
 common/env_common.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/common/env_common.c b/common/env_common.c
index 88f068c..10131c7 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -238,7 +238,6 @@ void env_relocate (void)
 #else
 		show_boot_progress (-60);
 #endif
-		set_default_env("!bad CRC");
 	} else {
 		env_relocate_spec ();
 	}
-- 
1.7.0.4
    
    
More information about the U-Boot
mailing list