MLK-16034-01: change the maximum oob size
authorHan Xu <han.xu@nxp.com>
Wed, 19 Jul 2017 16:40:59 +0000 (11:40 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:08 +0000 (02:37 +0800)
change the maximum oob size to 1872 for the MT29F128G08CBCCB raw NAND
chip on i.MX8QXP

Signed-off-by: Han Xu <han.xu@nxp.com>
include/linux/mtd/nand.h

index d55807b..7133ff2 100644 (file)
@@ -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       1664
+#define NAND_MAX_OOBSIZE       1872
 #define NAND_MAX_PAGESIZE      16384
 
 /*