summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKevin Zhang <k.zhang@freescale.com>2008-03-19 19:56:14 -0500
committerDaniel Schaeffer <daniel.schaeffer@timesys.com>2008-08-25 15:20:51 -0400
commit5ba764e621e6e664ff0237c77b9ced6e322fcd80 (patch)
tree8eaa27d755c2ef98339f7b73dca51c6b5bfa8edc /include/linux
parentd5fca970ced531ffc175394776dfbd04af71811e (diff)
ENGR00069345 Fix kernel random crash due to NAND driver for 4K page NAND
This change was missed after initial Linux bringup work. It increased the NAND default page size and spare size in order to support 4K page NAND. Signed-off-by: Kevin Zhang <k.zhang@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index c42bc7f533a5..a830fd69a240 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -45,8 +45,8 @@ 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 64
-#define NAND_MAX_PAGESIZE 2048
+#define NAND_MAX_OOBSIZE 218
+#define NAND_MAX_PAGESIZE 4096
/*
* Constants for hardware specific CLE/ALE/NCE function