[U-Boot] [PATCH] env_sf: updated to the new environment code

Mike Frysinger vapier at gentoo.org
Thu Oct 28 03:12:31 CEST 2010


On Wednesday, October 27, 2010 05:06:20 Stefano Babic wrote:
> Functions to store/retrieve the environment from a SPI flash was not
> updated to the new environment code. The non-redundant case was
> not working correctly, reporting ""Environment SPI flash not initialized"
> and the code was not compiled clean in the redundant case.
> 
> The patch fixes these issue and makes the code more coherent
> with other environment storage (nand, flash).

seems to introduce a bug.  some Blackfin boards now show:
Configuring for ip04 board...
env_sf.c: In function ‘saveenv’:
env_sf.c:275: warning: ‘ret’ may be used uninitialized in this function
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101027/df10b828/attachment.pgp 


More information about the U-Boot mailing list