Claudio Lanconelli <lanconelli.claudio <at> 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