From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 16 Jun 2008 12:29:33 -0500 Subject: [U-Boot-Users] [PATCH] small patch for env_nand.c In-Reply-To: <4856635F.4050802@balister.org> References: <4856635F.4050802@balister.org> Message-ID: <20080616172933.GA14091@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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