diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2007-01-15 03:09:14 -0500 |
---|---|---|
committer | Kyungmin Park <kyungmin.park@samsung.com> | 2007-01-17 21:00:31 -0500 |
commit | 738d61f53781a9b677cb472cbd740aa74e7dcd6d (patch) | |
tree | 45b7e7afb765eb497407295bb611fa2327ebf4a1 /include/linux/mtd/onenand.h | |
parent | 9d03280129e84f8cdfd83f84803a4548e3bf697d (diff) |
[MTD] OneNAND: Reduce Double Density Package (DDP) operations
- DDP code clean-up
- Reduce block & bufferram operations in DDP
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/linux/mtd/onenand.h')
-rw-r--r-- | include/linux/mtd/onenand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h index f775a7af3890..a99b2944d26b 100644 --- a/include/linux/mtd/onenand.h +++ b/include/linux/mtd/onenand.h | |||
@@ -150,6 +150,9 @@ struct onenand_chip { | |||
150 | #define ONENAND_SET_SYS_CFG1(v, this) \ | 150 | #define ONENAND_SET_SYS_CFG1(v, this) \ |
151 | (this->write_word(v, this->base + ONENAND_REG_SYS_CFG1)) | 151 | (this->write_word(v, this->base + ONENAND_REG_SYS_CFG1)) |
152 | 152 | ||
153 | #define ONENAND_IS_DDP(this) \ | ||
154 | (this->device_id & ONENAND_DEVICE_IS_DDP) | ||
155 | |||
153 | /* Check byte access in OneNAND */ | 156 | /* Check byte access in OneNAND */ |
154 | #define ONENAND_CHECK_BYTE_ACCESS(addr) (addr & 0x1) | 157 | #define ONENAND_CHECK_BYTE_ACCESS(addr) (addr & 0x1) |
155 | 158 | ||