summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHan Xu <b45815@freescale.com>2015-10-09 13:28:16 -0500
committerYe Li <ye.li@nxp.com>2016-03-25 11:47:05 +0800
commita03afd52f70fd5829952c2f8b3679f251dfb49fb (patch)
tree6c43f213d4d0baabf6177fc23c36aa9398dd0bb9 /include/linux
parent6c0474fe0e4fc543c62b22c05c2702a881f56418 (diff)
downloadu-boot-imx-a03afd52f70fd5829952c2f8b3679f251dfb49fb.zip
u-boot-imx-a03afd52f70fd5829952c2f8b3679f251dfb49fb.tar.gz
u-boot-imx-a03afd52f70fd5829952c2f8b3679f251dfb49fb.tar.bz2
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/nand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 23072fd..f7ec18c 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -5,6 +5,8 @@
* Steven J. Hill <sjhill@realitydiluted.com>
* Thomas Gleixner <tglx@linutronix.de>
*
+ * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
+ *
* SPDX-License-Identifier: GPL-2.0+
*
* Info:
@@ -46,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 1280
#define NAND_MAX_PAGESIZE 16384
/*