[PATCH] cmd:(cosmetic)Mentioned in 'chpart' command HELP text that it is for MTD devices

opensource.kab at gmail.com opensource.kab at gmail.com
Mon May 24 10:05:39 CEST 2021


From: Adarsh Babu Kalepalli <opensource.kab at gmail.com>

Modified the help text of 'chpart' command ,mentioning that it is
for MTD devices.

Signed-off-by: Adarsh Babu Kalepalli <opensource.kab at gmail.com>
---

 cmd/mtdparts.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
index ed373a8c4d..3048700778 100644
--- a/cmd/mtdparts.c
+++ b/cmd/mtdparts.c
@@ -2077,9 +2077,9 @@ static int do_mtdparts(struct cmd_tbl *cmdtp, int flag, int argc,
 /***************************************************/
 U_BOOT_CMD(
 	chpart,	2,	0,	do_chpart,
-	"change active partition",
+	"change active partition of a MTD device",
 	"part-id\n"
-	"    - change active partition (e.g. part-id = nand0,1)"
+	"    - change active partition (e.g. part-id = nand0,1) of a MTD device"
 );
 
 #ifdef CONFIG_SYS_LONGHELP
-- 
2.17.1



More information about the U-Boot mailing list