summaryrefslogtreecommitdiffstats
path: root/include/mtd
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2011-12-12 22:24:59 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 19:18:36 +0100
commit2b00668ff9d91d594a204ff2c3bf940d483e4b5f (patch)
tree3230763bd888fd7d6b3c4b27540ecbe8a46df97d /include/mtd
parentmtd: fsl_elbc_nand: set Nand flash page address to FBAR and FPAR correctly (diff)
downloadlinux-2b00668ff9d91d594a204ff2c3bf940d483e4b5f.tar.xz
linux-2b00668ff9d91d594a204ff2c3bf940d483e4b5f.zip
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')
-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)