commit | 8c57e9a1668504bf98c2000856cc1a622627e7eb | [log] [tgz] |
---|---|---|
author | Philip Balister <philip@balister.org> | Mon Jun 16 08:58:07 2008 -0400 |
committer | Scott Wood <scottwood@freescale.com> | Mon Jun 16 12:25:58 2008 -0500 |
tree | 9b885b0a62d6453824d05a0bd30866613ff9f2af | |
parent | ed41f32ec1932e15ea8166006fff3bdaf0ffd6f4 [diff] |
NAND: Add missing declaration to non-redundant saveenv(). Signed-off-by: Scott Wood <scottwood@freescale.com>
diff --git a/common/env_nand.c b/common/env_nand.c index a48e98e..e21d2a3 100644 --- a/common/env_nand.c +++ b/common/env_nand.c
@@ -230,7 +230,8 @@ { 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;