mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
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,
|
||||
maxsize, (u_char *)addr,
|
||||
WITH_INLINE_OOB);
|
||||
WITH_YAFFS_OOB);
|
||||
#endif
|
||||
} else if (!strcmp(s, ".oob")) {
|
||||
/* out-of-band data */
|
||||
|
Loading…
Reference in New Issue
Block a user