summaryrefslogtreecommitdiff
path: root/common/cmd_usb.c
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2006-08-02 00:54:18 +0200
committerBartlomiej Sieka <tur@semihalf.com>2006-08-02 00:54:18 +0200
commit7455af41d19d5e0194e23f3b06f1bf64e3430d62 (patch)
treef1547f3d33bac6b3c2a28b42d98305f5e67c28bf /common/cmd_usb.c
parentf3e06df7e89a1b6ff6701d523b4beea6e3fa5159 (diff)
downloadu-boot-imx-7455af41d19d5e0194e23f3b06f1bf64e3430d62.zip
u-boot-imx-7455af41d19d5e0194e23f3b06f1bf64e3430d62.tar.gz
u-boot-imx-7455af41d19d5e0194e23f3b06f1bf64e3430d62.tar.bz2
Add rudimentary handling of alternate settings of USB interfaces - to fix
problems with some USB storage devices. Some code readability improvements.
Diffstat (limited to 'common/cmd_usb.c')
-rw-r--r--common/cmd_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index fdfd042..fcc6662 100644
--- a/common/cmd_usb.c
+++ b/common/cmd_usb.c
@@ -186,7 +186,7 @@ void usb_display_conf_desc(struct usb_config_descriptor *config,struct usb_devic
void usb_display_if_desc(struct usb_interface_descriptor *ifdesc,struct usb_device *dev)
{
printf(" Interface: %d\n",ifdesc->bInterfaceNumber);
- printf(" - Alternate Settings %d, Endpoints: %d\n",ifdesc->bAlternateSetting,ifdesc->bNumEndpoints);
+ printf(" - Alternate Setting %d, Endpoints: %d\n",ifdesc->bAlternateSetting,ifdesc->bNumEndpoints);
printf(" - Class ");
usb_display_class_sub(ifdesc->bInterfaceClass,ifdesc->bInterfaceSubClass,ifdesc->bInterfaceProtocol);
printf("\n");