From d297f33f4719502aa415dc7c7002c437a6af6c28 Mon Sep 17 00:00:00 2001 From: Han Xu Date: Wed, 19 Jul 2017 11:40:59 -0500 Subject: [PATCH] MLK-16034-01: change the maximum oob size change the maximum oob size to 1872 for the MT29F128G08CBCCB raw NAND chip on i.MX8QXP Signed-off-by: Han Xu (cherry picked from commit 58dee6ac965000f93693c36c93fb3d453293c43f) --- include/linux/mtd/rawnand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index 6c3e838d80..ad67e03b59 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -47,7 +47,7 @@ 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 /*