[PATCH v2 3/3] Add 4-bit ECC support for large page NAND chips on Davinci

David Brownell david-b at pacbell.net
Thu Jun 18 22:07:00 EDT 2009

On Thursday 18 June 2009, Troy Kisky wrote:
> > To answer your question, yes it can be at the end but I do not
> > see any reason why it has to be at the end 
> > Any reason why you insist that it should be at the end.
> Well, for one, it is nice to have oobfree contiguous. But mainly, I hope
> to eventually use a default layout which will have the oob data at the
> end when 0 holds the badblock marker.

Also, I thought the agreement from previous discussions was to
put it at the end, keeping a contiguous oobfree area ... which
is why the OpenOCD [1] DaVinci NAND driver puts it at the end in
the standard HWECC4 mode (not HWECC4_INFIX):

 - with 2K pages ... ECC in bytes 24..63 inclusive.
 - with 4K pages ... ECC in bytes 48..127 inclusive.

Now, the 0.2.0 release for that hasn't frozen yet, but the idea
was to have it match what Linux does.

So if the plans for Linux change, make sure I know so I can submit
a patch ... though I'd rather see the previous agreement kept.

- Dave

[1] http://openocd.berlios.de/doc/html/index.html

More information about the linux-mtd mailing list