summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorHan Xu <b45815@freescale.com>2015-10-09 13:28:16 -0500
committerHan Xu <b45815@freescale.com>2015-10-15 11:23:17 -0500
commit77e3c2ad2a08a5cfe9f055957c44590121658aeb (patch)
tree624356dcbf45abacd208e11fffbdebf9187b8b30 /include/linux/mtd
parent8b7464a118af5f2bf3bee2561901d44c80f518ba (diff)
downloadu-boot-imx-77e3c2ad2a08a5cfe9f055957c44590121658aeb.zip
u-boot-imx-77e3c2ad2a08a5cfe9f055957c44590121658aeb.tar.gz
u-boot-imx-77e3c2ad2a08a5cfe9f055957c44590121658aeb.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/mtd')
-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 bc927ec..528266b 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
/*