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>
This commit is contained in:
Boris Brezillon 2016-06-15 21:09:26 +02:00 committed by Scott Wood
parent cd7f5e1cdf
commit c1fe6b5b5e

View File

@ -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
/*