Patchwork [U-Boot,v5,5/9] cmd_nand.c: Fix CONFIG_CMD_NAND_YAFFS

login
register
mail settings
Submitter Tom Rini
Date March 8, 2013, 5:37 p.m.
Message ID <1362764249-15547-6-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/226175/
State Superseded
Delegated to: Marek Vasut
Headers show

Comments

Tom Rini - March 8, 2013, 5:37 p.m.
The flag changed from WITH_INLINE_OOB to WITH_YAFFS_OOB by accident in
418396e.

Signed-off-by: Tom Rini <trini@ti.com>
---
Changes in v5: None
Changes in v4:
- Add patch to fix CONFIG_CMD_NAND_YAFFS

Changes in v3: None
Changes in v2: None

 common/cmd_nand.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 76f4d3f..d9010d2 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -673,7 +673,7 @@  static int do_nand(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 			}
 			ret = nand_write_skip_bad(nand, off, &rwsize, NULL,
 						maxsize, (u_char *)addr,
-						WITH_INLINE_OOB);
+						WITH_YAFFS_OOB);
 #endif
 		} else if (!strcmp(s, ".oob")) {
 			/* out-of-band data */