summaryrefslogtreecommitdiff
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-05-15 12:40:25 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-08-05 23:48:24 +0400
commit52778b2e9fcb66c8f1c9d5b1ae435815c19e7ae3 (patch)
treef77cc18f5dd9d5ceaf549cc6415f8dfaf26ed46e /include/linux/mtd/nand.h
parent498b6145b8878c3659dfe57921deb7802196ce43 (diff)
downloadlinux-52778b2e9fcb66c8f1c9d5b1ae435815c19e7ae3.tar.xz
mtd: increase max OOB size to 744
The oob size of Micron's MT29F64G08CBABAWP is 744 bytes. So increase the NAND_MAX_OOBSIZE to 744. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r--include/linux/mtd/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 50c5ea02c81a..38535eb453db 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -56,7 +56,7 @@ 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 640
+#define NAND_MAX_OOBSIZE 744
#define NAND_MAX_PAGESIZE 8192
/*