summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-06-19 22:57:06 +0200
committerWolfgang Denk <wd@denx.de>2008-06-19 22:57:06 +0200
commit51a6ca2c3a65560079d1fbe3a4c1246b5fb19059 (patch)
tree5af9ead06f5c7b31ac410eed399cb892cd10f817
parentb4fe1a71090c73efc6e4188eed188b2ff67fc02a (diff)
parent9e4006bca3d9fb4a2d061996771036cb01e539d3 (diff)
downloadu-boot-imx-51a6ca2c3a65560079d1fbe3a4c1246b5fb19059.zip
u-boot-imx-51a6ca2c3a65560079d1fbe3a4c1246b5fb19059.tar.gz
u-boot-imx-51a6ca2c3a65560079d1fbe3a4c1246b5fb19059.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-nand-flash
-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;