From: Huang Shijie Date: Wed, 15 May 2013 08:40:25 +0000 (+0800) Subject: mtd: increase max OOB size to 744 X-Git-Tag: upstream/snapshot3+hdmi~4372^2~149 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52778b2e9fcb66c8f1c9d5b1ae435815c19e7ae3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mtd: increase max OOB size to 744 The oob size of Micron's MT29F64G08CBABAWP is 744 bytes. So increase the NAND_MAX_OOBSIZE to 744. Signed-off-by: Huang Shijie Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 50c5ea0..38535eb4 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -56,7 +56,7 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); * is supported now. If you add a chip with bigger oobsize/page * adjust this accordingly. */ -#define NAND_MAX_OOBSIZE 640 +#define NAND_MAX_OOBSIZE 744 #define NAND_MAX_PAGESIZE 8192 /*