From: Jarkko Lavinen Date: Fri, 12 May 2006 14:02:35 +0000 (+0300) Subject: OneNand: Fix free byte positions. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d9777f1c42bffff0d21cd029a2415776aa874e96;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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} + } }; /**