projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
498b614
)
mtd: increase max OOB size to 744
author
Huang Shijie
<b32955@freescale.com>
Wed, 15 May 2013 08:40:25 +0000
(16:40 +0800)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 5 Aug 2013 19:48:24 +0000
(20:48 +0100)
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>
include/linux/mtd/nand.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/nand.h
b/include/linux/mtd/nand.h
index 50c5ea02c81aa48fd1b644be51d2ebb6d42f7c2b..38535eb453db2a911040a463d9f83bcf2795482f 100644
(file)
--- 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
/*