summaryrefslogtreecommitdiff
path: root/common/env_nand.c
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2008-06-16 08:58:07 -0400
committerScott Wood <scottwood@freescale.com>2008-06-16 12:25:58 -0500
commit9e4006bca3d9fb4a2d061996771036cb01e539d3 (patch)
tree9b885b0a62d6453824d05a0bd30866613ff9f2af /common/env_nand.c
parent2cdb7f50ac59594540fffdf8dbd7b12beac79c52 (diff)
downloadu-boot-imx-9e4006bca3d9fb4a2d061996771036cb01e539d3.zip
u-boot-imx-9e4006bca3d9fb4a2d061996771036cb01e539d3.tar.gz
u-boot-imx-9e4006bca3d9fb4a2d061996771036cb01e539d3.tar.bz2
NAND: Add missing declaration to non-redundant saveenv().
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'common/env_nand.c')
-rw-r--r--common/env_nand.c3
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;