* [U-Boot-Users] [PATCH] small patch for env_nand.c
@ 2008-06-16 12:58 Philip Balister
2008-06-16 17:29 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: Philip Balister @ 2008-06-16 12:58 UTC (permalink / raw)
To: u-boot
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3303 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080616/db693923/attachment.bin
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH] small patch for env_nand.c
2008-06-16 12:58 [U-Boot-Users] [PATCH] small patch for env_nand.c Philip Balister
@ 2008-06-16 17:29 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2008-06-16 17:29 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-16 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 12:58 [U-Boot-Users] [PATCH] small patch for env_nand.c Philip Balister
2008-06-16 17:29 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox