nand_ecc.c was written by SJ Hill and used as the original ECC file used by yaffs.. yaffs_ecc.c is something I wrote to replace it. yaffs_ecc.c is faster and is more compliant with SmartMedia. Yaffs_ecc.c also supports other functionality for yaffs2. At present the bootloader uses nand_ecc.c instead of yaffs_ecc.c. It is very easy to change this since they are plug and play. -- Charles > -----Original Message----- > From: yaffs-admin@stoneboat.aleph1.co.uk > [mailto:yaffs-admin@stoneboat.aleph1.co.uk] On Behalf Of > Michael Erickson > Sent: Wednesday, 12 January 2005 5:27 a.m. > To: yaffs@stoneboat.aleph1.co.uk > Subject: [Yaffs] Difference between ecc code. > > > Hello all, > > I am working with the direct interface and have a question > about the two > files; nand_ecc.c and yaffs_ecc.c. Could someone explain the correct > usage of these two files to me? Is it something like, use > yaffs_ecc for > RAM-disk, NOR-flash, and file-emulation and use nand_ecc for > NAND chips? > > Any advice would be appreciated. > > Thanks, > --mikee > > -- > Michael Erickson > Senior Software Engineer > Logic Product Development > (612) 436-5118 > mailto:mikee@logicpd.com > http://www.logicpd.com > > > _______________________________________________ > yaffs mailing list > yaffs@stoneboat.aleph1.co.uk > http://stoneboat.aleph1.co.uk/cgi-> bin/mailman/listinfo/yaffs >