summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-06-04 16:40:36 +0200
committerScott Wood <scottwood@freescale.com>2009-07-16 17:52:03 -0500
commitfbdaafaee71e2c7f2c31b3582ab6d8679efee8d3 (patch)
tree57cfd331dc31b866d44e1eb2a04b502ef5a0b357 /include/linux/mtd
parentf2f376ab956c17d4a0c42a993133ca25cdc87278 (diff)
downloadu-boot-imx-fbdaafaee71e2c7f2c31b3582ab6d8679efee8d3.zip
u-boot-imx-fbdaafaee71e2c7f2c31b3582ab6d8679efee8d3.tar.gz
u-boot-imx-fbdaafaee71e2c7f2c31b3582ab6d8679efee8d3.tar.bz2
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 <sr@denx.de> Cc: Scott Wood <scottwood@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index a4ad571..3e0044b 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
/*