projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7f5e1
)
mtd: nand: Increase the max OOB size
author
Boris Brezillon
<boris.brezillon@free-electrons.com>
Wed, 15 Jun 2016 19:09:26 +0000
(21:09 +0200)
committer
Scott Wood
<oss@buserror.net>
Mon, 25 Jul 2016 01:36:28 +0000
(20:36 -0500)
Some NANDs are now exposing 1664 OOB bytes per page. Adjust the
NAND_MAX_OOBSIZE value accordingly.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
include/linux/mtd/nand.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/nand.h
b/include/linux/mtd/nand.h
index 29aae43cf2c323590dbdccc9367d680c6d3e3ead..87d72dbad6681387f19b9f2235779e89535d86bc 100644
(file)
--- a/
include/linux/mtd/nand.h
+++ b/
include/linux/mtd/nand.h
@@
-48,7
+48,7
@@
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 1
216
+#define NAND_MAX_OOBSIZE 1
664
#define NAND_MAX_PAGESIZE 16384
/*