summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-08 16:59:03 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-08 16:59:03 +0100
commit83784bf63fa8dcf9c530226ab122463e95e9050f (patch)
tree5c029e84c5ed07607952c732d49d9384e5002391
parent9c575e51dec11f304bfdc8bcc3aada7af79823b1 (diff)
parent3d65390e2116f53f5ee6615ad92262613198b66c (diff)
downloadu-boot-imx-83784bf63fa8dcf9c530226ab122463e95e9050f.zip
u-boot-imx-83784bf63fa8dcf9c530226ab122463e95e9050f.tar.gz
u-boot-imx-83784bf63fa8dcf9c530226ab122463e95e9050f.tar.bz2
Merge with /home/tur/nand/u-boot
-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 4896853..4ae68c5 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -115,7 +115,7 @@ int saveenv(void)
int total, ret = 0;
puts ("Erasing Nand...");
- if (nand_erase(&nand_info[0], CFG_NEW_OFFSET, CFG_ENV_SIZE))
+ if (nand_erase(&nand_info[0], CFG_ENV_OFFSET, CFG_ENV_SIZE))
return 1;
puts ("Writing to Nand... ");