From: Mike Frysinger Date: Wed, 27 Oct 2010 21:12:31 -0400 Subject: [U-Boot] [PATCH] env_sf: updated to the new environment code In-Reply-To: <1288170380-32580-1-git-send-email-sbabic@denx.de> References: <1288170380-32580-1-git-send-email-sbabic@denx.de> Message-ID: <201010272112.33033.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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