aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/onenand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/onenand.h')
-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 {
130#define ONENAND_SET_SYS_CFG1(v, this) \ 130#define ONENAND_SET_SYS_CFG1(v, this) \
131 (this->write_word(v, this->base + ONENAND_REG_SYS_CFG1)) 131 (this->write_word(v, this->base + ONENAND_REG_SYS_CFG1))
132 132
133/* Check byte access in OneNAND */
134#define ONENAND_CHECK_BYTE_ACCESS(addr) (addr & 0x1)
135
133/* 136/*
134 * Options bits 137 * Options bits
135 */ 138 */