Initialising NAND OOB with Software ECC

Phil Thompson phil at river-bank.demon.co.uk
Fri Feb 14 09:18:33 EST 2003


On Friday 14 February 2003 1:56 pm, David Woodhouse wrote:
> On Fri, 2003-02-14 at 13:50, Thomas Gleixner wrote:
> > True, doe you have a better idea ?
>
> We don't _really_ need to write both in a single atomic operation, do
> we? Write to two different devices. You can always provide a library
> routine to do the right thing if you really care about upsetting the
> userspace programmer.

Given that you have to pass a pointer to the data in order to calculate the 
ECC, and you have to allow filesystems to supply some OOB data, then you 
still need 2 pointers into user space even if you separate the writes.

Phil




More information about the linux-mtd mailing list