abuse of nand_correct_data in tmio_nand driver
ian at mnementh.co.uk
Tue Jul 28 10:35:19 EDT 2009
Atsushi Nemoto wrote:
> On Tue, 28 Jul 2009 14:57:05 +0100, Ian molton <spyro at f2s.com> wrote:
>>>> The current nand_correct_data() can be used for ecc.bytes = 3 case
>>>> only. The tmio_nand driver uses ecc.bytes = 6.
>>> IIRC, tmio_nand driver accesses two ecc "sectors" at once, so this is
>>> most probably ok. I'll look into it though, when I have some time.
>> Are we really the only chip that does this?
> TXx9 NDFMC can read 6 byte ECC (for two 256 byte sectors) at a time.
> I will try to see if doing it increase performance or not.
If theres more than one chip that can do this, I think the change should
go in the core mmc code.
More information about the linux-mtd