Merge branch 'master' of git://git.denx.de/u-boot-nand-flash

This commit is contained in:
Wolfgang Denk 2011-02-04 21:44:46 +01:00
commit f69b980d10
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ int saveenv(void)
return 1;
}
env_new.crc = crc32(0, env_new.data, ENV_SIZE);
env_new.flags = ACTIVE_FLAG;
++env_new.flags; /* increase the serial */
if(gd->env_valid == 1) {
puts("Erasing redundant NAND...\n");