diff options
author | Wolfgang Denk <wd@denx.de> | 2008-05-04 01:03:30 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-04 01:03:30 +0200 |
commit | fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e (patch) | |
tree | ef2a53892d00ecfd9a09d4597eedea783b291cf4 /common | |
parent | bd98ee60df43ee6dd6f5ebe32c67d03e90513ff8 (diff) | |
parent | 7c0773fde6100b61be2558cb5d8c442a3194aecb (diff) | |
download | u-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.zip u-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.tar.gz u-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.tar.bz2 |
Merge branch 'master' of /home/wd/git/u-boot/master/
Diffstat (limited to 'common')
-rw-r--r-- | common/env_flash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/env_flash.c b/common/env_flash.c index eccfb62..a92160d 100644 --- a/common/env_flash.c +++ b/common/env_flash.c @@ -378,7 +378,9 @@ void env_relocate_spec (void) puts ("*** Warning - some problems detected " "reading environment; recovered successfully\n\n"); #endif /* CFG_ENV_ADDR_REDUND */ +#ifdef CMD_SAVEENV memcpy (env_ptr, (void*)flash_addr, CFG_ENV_SIZE); +#endif #endif /* ! ENV_IS_EMBEDDED || CFG_ENV_ADDR_REDUND */ } |