OneNAND oobfree

Adrian Hunter ext-adrian.hunter at nokia.com
Wed Jan 17 06:17:47 EST 2007


Hi Kyungmin

The nand_ecclayout structure for OneNAND has 3 bytes
at position 2 marked as free (see below).  However,
the documentation describes these 3 bytes as
"Managed by internal ECC logic for Logical Sector
Number data".

Are these bytes, in fact, free, and should they be listed
in oobfree as they are now?

Regards
Adrian



>From onenand_base.c:
static struct nand_ecclayout onenand_oob_64 = {
	.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},
		{34, 3}, {46, 2}, {50, 3}, {62, 2}
	}
};






More information about the linux-mtd mailing list