From a65fb5ef2d51b6e9c375e7b89c2babe4212e1b7f Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 25 Aug 2009 03:36:20 +0200 Subject: [PATCH] reserve bad block area in oob data. --- target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c index 5310cd1c7..f3881d6c5 100644 --- a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c +++ b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c @@ -172,8 +172,8 @@ static struct nand_ecclayout qi_lb60_ecclayout = { 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41}, .oobfree = { - {.offset = 0, - .length = 6}, + {.offset = 2, + .length = 4}, {.offset = 42, .length = 22}} };