diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2005-09-03 02:36:21 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 15:24:51 -0500 |
commit | d36d63d404b75ddf231da0dbd3640e6d1722b4ab (patch) | |
tree | fa04e066666c602de3090ff61feb576c13da5ff1 /include/linux/mtd/onenand.h | |
parent | 405c829f98d216925de00af2ee52f969f2c2891c (diff) |
[PATCH] OneNAND: Fix bug in write verify
- Remove unused block, page parameters
- Add constant instead of runtime value
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/mtd/onenand.h')
-rw-r--r-- | include/linux/mtd/onenand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h index 2c29a5ca2c91..58023082320a 100644 --- a/include/linux/mtd/onenand.h +++ b/include/linux/mtd/onenand.h | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/mtd/bbm.h> | 17 | #include <linux/mtd/bbm.h> |
18 | 18 | ||
19 | #define MAX_BUFFERRAM 2 | 19 | #define MAX_BUFFERRAM 2 |
20 | #define MAX_ONENAND_PAGESIZE (2048 + 64) | ||
20 | 21 | ||
21 | /* Scan and identify a OneNAND device */ | 22 | /* Scan and identify a OneNAND device */ |
22 | extern int onenand_scan(struct mtd_info *mtd, int max_chips); | 23 | extern int onenand_scan(struct mtd_info *mtd, int max_chips); |