libpayload: Detach unresponsive usb mass storage devices
This enables logical detachment of unresponsive usb devices (i.e. devices not responding to control transfers) in the usb mass storage driver. Without the detection of unresponsive devices we wait way too long for the device to become ready. Change-Id: I8b8cf327f49dde25afaca4d3066f16ea86b99d3d Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: http://review.coreboot.org/1121 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
@ -215,7 +215,7 @@ void init_device_entry (hci_t *controller, int num);
|
||||
|
||||
void set_feature (usbdev_t *dev, int endp, int feature, int rtype);
|
||||
void get_status (usbdev_t *dev, int endp, int rtype, int len, void *data);
|
||||
void clear_feature (usbdev_t *dev, int endp, int feature, int rtype);
|
||||
int clear_feature (usbdev_t *dev, int endp, int feature, int rtype);
|
||||
int clear_stall (endpoint_t *ep);
|
||||
|
||||
void usb_nop_init (usbdev_t *dev);
|
||||
|
Reference in New Issue
Block a user