diff options
author | Bo Shen <voice.shen@atmel.com> | 2013-10-08 16:30:21 +0800 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-14 16:06:52 -0400 |
commit | cca2011e62289063066faee3cf8e3d74685be8fc (patch) | |
tree | c5da820fbf3f16697802c33f9c9494a42ecd5542 /common/cmd_setexpr.c | |
parent | 47a4bea6af77b01d59a410d09a4c34b2dd14cf50 (diff) | |
download | u-boot-imx-cca2011e62289063066faee3cf8e3d74685be8fc.zip u-boot-imx-cca2011e62289063066faee3cf8e3d74685be8fc.tar.gz u-boot-imx-cca2011e62289063066faee3cf8e3d74685be8fc.tar.bz2 |
env: dataflash: fix env_init issue
As the SPI controller is not initialized before env_init(), it causes
reading env in dataflash failed. So, although saveenv() successfully,
it shows warning information when reboot the system as following:
*** Warning - bad CRC, using default environment
Let the env_relocate() to check env CRC and import it.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Diffstat (limited to 'common/cmd_setexpr.c')
0 files changed, 0 insertions, 0 deletions