From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([131.228.20.170] helo=mgw-ext11.nokia.com) by canuck.infradead.org with esmtps (Exim 4.63 #1 (Red Hat Linux)) id 1H78pP-00016S-JA for linux-mtd@lists.infradead.org; Wed, 17 Jan 2007 06:19:42 -0500 Message-ID: <45AE05DB.6080403@nokia.com> Date: Wed, 17 Jan 2007 13:17:47 +0200 From: Adrian Hunter MIME-Version: 1.0 To: ext Kyungmin Park Subject: OneNAND oobfree Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "linux-mtd@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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} } };