diff options
author | Philip Balister | 2008-06-16 08:58:07 -0400 |
---|---|---|
committer | Scott Wood | 2008-06-16 12:25:58 -0500 |
commit | 9e4006bca3d9fb4a2d061996771036cb01e539d3 (patch) | |
tree | 9b885b0a62d6453824d05a0bd30866613ff9f2af /common | |
parent | 2cdb7f50ac59594540fffdf8dbd7b12beac79c52 (diff) |
NAND: Add missing declaration to non-redundant saveenv().
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/env_nand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/env_nand.c b/common/env_nand.c index a48e98e5091..e21d2a34aee 100644 --- 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; |