summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2006-05-12 17:02:31 +0300
committerJarkko Lavinen <lavinen@pentafluge.infradead.org>2006-05-12 15:35:45 +0100
commit9c01f87db183403a4f603fe5180c57b82b54b4a1 (patch)
tree74da95f8e772be1130296a1bfb31302f89737769 /include/linux
parent628bee6593107c466e28462f58c5fd5cd4163c7c (diff)
downloadlinux-9c01f87db183403a4f603fe5180c57b82b54b4a1.tar.gz
linux-9c01f87db183403a4f603fe5180c57b82b54b4a1.tar.bz2
linux-9c01f87db183403a4f603fe5180c57b82b54b4a1.zip
OneNAND: handle byte access on BufferRAM
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/onenand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
index 7419b5fab133..22322c8a7729 100644
--- a/include/linux/mtd/onenand.h
+++ b/include/linux/mtd/onenand.h
@@ -130,6 +130,9 @@ struct onenand_chip {
#define ONENAND_SET_SYS_CFG1(v, this) \
(this->write_word(v, this->base + ONENAND_REG_SYS_CFG1))
+/* Check byte access in OneNAND */
+#define ONENAND_CHECK_BYTE_ACCESS(addr) (addr & 0x1)
+
/*
* Options bits
*/