[PATCH v2 09/10] mtd: sh_flctl: Use user oob data in hardware ECC mode

Brian Norris computersforpeace at gmail.com
Wed Apr 25 13:57:40 EDT 2012


On Wed, Apr 25, 2012 at 7:03 AM, Bastian Hecht <hechtb at googlemail.com> wrote:
> In hardware ecc mode, the flctl now writes and reads the oob data
> provided by the user. Additionally the ECC is now returned in normal
> page reads, not only when using the explicit NAND_CMD_READOOB command.

I don't know about the HW-specific details here, but read/write
data+OOB seems good.

Acked-by: Brian Norris <computersforpeace at gmail.com>

If these patches are accepted, I will try to make sure this driver
switches to conditionally reading/writing OOB in my patch series. Keep
an eye out for them, though.

BTW, from the changes I'm seeing in this patch series, your driver was
previously fairly broken. Or at least, several features of it were...
Good luck with the cleanup!

Brian



More information about the linux-mtd mailing list