]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd_nand.c: Fix CONFIG_CMD_NAND_YAFFS
authorTom Rini <trini@ti.com>
Thu, 14 Mar 2013 05:32:51 +0000 (05:32 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 10 Apr 2013 13:22:24 +0000 (15:22 +0200)
The flag changed from WITH_INLINE_OOB to WITH_YAFFS_OOB by accident in
418396e.

Signed-off-by: Tom Rini <trini@ti.com>
common/cmd_nand.c

index 110c78c1877c936b6a552d46d9548ecfa62112bb..e9d3d3c1bf6238d20ad3abc310cbc306fab473dd 100644 (file)
@@ -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 */