]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices
authorStefan Roese <sr@denx.de>
Thu, 4 Jun 2009 14:40:36 +0000 (16:40 +0200)
committerScott Wood <scottwood@freescale.com>
Thu, 16 Jul 2009 22:52:03 +0000 (17:52 -0500)
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 <sr@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
include/linux/mtd/nand.h

index a4ad5711d6c662597f384385986819546c8edbb3..3e0044b94f2316360b0477544bcb71d8da052189 100644 (file)
@@ -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
 
 /*