Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: increase max OOB size to 744

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>

authored by

Huang Shijie and committed by
David Woodhouse
52778b2e 498b6145

+1 -1
+1 -1
include/linux/mtd/nand.h
··· 56 56 * is supported now. If you add a chip with bigger oobsize/page 57 57 * adjust this accordingly. 58 58 */ 59 - #define NAND_MAX_OOBSIZE 640 59 + #define NAND_MAX_OOBSIZE 744 60 60 #define NAND_MAX_PAGESIZE 8192 61 61 62 62 /*