mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
NAND: Add missing declaration to non-redundant saveenv().
Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
parent
2cdb7f50ac
commit
9e4006bca3
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue