summaryrefslogtreecommitdiff
path: root/include/mtd/mtd-abi.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2011-12-13 01:24:59 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 22:18:36 +0400
commit2b00668ff9d91d594a204ff2c3bf940d483e4b5f (patch)
tree3230763bd888fd7d6b3c4b27540ecbe8a46df97d /include/mtd/mtd-abi.h
parent9ae84fe8c18cabc348b9c7cd1e98419cd0cbf481 (diff)
downloadlinux-2b00668ff9d91d594a204ff2c3bf940d483e4b5f.tar.xz
mtd: document that MEMWRITE ioctl is NAND-specific
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/mtd/mtd-abi.h')
-rw-r--r--include/mtd/mtd-abi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index 1a7e1d20adf9..36eace03b2ac 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -198,7 +198,8 @@ struct otp_info {
#define MEMISLOCKED _IOR('M', 23, struct erase_info_user)
/*
* Most generic write interface; can write in-band and/or out-of-band in various
- * modes (see "struct mtd_write_req")
+ * modes (see "struct mtd_write_req"). This ioctl is not supported for flashes
+ * without OOB, e.g., NOR flash.
*/
#define MEMWRITE _IOWR('M', 24, struct mtd_write_req)