summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:17:08 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:17:08 -0600
commitea2b7e75d21a9c89fd599aa61033efc8f1cd1b0e (patch)
tree1ba7cd19863fbbcc7100529d53b9e6cd52ec383b /include
parent79ad4fac806a55852048b33e97abb01525416a8f (diff)
This patch adds mtd NOR and NAND capability to the linux 2.6.22 kernel
for MX platforms. http://www.bitshrine.org/gpp/linux-2.6.22-mx-drivers_mtd.patch
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/nand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index d2365c8dcacc..ad617e590cbd 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -48,6 +48,9 @@ extern void nand_wait_ready(struct mtd_info *mtd);
#define NAND_MAX_OOBSIZE 64
#define NAND_MAX_PAGESIZE 2048
+#define NAND_PAGESIZE_512B 512
+#define NAND_PAGESIZE_2KB 2048
+
/*
* Constants for hardware specific CLE/ALE/NCE function
*