[Yaffs] Re: cvs YAFFS + MTD cvs + 2.4.27-vrs1 problems

Thomas Gleixner tglx@linutronix.de
Fri, 10 Dec 2004 00:01:19 +0100


On Thu, 2004-12-09 at 22:24 +0000, Wookey wrote:
> +++ Nick Bane [04-12-09 21:10 -0000]:
> > > I am guessing that the ECC stuff is being handled twice or it is being 
> > > mishandled somewhere when I define CONFIG_YAFFS_USE_NANDECC. Comments?
> > > 
> 
> > That is precisely what I do and I comment out the MTD whinge. It is
> > clearly important that SOMEONE does the ECC and it is a mild pity that the
> > MTD layer assumes that only it is competant to do so.
> > 
> 
> > It is probably that yaffs should get the MTD layer to do its ecc
> > eventually as standard.
> 
> That's OK for use with linux and the MTD, but yaffs needs to be able to run
> standalone so it needs to retain the ability to do it's own ECC.

I can't see, how YAFFS can deal with HW ECC.

For standalone you need an hardware interface layer, which should either
utilize YAFFS builtin ECC or do its own thing.

tglx