summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHan Xu <b45815@freescale.com>2015-10-09 13:28:16 -0500
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:50 +0100
commitd8276909e53b854ae0b02799d2803876f123b49f (patch)
tree9f619017be4b2e856be369887ea8e4744bcfa707 /include
parent857eaeb27fe973ed49fd74576cb5037aa40a1cc7 (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>
Diffstat (limited to 'include')
-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
/*