summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2011-12-12 23:24:59 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 18:18:36 +0000
commit2b00668ff9d91d594a204ff2c3bf940d483e4b5f (patch)
tree3230763bd888fd7d6b3c4b27540ecbe8a46df97d
parent9ae84fe8c18cabc348b9c7cd1e98419cd0cbf481 (diff)
downloadop-kernel-dev-2b00668ff9d91d594a204ff2c3bf940d483e4b5f.zip
op-kernel-dev-2b00668ff9d91d594a204ff2c3bf940d483e4b5f.tar.gz
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>
-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 1a7e1d2..36eace0 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)
OpenPOWER on IntegriCloud