summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/onenand.h
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2007-01-04 09:51:26 +0200
committerArtem Bityutskiy <dedekind@infradead.org>2007-01-10 14:58:42 +0200
commita8de85d557004d6d4e4cf79ecd6b97339b986fe9 (patch)
tree02b3b1dfef5dd1f0e197c2584baff302ca6b6fd6 /include/linux/mtd/onenand.h
parent2fd32d4af83f4535d12d3f6dd23189352a9596fa (diff)
downloadlinux-a8de85d557004d6d4e4cf79ecd6b97339b986fe9.tar.gz
linux-a8de85d557004d6d4e4cf79ecd6b97339b986fe9.tar.bz2
linux-a8de85d557004d6d4e4cf79ecd6b97339b986fe9.zip
[MTD] OneNAND: Implement read-while-load
Read-while-load enables higher performance read operations. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/linux/mtd/onenand.h')
-rw-r--r--include/linux/mtd/onenand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
index fe3500d7d4bb..f775a7af3890 100644
--- a/include/linux/mtd/onenand.h
+++ b/include/linux/mtd/onenand.h
@@ -143,6 +143,7 @@ struct onenand_chip {
#define ONENAND_CURRENT_BUFFERRAM(this) (this->bufferram_index)
#define ONENAND_NEXT_BUFFERRAM(this) (this->bufferram_index ^ 1)
#define ONENAND_SET_NEXT_BUFFERRAM(this) (this->bufferram_index ^= 1)
+#define ONENAND_SET_PREV_BUFFERRAM(this) (this->bufferram_index ^= 1)
#define ONENAND_GET_SYS_CFG1(this) \
(this->read_word(this->base + ONENAND_REG_SYS_CFG1))