From: Mike Frysinger Date: Fri, 23 Apr 2010 11:06:10 -0400 Subject: [U-Boot] [PATCH RFC] add redundant environment for env_sf.c In-Reply-To: <1272014536-1555-1-git-send-email-w.wegner@astro-kom.de> References: <1272014536-1555-1-git-send-email-w.wegner@astro-kom.de> Message-ID: <201004231106.11100.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 Friday 23 April 2010 05:22:16 Wolfgang Wegner wrote: > Signed-off-by: Wolfgang Wegner > --- > This patch adds redundant environment for environment in SPI flash. > I took env_flash.c as an example and slightly modified it. Apart > from adapting things to SF, I also slightly changed the decision > logic to use area 2 as a default in case the flags are wrong. > > I did not add a section for CONFIG_ENV_IS_IN_SPI_FLASH in environment.h > because I did not understand if this is desired and/or needed. > So to use the feature, one has to set CONFIG_ENV_OFFSET_REDUND _and_ > CONFIG_SYS_REDUNDAND_ENVIRONMENT. > > I checked it by powering off my board several times during flash > erase or write, because I do not know if there are other stress > test scenarios. this is a change log and belongs above your Signed-off-by tag, not after the --- marker. please resend your patch. -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/20100423/91fca0da/attachment.pgp