summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Xu <b45815@freescale.com>2015-10-09 13:28:16 -0500
committerMax Krummenacher <max.krummenacher@toradex.com>2016-02-17 10:54:04 +0100
commit2da445d55241bec6a5ab0d7920828225f4d3559b (patch)
tree9f619017be4b2e856be369887ea8e4744bcfa707
parent957fe122dc6b251c6f7b2acc2d01bf18c518c839 (diff)
MLK-11718-1: mtd: nand: change the maximum nange page size and oob size
enlarge the maximum nand page size and oob size to 16k byte and 1280byte. Signed-off-by: Han Xu <b45815@freescale.com>
-rw-r--r--include/linux/mtd/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index bc927ecc59..528266b498 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -64,8 +64,8 @@ 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 744
-#define NAND_MAX_PAGESIZE 8192
+#define NAND_MAX_OOBSIZE 1280
+#define NAND_MAX_PAGESIZE 16384
#endif
/*