Skip to contentSkip to conversation

small patch for env_nand.c

PATCH New Philip Balister 2 participants 2 messages Jun 16, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 small patch for env_nand.c

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 :)

common/env_nand.c +1 -0
index a48e98e..8954017 100644
@@ -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

#1 lore raw

PATCH 1/1 small patch for env_nand.c

Quoted 9 lines · Philip Balister

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 :)

common/env_nand.c +0 -0
index a48e98e..8954017 100644

common/env_nand.c int saveenv(void) · line 236

Quoted 7 lines
common/env_nand.c +1 -0
@@ -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