[RFC 1/5] mtd: support MTD_MODE_RAW for writing OOB

Jason Liu liu.h.jason at gmail.com
Tue Aug 23 01:25:24 EDT 2011


Hi, Brian,

2011/8/18 Brian Norris <computersforpeace at gmail.com>:
> mtd_do_write_oob does not pass information about whether to write in RAW
> mode to the lower layers (e.g., NAND). We should pass MTD_OOB_RAW or
> MTD_OOB_PLACE based on the MTD file mode.
>
> This fixes issues with `nandwrite -n' and the MEMWRITEOOB[64] ioctls.

It's worthy here stating clear what the issue you meet and how it fix.

Jason



More information about the linux-mtd mailing list