On Wed, May 18, 2011 at 03:21:08PM +0200, Daniel Hobi wrote: > Commit 30486322 (nand erase: .spread, .part, .chip subcommands) > added a new field to struct nand_erase_options, but forgot to > update common/env_nand.c. > > Depending on the stack state and bad block distribution, saveenv() > can thus erase more than CONFIG_ENV_RANGE bytes which may corrupt > the following NAND sectors/partitions. > > Signed-off-by: Daniel Hobi <daniel.h...@schmid-telecom.ch> > --- > common/env_nand.c | 8 ++------ > 1 files changed, 2 insertions(+), 6 deletions(-)
Applied to u-boot-nand-flash -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot