diff options
author | Christopher Cordahi <christophercordahi@nanometrics.ca> | 2012-12-18 16:11:52 -0500 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-02-04 02:26:28 -0500 |
commit | bd6ce5ef913a7b4dfe5cd5028309346d32a8c404 (patch) | |
tree | 4ee05680e4b5825179ad9e1c2372f867330989ac /drivers/mtd | |
parent | ea8b8e27fecd44c4fb7b3c6f8f72ea7b92f87fe8 (diff) |
mtd: cmdlinepart: update /proc/mtd comment
/proc/mtd doesn't contain the mtd-id of the device, but the part name from the
command line. This corrects what I believe is an obsolete comment from commit
a0ee24a03b1c06813c814b9f70946c8984752f01.
Signed-off-by: Christopher Cordahi <christophercordahi@nanometrics.ca>
Cc: Philip Rakity <prakity@yahoo.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/cmdlinepart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c index 8d4a16661649..721d05c4ba8e 100644 --- a/drivers/mtd/cmdlinepart.c +++ b/drivers/mtd/cmdlinepart.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * | 22 | * |
23 | * mtdparts=<mtddef>[;<mtddef] | 23 | * mtdparts=<mtddef>[;<mtddef] |
24 | * <mtddef> := <mtd-id>:<partdef>[,<partdef>] | 24 | * <mtddef> := <mtd-id>:<partdef>[,<partdef>] |
25 | * where <mtd-id> is the name from the "cat /proc/mtd" command | ||
26 | * <partdef> := <size>[@<offset>][<name>][ro][lk] | 25 | * <partdef> := <size>[@<offset>][<name>][ro][lk] |
27 | * <mtd-id> := unique name used in mapping driver/device (mtd->name) | 26 | * <mtd-id> := unique name used in mapping driver/device (mtd->name) |
28 | * <size> := standard linux memsize OR "-" to denote all remaining space | 27 | * <size> := standard linux memsize OR "-" to denote all remaining space |
@@ -32,6 +31,7 @@ | |||
32 | * if omitted the part will immediately follow the previous part | 31 | * if omitted the part will immediately follow the previous part |
33 | * or 0 if the first part | 32 | * or 0 if the first part |
34 | * <name> := '(' NAME ')' | 33 | * <name> := '(' NAME ')' |
34 | * NAME will appear in /proc/mtd | ||
35 | * | 35 | * |
36 | * <size> and <offset> can be specified such that the parts are out of order | 36 | * <size> and <offset> can be specified such that the parts are out of order |
37 | * in physical memory and may even overlap. | 37 | * in physical memory and may even overlap. |