projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
addb2e1
)
Fixed a bug in saveenv(). Credit: Markus Klotzbuecher.
author
Bartlomiej Sieka
<tur@semihalf.com>
Wed, 8 Mar 2006 07:32:43 +0000
(08:32 +0100)
committer
Bartlomiej Sieka
<tur@semihalf.com>
Wed, 8 Mar 2006 07:32:43 +0000
(08:32 +0100)
> @@ -115,7 +115,7 @@ int saveenv(void)
common/env_nand.c
patch
|
blob
|
history
diff --git
a/common/env_nand.c
b/common/env_nand.c
index 4896853530194ca0292ea83bf2bf139297b51275..4ae68c5a23e84892ed1580bffd06d1bafafb0038 100644
(file)
--- 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... ");