On Friday 07 March 2003 02:26, Edward J. Lee wrote:
> I'm getting really curious about NAND_YAFFS_OOB.
> In the mtd document, I read that MTD now supports
> NAND_NONE_OOB, NAND_YAFFS_OOB, and NAND_JFFS_OOB.
Are you sure ? Where is this document ?
Read
http://linux-mtd.infradead.org/tach/nand.html
> I'd really like to use the part of the source
> #ifdef CONFIG_YAFFS_USE_NANDECC
> mtd->write_ecc(mtd,addr,YAFFS_BYTES_PER_CHUNK,
> &dummy,data,spareAsBytes,NAND_YAFFS_OOB);
> But the compiler keeps on complaining that NAND_YAFFS_OOB was never
> declared.
You should use latest YAFFS code.
--
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail:
tglx@linutronix.de
---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (
www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to
yaffs-request@toby-churchill.org with the text "unsubscribe"
(without the quotes) as the subject.