[U-Boot] env: dataflash: fix env_init issue

Tom Rini trini at ti.com
Mon Oct 14 22:27:31 CEST 2013


On Tue, Oct 08, 2013 at 04:30:21PM +0800, Bo Shen wrote:

> 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 at atmel.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131014/93ed1589/attachment.pgp>


More information about the U-Boot mailing list