diff options
author | Nico Huber <nico.huber@secunet.com> | 2012-05-21 16:19:05 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-06-01 12:21:14 +0200 |
commit | 5f595cb6ebd8edddb1e253353753bf1c5433395e (patch) | |
tree | de83ca514f80dbd983a26bf7e7a0ba830ab19f28 /payloads/libpayload/include/usb | |
parent | cefec0ea8c436f36a2fd71b58364d4a65f52948a (diff) | |
download | coreboot-5f595cb6ebd8edddb1e253353753bf1c5433395e.tar.xz |
libpayload: Add clear_feature() function to USB framework
This function will be used by the USB hub driver.
Change-Id: I4d1d2e94f4442cbb636ae989e8ffd543181c4357
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/1079
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/include/usb')
-rw-r--r-- | payloads/libpayload/include/usb/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/usb/usb.h b/payloads/libpayload/include/usb/usb.h index e38aa78bd1..05ced4907a 100644 --- a/payloads/libpayload/include/usb/usb.h +++ b/payloads/libpayload/include/usb/usb.h @@ -215,6 +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_stall (endpoint_t *ep); void usb_nop_init (usbdev_t *dev); |