Hardware ECC in NAND flash driver
Thomas Gleixner
tglx at linutronix.de
Wed Aug 7 09:15:38 EDT 2002
On Wed, 2002-08-07 at 15:06, Steven Hein wrote:
> Hello,
>
> I'm working on the Linux port to the Samsung S3C2410 PDA controller
> (ARM 920T core with many interfaces, including a NAND flash controller,
> built-in). The 2410's NAND flash controller generates ECC codes
> (3 bytes ECC per each 512 bytes data). Are there any plans to
> incorporate hardware ECC support into this driver? Specifically,
> I guess that would mean adding "hooks" so the hardware-specific
> driver could handle the ECC parts (I only had to make
> a few small changes to nand.c to get this working for the 2410.)
> If there's an effort underway in this area, I'd be happy to
> participate in the development.
>
We thougt about that already, but nobody made an attempt to do so,
because we had no hardware supporting this.
I was thinking about a similar hook as it is used for command function
and dev_ready function. So the hardware ecc support would be located in
the corresponding hardware driver.
If you send me a diff against current CVS, we can find a clean way
together to incorporate it into nand.c
--
Thomas
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de
More information about the linux-mtd
mailing list