Skip to content
Snippets Groups Projects
Commit c1fe6b5b authored by Boris Brezillon's avatar Boris Brezillon Committed by Scott Wood
Browse files

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: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent cd7f5e1c
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ extern void nand_wait_ready(struct mtd_info *mtd); ...@@ -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 * is supported now. If you add a chip with bigger oobsize/page
* adjust this accordingly. * adjust this accordingly.
*/ */
#define NAND_MAX_OOBSIZE 1216 #define NAND_MAX_OOBSIZE 1664
#define NAND_MAX_PAGESIZE 16384 #define NAND_MAX_PAGESIZE 16384
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment