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>
This commit is contained in:
Nico Huber 2013-06-04 10:03:45 +02:00 committed by Stefan Reinauer
parent 735f55c29c
commit 4fc7b6c994
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ typedef struct {
endpoint_type type; endpoint_type type;
} endpoint_t; } endpoint_t;
enum { FULL_SPEED = 0, LOW_SPEED = 1, HIGH_SPEED = 2, SUPER_SPEED = 3 };
struct usbdev { struct usbdev {
hci_t *controller; hci_t *controller;