Commit bd6ce5ef authored by Christopher Cordahi's avatar Christopher Cordahi Committed by Artem Bityutskiy

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
a0ee24a0.
Signed-off-by: default avatarChristopher Cordahi <christophercordahi@nanometrics.ca>
Cc: Philip Rakity <prakity@yahoo.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent ea8b8e27
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
* *
* mtdparts=<mtddef>[;<mtddef] * mtdparts=<mtddef>[;<mtddef]
* <mtddef> := <mtd-id>:<partdef>[,<partdef>] * <mtddef> := <mtd-id>:<partdef>[,<partdef>]
* where <mtd-id> is the name from the "cat /proc/mtd" command
* <partdef> := <size>[@<offset>][<name>][ro][lk] * <partdef> := <size>[@<offset>][<name>][ro][lk]
* <mtd-id> := unique name used in mapping driver/device (mtd->name) * <mtd-id> := unique name used in mapping driver/device (mtd->name)
* <size> := standard linux memsize OR "-" to denote all remaining space * <size> := standard linux memsize OR "-" to denote all remaining space
...@@ -32,6 +31,7 @@ ...@@ -32,6 +31,7 @@
* if omitted the part will immediately follow the previous part * if omitted the part will immediately follow the previous part
* or 0 if the first part * or 0 if the first part
* <name> := '(' NAME ')' * <name> := '(' NAME ')'
* NAME will appear in /proc/mtd
* *
* <size> and <offset> can be specified such that the parts are out of order * <size> and <offset> can be specified such that the parts are out of order
* in physical memory and may even overlap. * in physical memory and may even overlap.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment