From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 22 Aug 2013 17:50:40 -0500 Subject: [U-Boot] env_nand.c: support falling back to redundant env when writing In-Reply-To: <1374229226-30392-1-git-send-email-phil.sutter@viprinet.com> References: <1374229226-30392-1-git-send-email-phil.sutter@viprinet.com> Message-ID: <20130822225040.GA32567@home.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jul 19, 2013 at 12:20:26PM +0200, Phil Sutter wrote: > Without this patch, when the currently chosen environment to be written > has bad blocks, saveenv fails completely. Instead, when there is > redundant environment fall back to the other copy. Environment reading > needs no adjustment, as the fallback logic for incomplete writes applies > to this case as well. > > Signed-off-by: Phil Sutter Applied to u-boot-nand-flash -Scott