Skip to content

Commit bd6ce5e

Browse files
Christopher Cordahidedekind
authored andcommitted
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 a0ee24a. Signed-off-by: Christopher Cordahi <christophercordahi@nanometrics.ca> Cc: Philip Rakity <prakity@yahoo.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
1 parent ea8b8e2 commit bd6ce5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/cmdlinepart.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
*
2323
* mtdparts=<mtddef>[;<mtddef]
2424
* <mtddef> := <mtd-id>:<partdef>[,<partdef>]
25-
* where <mtd-id> is the name from the "cat /proc/mtd" command
2625
* <partdef> := <size>[@<offset>][<name>][ro][lk]
2726
* <mtd-id> := unique name used in mapping driver/device (mtd->name)
2827
* <size> := standard linux memsize OR "-" to denote all remaining space
@@ -32,6 +31,7 @@
3231
* if omitted the part will immediately follow the previous part
3332
* or 0 if the first part
3433
* <name> := '(' NAME ')'
34+
* NAME will appear in /proc/mtd
3535
*
3636
* <size> and <offset> can be specified such that the parts are out of order
3737
* in physical memory and may even overlap.

0 commit comments

Comments
 (0)