Skip to content
Snippets Groups Projects
Commit f69b980d authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

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

parents 4bfa18fb 920a5dd2
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,7 @@ int saveenv(void) ...@@ -205,7 +205,7 @@ int saveenv(void)
return 1; return 1;
} }
env_new.crc = crc32(0, env_new.data, ENV_SIZE); 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) { if(gd->env_valid == 1) {
puts("Erasing redundant NAND...\n"); puts("Erasing redundant NAND...\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment