summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorHuang Shijie2013-12-20 17:02:30 +0100
committerBrian Norris2014-03-11 06:42:22 +0100
commit3f172cbdfbb799e35cc972fc9f7e43d0e971577b (patch)
tree7e74e140c2aa32f92d58757ad1040b7f3cd363eb /include/linux/mtd
parentmtd: nand: kill the the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE for nand_buffers{} (diff)
downloadkernel-qcow2-linux-3f172cbdfbb799e35cc972fc9f7e43d0e971577b.tar.gz
kernel-qcow2-linux-3f172cbdfbb799e35cc972fc9f7e43d0e971577b.tar.xz
kernel-qcow2-linux-3f172cbdfbb799e35cc972fc9f7e43d0e971577b.zip
mtd: nand: remove the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE
There is no reference to these two macros now. Just remove them. Signed-off-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/nand.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 520ebca11f5d..a719686c9cce 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -52,14 +52,6 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
#define NAND_MAX_CHIPS 8
/*
- * This constant declares the max. oobsize / page, which
- * is supported now. If you add a chip with bigger oobsize/page
- * adjust this accordingly.
- */
-#define NAND_MAX_OOBSIZE 744
-#define NAND_MAX_PAGESIZE 8192
-
-/*
* Constants for hardware specific CLE/ALE/NCE function
*
* These are bits which can be or'ed to set/clear multiple