Skip to contentSkip to conversation

OneNAND oobfree

DISCUSSION Adrian Hunter 1 participant 1 message Jan 17, 2007 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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

Quoted 1 line

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}
	}
};