[U-Boot] [PATCH RFC] add redundant environment for env_sf.c

Mike Frysinger vapier at gentoo.org
Fri Apr 23 17:06:10 CEST 2010


On Friday 23 April 2010 05:22:16 Wolfgang Wegner wrote:
> Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
> ---
> 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 


More information about the U-Boot mailing list