[U-Boot] [PATCH 2/2] usb: add help for missing start subcommand

Veli-Pekka Peltola veli-pekka.peltola at bluegiga.com
Wed Nov 2 15:59:56 CET 2011


Signed-off-by: Veli-Pekka Peltola <veli-pekka.peltola at bluegiga.com>
Cc: Remy Bohmer <linux at bohmer.net>
---
When I first time used USB framework it was not so obvious to start with
"usb reset" to get everything going on. So lets add help text for start.

 common/cmd_usb.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index aecde13..d4ec2a2 100644
--- a/common/cmd_usb.c
+++ b/common/cmd_usb.c
@@ -700,7 +700,8 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 U_BOOT_CMD(
 	usb,	5,	1,	do_usb,
 	"USB sub-system",
-	"reset - reset (rescan) USB controller\n"
+	"start - start (scan) USB controller\n"
+	"usb reset - reset (rescan) USB controller\n"
 	"usb stop [f] - stop USB [f]=force stop\n"
 	"usb tree - show USB device tree\n"
 	"usb info [dev] - show available USB devices\n"
@@ -725,7 +726,8 @@ U_BOOT_CMD(
 U_BOOT_CMD(
 	usb,	5,	1,	do_usb,
 	"USB sub-system",
-	"reset - reset (rescan) USB controller\n"
+	"start - start (scan) USB controller\n"
+	"usb reset - reset (rescan) USB controller\n"
 	"usb tree - show USB device tree\n"
 	"usb info [dev] - show available USB devices"
 );
-- 
1.7.4.1



More information about the U-Boot mailing list