From: Stefan Roese Date: Thu, 4 Jun 2009 14:40:36 +0000 (+0200) Subject: nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=fbdaafaee71e2c7f2c31b3582ab6d8679efee8d3;p=u-boot.git nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices This is needed for the MPC512x NAND driver (fsl_nfc_nand.c) which already defines such a 4k plus 218 bytes ECC layout. Signed-off-by: Stefan Roese Cc: Scott Wood Signed-off-by: Scott Wood --- diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index a4ad5711d6..3e0044b94f 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -50,7 +50,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 128 +#define NAND_MAX_OOBSIZE 218 #define NAND_MAX_PAGESIZE 4096 /*