mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-19 08:21:27 +01:00
cmd: mtd: add benchmark option to the help
The patch adds benchmark option to the help of mtd command. For the
'mtd write' case the help line exceed 80 characters. Ignore this issue
as modern terminals are capable to handle more characters.
The patch also formats other command to make sure all device names
starts on the same collumn.
Fixes: d246e70cf81d0 ("cmd: mtd: Enable speed benchmarking")
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
This commit is contained in:
parent
e700a84292
commit
eeae89cd35
@ -1216,9 +1216,9 @@ static int mtd_name_complete(int argc, char *const argv[], char last_char,
|
|||||||
U_BOOT_LONGHELP(mtd,
|
U_BOOT_LONGHELP(mtd,
|
||||||
"- generic operations on memory technology devices\n\n"
|
"- generic operations on memory technology devices\n\n"
|
||||||
"mtd list\n"
|
"mtd list\n"
|
||||||
"mtd read[.raw][.oob] <name> <addr> [<off> [<size>]]\n"
|
"mtd read[.raw][.oob][.benchmark] <name> <addr> [<off> [<size>]]\n"
|
||||||
"mtd dump[.raw][.oob] <name> [<off> [<size>]]\n"
|
"mtd dump[.raw][.oob] <name> [<off> [<size>]]\n"
|
||||||
"mtd write[.raw][.oob][.dontskipff] <name> <addr> [<off> [<size>]]\n"
|
"mtd write[.raw][.oob][.dontskipff][.benchmark] <name> <addr> [<off> [<size>]]\n"
|
||||||
"mtd erase[.dontskipbad] <name> [<off> [<size>]]\n"
|
"mtd erase[.dontskipbad] <name> [<off> [<size>]]\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Specific functions:\n"
|
"Specific functions:\n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user