diff options
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | 2015-04-28 18:16:03 +0530 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-08-25 22:53:58 -0500 |
commit | 2580a2a7e719ee6bf20d8d6bcbe0c01a74cd2d54 (patch) | |
tree | 90a30b9ffc1f7572072fe039ee5d2cf66c216062 | |
parent | d3963721d93fafa8da0f78de17602ef308ec15ba (diff) | |
download | u-boot-imx-2580a2a7e719ee6bf20d8d6bcbe0c01a74cd2d54.zip u-boot-imx-2580a2a7e719ee6bf20d8d6bcbe0c01a74cd2d54.tar.gz u-boot-imx-2580a2a7e719ee6bf20d8d6bcbe0c01a74cd2d54.tar.bz2 |
mtd: nand: Increase max sizes of OOB and Page size
Increase max sizes for OOB, Page size and eccpos to
suit for Micron MT29F32G08 part
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
-rw-r--r-- | include/linux/mtd/mtd.h | 2 | ||||
-rw-r--r-- | include/linux/mtd/nand.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index cf5cda1..bc4d9bf 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -101,7 +101,7 @@ struct mtd_oob_ops { #ifdef CONFIG_SYS_NAND_MAX_ECCPOS #define MTD_MAX_ECCPOS_ENTRIES_LARGE CONFIG_SYS_NAND_MAX_ECCPOS #else -#define MTD_MAX_ECCPOS_ENTRIES_LARGE 640 +#define MTD_MAX_ECCPOS_ENTRIES_LARGE 680 #endif /* diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 77b50dd..23072fd 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -46,8 +46,8 @@ 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 744 -#define NAND_MAX_PAGESIZE 8192 +#define NAND_MAX_OOBSIZE 1216 +#define NAND_MAX_PAGESIZE 16384 /* * Constants for hardware specific CLE/ALE/NCE function |