mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 20:11:32 +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;
|
size_t total;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
nand_erase_options_t nand_erase_options;
|
||||||
|
|
||||||
nand_erase_options.length = CFG_ENV_RANGE;
|
nand_erase_options.length = CFG_ENV_RANGE;
|
||||||
nand_erase_options.quiet = 0;
|
nand_erase_options.quiet = 0;
|
||||||
nand_erase_options.jffs2 = 0;
|
nand_erase_options.jffs2 = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue