summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-06-15 21:09:26 +0200
committerScott Wood <oss@buserror.net>2016-07-24 20:36:28 -0500
commitc1fe6b5b5e540e8c94a1be4e1119ee17ad5af5e7 (patch)
treec1a10b84f2540add0ee20e6344b07f4397937b0e /include/linux
parentcd7f5e1cdfae1d4cd73cfc16ae6bcddfeb752727 (diff)
downloadu-boot-imx-c1fe6b5b5e540e8c94a1be4e1119ee17ad5af5e7.zip
u-boot-imx-c1fe6b5b5e540e8c94a1be4e1119ee17ad5af5e7.tar.gz
u-boot-imx-c1fe6b5b5e540e8c94a1be4e1119ee17ad5af5e7.tar.bz2
mtd: nand: Increase the max OOB size
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>
Diffstat (limited to 'include/linux')
-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 29aae43..87d72db 100644
--- 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 1216
+#define NAND_MAX_OOBSIZE 1664
#define NAND_MAX_PAGESIZE 16384
/*