> Hir, sir
> Thank you for you help about the work on yaffs, and now I want
> to add ECC check.
> I configure the kernel to enable ECC Check, but when I run the kernel ...
> There is : Reading data from NAND FLASH without ECC is not recommended
I comment out the warning and let yaffs do the ecc work.
> I use your s3c2410nd.c, the message is in nand.c
> int eccmode = oobsel->useecc ? this->eccmode : NAND_ECC_NONE;
> ////????????????
You don't mention which kernel you are using which makes answering your query hard.
In the yaffs mtd interface layer there are structures that need to be modified for alternative flavours of mtd.
See
http://husaberg.toby-churchill.com/balloon/ for 2.4.19 2.4.25 and 2.6.8.1 examples.
Nick Bane