Skip to content

Commit

Permalink
OneNand: Fix free byte positions.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jarkko Lavinen authored and Jarkko Lavinen committed May 12, 2006
1 parent 9c01f87 commit d9777f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/mtd/onenand/onenand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
};

/**
Expand Down

0 comments on commit d9777f1

Please sign in to comment.