summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-02-04 21:44:46 +0100
committerWolfgang Denk <wd@denx.de>2011-02-04 21:44:46 +0100
commitf69b980d108b5f15ca7dd3f4284d5a66488c3625 (patch)
treee27e59b03e0fbd2346ebe49ad7f8dd5f4d982215
parent4bfa18fb99e4ffa9451d9ec95375a5e970847bf8 (diff)
parent920a5dd2325438a82b6ac8102c5ea5e0c43276fd (diff)
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
-rw-r--r--common/env_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_nand.c b/common/env_nand.c
index 2682f07fdc..a4480cb22b 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -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");