summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/cmdlinepart.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@yahoo.com>2008-10-09 01:32:11 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-10-18 13:43:03 +0200
commita0ee24a03b1c06813c814b9f70946c8984752f01 (patch)
tree3799f99be3565655b9b6d11730ee4297a6913693 /drivers/mtd/cmdlinepart.c
parent[MTD] cfi_cmdset_0002.c: Add Macronix CFI V1.0 TopBottom detection (diff)
downloadlinux-a0ee24a03b1c06813c814b9f70946c8984752f01.tar.xz
linux-a0ee24a03b1c06813c814b9f70946c8984752f01.zip
[MTD] cmdlineparts documentation change - explain where mtd-id comes from
Signed-off-by: Philip Rakity <prakity@yahoo.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
-rw-r--r--drivers/mtd/cmdlinepart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c
index 71bc07f149b7..50a340388e74 100644
--- a/drivers/mtd/cmdlinepart.c
+++ b/drivers/mtd/cmdlinepart.c
@@ -7,6 +7,7 @@
*
* mtdparts=<mtddef>[;<mtddef]
* <mtddef> := <mtd-id>:<partdef>[,<partdef>]
+ * where <mtd-id> is the name from the "cat /proc/mtd" command
* <partdef> := <size>[@offset][<name>][ro][lk]
* <mtd-id> := unique name used in mapping driver/device (mtd->name)
* <size> := standard linux memsize OR "-" to denote all remaining space