From: Boris Brezillon Date: Wed, 15 Jun 2016 19:09:26 +0000 (+0200) Subject: mtd: nand: Increase the max OOB size X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=c1fe6b5b5e540e8c94a1be4e1119ee17ad5af5e7;p=u-boot.git mtd: nand: Increase the max OOB size Some NANDs are now exposing 1664 OOB bytes per page. Adjust the NAND_MAX_OOBSIZE value accordingly. Signed-off-by: Boris Brezillon --- diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 29aae43cf2..87d72dbad6 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -48,7 +48,7 @@ extern void nand_wait_ready(struct mtd_info *mtd); * is supported now. If you add a chip with bigger oobsize/page * adjust this accordingly. */ -#define NAND_MAX_OOBSIZE 1216 +#define NAND_MAX_OOBSIZE 1664 #define NAND_MAX_PAGESIZE 16384 /*