mtd: increase max OOB size to 744
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Aug 5 16:59:03 EDT 2013
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=52778b2e9fcb66c8f1c9d5b1ae435815c19e7ae3
Commit: 52778b2e9fcb66c8f1c9d5b1ae435815c19e7ae3
Parent: 498b6145b8878c3659dfe57921deb7802196ce43
Author: Huang Shijie <b32955 at freescale.com>
AuthorDate: Wed May 15 16:40:25 2013 +0800
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Aug 5 20:48:24 2013 +0100
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 at freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
include/linux/mtd/nand.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 50c5ea0..38535eb4 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
/*
More information about the linux-mtd-cvs
mailing list