Message ID | 1320245996-22531-2-git-send-email-veli-pekka.peltola@bluegiga.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Remy Bohmer |
Headers | show |
Hi, 2011/11/2 Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>: > Signed-off-by: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com> > Cc: Remy Bohmer <linux@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(-) Applied to u-boot-usb. Kind regards, Remy
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" );
Signed-off-by: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com> Cc: Remy Bohmer <linux@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(-)