mtd: nand: remove the NAND_MAX_PAGESIZE/NAND_MAX_OOBSIZE
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Apr 5 02:59:01 EDT 2014
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=3f172cbdfbb799e35cc972fc9f7e43d0e971577b
Commit: 3f172cbdfbb799e35cc972fc9f7e43d0e971577b
Parent: f02ea4e6a47d50a38f5baadbe87f5087dd337db0
Author: Huang Shijie <shijie8 at gmail.com>
AuthorDate: Sat Dec 21 00:02:30 2013 +0800
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Mar 10 22:42:22 2014 -0700
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 at gmail.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
include/linux/mtd/nand.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 520ebca..a719686 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
More information about the linux-mtd-cvs
mailing list