summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
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 07:01:56 -0700
commit81ec5364a58c0545b694dee02fe65b9ae48f37b6 (patch)
treebc45bdf4930c3e2677354a6d2e3a8d6ca028eb0c /include/linux/mtd
parent45b09076149f1360e15919ca7e004e8d3810a0f7 (diff)
downloadop-kernel-dev-81ec5364a58c0545b694dee02fe65b9ae48f37b6.zip
op-kernel-dev-81ec5364a58c0545b694dee02fe65b9ae48f37b6.tar.gz
[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/linux/mtd')
-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 db5b63d..7efb9be 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
OpenPOWER on IntegriCloud