diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_nand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 44c4d1f..27a8879 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -581,7 +581,8 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) printf("Unknown nand command suffix '%s'.\n", s); return 1; } - ret = nand_write_skip_bad(nand, off, &rwsize, (u_char *)addr, 1); + ret = nand_write_skip_bad(nand, off, &rwsize, + (u_char *)addr, WITH_YAFFS_OOB); #endif } else if (!strcmp(s, ".oob")) { /* out-of-band data */ |