]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: mtd: expand <name> argument definition in command help
authorMarek Behún <marek.behun@nic.cz>
Wed, 26 May 2021 12:08:26 +0000 (14:08 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Jun 2021 06:25:13 +0000 (11:55 +0530)
The <name> argument can now also be MTD's DM device name or OF path.
Mention this is command help.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
cmd/mtd.c

index 2aabfd4d2987cc36008023466256eec08763fde1..c22478c1527830eb4c2c4bad010d864bf5775055 100644 (file)
--- a/cmd/mtd.c
+++ b/cmd/mtd.c
@@ -542,7 +542,7 @@ static char mtd_help_text[] =
        "mtd bad                               <name>\n"
        "\n"
        "With:\n"
-       "\t<name>: NAND partition/chip name\n"
+       "\t<name>: NAND partition/chip name (or corresponding DM device name or OF path)\n"
        "\t<addr>: user address from/to which data will be retrieved/stored\n"
        "\t<off>: offset in <name> in bytes (default: start of the part)\n"
        "\t\t* must be block-aligned for erase\n"