On Thursday 17 May 2007, Alexandros C. Couloumbis wrote: > Claudio Lanconelli eptar.com> writes: > > static struct nand_ecclayout nand_oob_16 = { > > .eccbytes = 6, > > .eccpos = { 8, 9, 10, 13, 14, 15 }, > > .oobfree = { { 0, 4 }, { 6, 2 }, { 11, 2 } } > > }; > > > > with CONFIG_NAND_ECC_SMC = Y > > > > Be sure to use default Yaffs configuration. > > Especially CONFIG_YAFFS_DOES_ECC = N > > > > The translate functions (translate_spare2oob) in mtdif.c should work > > fine untouched. > > should this be a > CONFIG_NAND_ECC_SMC = Y > or > CONFIG_MTD_NAND_ECC_SMC = Y > > regards, > > --alex Neither. This approach does not work, Ian McDonnell is reworking mtdif1.c and when that works we should have a complete solution but as of now for some reason it does not work on 2.6.19 although it appears to work on Ian's 2.6.21. David