]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
OneNand: Fix free byte positions.
authorJarkko Lavinen <jarkko.lavinen@nokia.com>
Fri, 12 May 2006 14:02:35 +0000 (17:02 +0300)
committerJarkko Lavinen <lavinen@pentafluge.infradead.org>
Fri, 12 May 2006 14:35:46 +0000 (15:35 +0100)
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>
drivers/mtd/onenand/onenand_base.c

index 1439c9fa1d23bd51e6dfdd814e76f910eb1fde1e..b6a73b72f60036ff146c0608659e181ac16b93a9 100644 (file)
@@ -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}
+       }
 };
 
 /**