diff options
author | Jarkko Lavinen <jarkko.lavinen@nokia.com> | 2006-05-12 16:02:35 +0200 |
---|---|---|
committer | Jarkko Lavinen <lavinen@pentafluge.infradead.org> | 2006-05-12 16:35:46 +0200 |
commit | d9777f1c42bffff0d21cd029a2415776aa874e96 (patch) | |
tree | c759ccb395e3b97ef15b1af0e9bd9bf3d85f0528 /drivers/mtd/onenand | |
parent | OneNAND: handle byte access on BufferRAM (diff) | |
download | linux-d9777f1c42bffff0d21cd029a2415776aa874e96.tar.xz linux-d9777f1c42bffff0d21cd029a2415776aa874e96.zip |
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.c | 3 |
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 = { }, .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} + } }; /** |