summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-12-12 17:27:03 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-04-06 16:01:56 +0200
commit81ec5364a58c0545b694dee02fe65b9ae48f37b6 (patch)
treebc45bdf4930c3e2677354a6d2e3a8d6ca028eb0c /include
parent[MTD] sysfs support should not depend on CONFIG_PROC_FS (diff)
downloadlinux-81ec5364a58c0545b694dee02fe65b9ae48f37b6.tar.xz
linux-81ec5364a58c0545b694dee02fe65b9ae48f37b6.zip
[MTD] [NAND] Add support for 4KiB pages.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include')
-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 db5b63da2a7e..7efb9be34662 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -43,8 +43,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 128
+#define NAND_MAX_PAGESIZE 4096
/*
* Constants for hardware specific CLE/ALE/NCE function