diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2005-09-03 07:36:21 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 21:24:51 +0100 |
commit | d36d63d404b75ddf231da0dbd3640e6d1722b4ab (patch) | |
tree | fa04e066666c602de3090ff61feb576c13da5ff1 /include/linux/mtd | |
parent | 405c829f98d216925de00af2ee52f969f2c2891c (diff) | |
download | linux-d36d63d404b75ddf231da0dbd3640e6d1722b4ab.tar.gz linux-d36d63d404b75ddf231da0dbd3640e6d1722b4ab.tar.bz2 linux-d36d63d404b75ddf231da0dbd3640e6d1722b4ab.zip |
[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')
-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 @@ #include <linux/mtd/bbm.h> #define MAX_BUFFERRAM 2 +#define MAX_ONENAND_PAGESIZE (2048 + 64) /* Scan and identify a OneNAND device */ extern int onenand_scan(struct mtd_info *mtd, int max_chips); |