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

Philip Balister philip at balister.org
Mon Jun 16 14:58:07 CEST 2008


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 


More information about the U-Boot mailing list