Browse Source

OneNand: Fix free byte positions.

Some free byte positions at onenand_oob_64 were wrong. This was also
reported by Christian Lehne. 3 byte slots are at 2+16*i and 2 byte
slots at 14+16*i.

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Jarkko Lavinen 19 years ago
parent
commit
d9777f1c42
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/mtd/onenand/onenand_base.c

+ 2 - 1
drivers/mtd/onenand/onenand_base.c

@@ -34,7 +34,8 @@ static struct nand_oobinfo onenand_oob_64 = {
 		},
 	.oobfree	= {
 		{2, 3}, {14, 2}, {18, 3}, {30, 2},
-		{24, 3}, {46, 2}, {40, 3}, {62, 2} }
+		{34, 3}, {46, 2}, {50, 3}, {62, 2}
+	}
 };
 
 /**