Initialising NAND OOB with Software ECC
Thomas Gleixner
tglx at linutronix.de
Fri Feb 14 09:06:17 EST 2003
On Friday 14 February 2003 14:56, 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.
I would like to do it in one go, as we calc ECC and put it into the supplied
buffer, which comes either from kernel or from userspace. You should have the
same functionality in userspace than in kernel space.
With two devices, who have two operations, which can get out of sync. Not a
really good idea IMHO. Such a interface would be useful to test and debug
filesystems from userspace. So you can use the same functionality as if you
are in the kernel.
--
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de
More information about the linux-mtd
mailing list