[U-Boot-Users] [PATCH] small patch for env_nand.c

Scott Wood scottwood at freescale.com
Mon Jun 16 19:29:33 CEST 2008


On Mon, Jun 16, 2008 at 08:58:07AM -0400, Philip Balister wrote:
> While compiling Hugo's Lyrtech SFFSDR board patch on a very recent git,  
> I ran into this problem. (Warning, this patch comes from Thunderbird,  
> I'm on vacation :)
>
> diff --git a/common/env_nand.c b/common/env_nand.c
> index a48e98e..8954017 100644
> --- a/common/env_nand.c
> +++ b/common/env_nand.c
> @@ -230,6 +230,7 @@ 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;

Applied (by hand) to u-boot-nand-flash.  Thanks!

Next time, please add a Signed-off-by: line.

-Scott




More information about the U-Boot mailing list