From 4fc7b6c994aabce12bf263d49d1bedddfd847db9 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 4 Jun 2013 10:03:45 +0200 Subject: libpayload: Add enum for USB speeds These values are already used in this usb stack. Change-Id: If96f1dc2b67fbc13dfc4ae2d84e8f9945aa03163 Signed-off-by: Nico Huber Reviewed-on: http://review.coreboot.org/3448 Reviewed-by: Anton Kochkov Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/include/usb/usb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'payloads') 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; -- cgit v1.2.3