diff options
author | Philip Balister <philip@balister.org> | 2008-06-16 12:58:07 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-06-16 17:25:58 (GMT) |
commit | 9e4006bca3d9fb4a2d061996771036cb01e539d3 (patch) | |
tree | 9b885b0a62d6453824d05a0bd30866613ff9f2af | |
parent | 2cdb7f50ac59594540fffdf8dbd7b12beac79c52 (diff) | |
download | u-boot-fsl-qoriq-9e4006bca3d9fb4a2d061996771036cb01e539d3.tar.xz |
NAND: Add missing declaration to non-redundant saveenv().
Signed-off-by: Scott Wood <scottwood@freescale.com>
-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 a48e98e..e21d2a3 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; |