mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
NAND: Add missing declaration to non-redundant saveenv().
Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:

committed by
Scott Wood

parent
2cdb7f50ac
commit
9e4006bca3
@ -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;
|
||||||
|
Reference in New Issue
Block a user