cmd_nand.c: Fix CONFIG_CMD_NAND_YAFFS
The flag changed from WITH_INLINE_OOB to WITH_YAFFS_OOB by accident in
418396e
.
Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
c39d6a0ea5
commit
c4df2f4100
|
@ -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,
|
ret = nand_write_skip_bad(nand, off, &rwsize, NULL,
|
||||||
maxsize, (u_char *)addr,
|
maxsize, (u_char *)addr,
|
||||||
WITH_INLINE_OOB);
|
WITH_YAFFS_OOB);
|
||||||
#endif
|
#endif
|
||||||
} else if (!strcmp(s, ".oob")) {
|
} else if (!strcmp(s, ".oob")) {
|
||||||
/* out-of-band data */
|
/* out-of-band data */
|
||||||
|
|
Loading…
Reference in New Issue