diff options
author | Nico Huber <nico.huber@secunet.com> | 2013-06-04 10:03:45 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-06-13 22:13:16 +0200 |
commit | 4fc7b6c994aabce12bf263d49d1bedddfd847db9 (patch) | |
tree | 485f49d312e212492f33b5cb5213ac39bc41ae5e /payloads/libpayload | |
parent | 735f55c29c05055059922b99513043887d7a8e89 (diff) | |
download | coreboot-4fc7b6c994aabce12bf263d49d1bedddfd847db9.tar.xz |
libpayload: Add enum for USB speeds
These values are already used in this usb stack.
Change-Id: If96f1dc2b67fbc13dfc4ae2d84e8f9945aa03163
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/3448
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload')
-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 d82ce2710f..fc3ce5a50f 100644 --- a/payloads/libpayload/include/usb/usb.h +++ b/payloads/libpayload/include/usb/usb.h @@ -93,6 +93,7 @@ typedef struct { endpoint_type type; } endpoint_t; +enum { FULL_SPEED = 0, LOW_SPEED = 1, HIGH_SPEED = 2, SUPER_SPEED = 3 }; struct usbdev { hci_t *controller; |