Skip to content

Commit 3f172cb

Browse files
zyziicomputersforpeace
authored andcommitted
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>
1 parent f02ea4e commit 3f172cb

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎include/linux/mtd/nand.h‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
5151
/* The maximum number of NAND chips in an array */
5252
#define NAND_MAX_CHIPS 8
5353

54-
/*
55-
* This constant declares the max. oobsize / page, which
56-
* is supported now. If you add a chip with bigger oobsize/page
57-
* adjust this accordingly.
58-
*/
59-
#define NAND_MAX_OOBSIZE 744
60-
#define NAND_MAX_PAGESIZE 8192
61-
6254
/*
6355
* Constants for hardware specific CLE/ALE/NCE function
6456
*

0 commit comments

Comments
 (0)