projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cdb7f5
)
NAND: Add missing declaration to non-redundant saveenv().
author
Philip Balister
<philip@balister.org>
Mon, 16 Jun 2008 12:58:07 +0000
(08:58 -0400)
committer
Scott Wood
<scottwood@freescale.com>
Mon, 16 Jun 2008 17:25:58 +0000
(12:25 -0500)
Signed-off-by: Scott Wood <scottwood@freescale.com>
common/env_nand.c
patch
|
blob
|
history
diff --git
a/common/env_nand.c
b/common/env_nand.c
index a48e98e50911f8aa31fe7e922b9290da61e4ae44..e21d2a34aee4a1923668f434fc4fe0b5e9527ced 100644
(file)
--- a/
common/env_nand.c
+++ b/
common/env_nand.c
@@
-230,7
+230,8
@@
int saveenv(void)
{
size_t total;
int ret = 0;
-
+ nand_erase_options_t nand_erase_options;
+
nand_erase_options.length = CFG_ENV_RANGE;
nand_erase_options.quiet = 0;
nand_erase_options.jffs2 = 0;