Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f172cbd authored by Huang Shijie's avatar Huang Shijie Committed by Brian Norris
Browse files

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: default avatarHuang Shijie <shijie8@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent f02ea4e6
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -51,14 +51,6 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
/* The maximum number of NAND chips in an array */
#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
 *