[U-Boot] [PATCH] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

Remy Bohmer linux at bohmer.net
Sun Jan 4 21:33:12 CET 2009


Hello Mike,

2009/1/2 Mike Frysinger <vapier at gentoo.org>:
> From: Bryan Wu <Bryan.Wu at analog.com>
>
> The SanDisk Corporation U3 Cruzer Micro 1/4GB Flash Drive 000016244373FFB4
> does not like to be reset, so check for it.
>
> Signed-off-by: Bryan Wu <bryan.wu at analog.com>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  common/usb_storage.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)

Applied to the u-boot-usb testing branch.

Thanks.

Remy

>
> diff --git a/common/usb_storage.c b/common/usb_storage.c
> index 94f659f..94124f8 100644
> --- a/common/usb_storage.c
> +++ b/common/usb_storage.c
> @@ -1166,6 +1166,13 @@ int usb_stor_get_info(struct usb_device *dev,struct us_data *ss,block_dev_desc_t
>            /* SanDisk Corporation Cruzer Micro 20044318410546613953 */
>            (dev->descriptor.idVendor == 0x0781 &&
>             dev->descriptor.idProduct == 0x5151)
> +           ||
> +           /*
> +            * SanDisk Corporation U3 Cruzer Micro 1/4GB
> +            * Flash Drive 000016244373FFB4
> +            */
> +           (dev->descriptor.idVendor == 0x0781 &&
> +            dev->descriptor.idProduct == 0x5406)
>            )
>                USB_STOR_PRINTF("usb_stor_get_info: skipping RESET..\n");
>        else
> --
> 1.6.0.6
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list