[Yaffs] yaffs2 on onenand

Naushad K naushad00 at gmail.com
Fri Jun 16 14:00:40 BST 2006


Hi,

Did any one tried to use yaffs2  on onenand ?

When I looked at the onenand_base.c, the oobinfo is as per  the
following format.


/**
 * onenand_oob_64 - oob info for large (2KB) page
 */
static struct nand_oobinfo onenand_oob_64 = {
	.useecc		= MTD_NANDECC_AUTOPLACE,
	.eccbytes	= 20,
	.eccpos		= {
		8, 9, 10, 11, 12,
		24, 25, 26, 27, 28,
		40, 41, 42, 43, 44,
		56, 57, 58, 59, 60,
		},
	.oobfree	= {
		{2, 3}, {14, 2}, {18, 3}, {30, 2},
		{24, 3}, {46, 2}, {40, 3}, {62, 2} }
};


But I have not seen code in onenand_base.c for doing the autoplace
of the yaffs tags into the oobfree area as  its there in nand_base.c

Can the yaffs2 work with current onenand_base.c ?

Thanks
Naushad



More information about the yaffs mailing list