aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorJarkko Lavinen <jarkko.lavinen@nokia.com>2006-05-12 10:02:35 -0400
committerJarkko Lavinen <lavinen@pentafluge.infradead.org>2006-05-12 10:35:46 -0400
commitd9777f1c42bffff0d21cd029a2415776aa874e96 (patch)
treec759ccb395e3b97ef15b1af0e9bd9bf3d85f0528 /drivers/mtd/onenand
parent9c01f87db183403a4f603fe5180c57b82b54b4a1 (diff)
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>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r--drivers/mtd/onenand/onenand_base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 1439c9fa1d23..b6a73b72f600 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -34,7 +34,8 @@ static struct nand_oobinfo onenand_oob_64 = {
34 }, 34 },
35 .oobfree = { 35 .oobfree = {
36 {2, 3}, {14, 2}, {18, 3}, {30, 2}, 36 {2, 3}, {14, 2}, {18, 3}, {30, 2},
37 {24, 3}, {46, 2}, {40, 3}, {62, 2} } 37 {34, 3}, {46, 2}, {50, 3}, {62, 2}
38 }
38}; 39};
39 40
40/** 41/**