usb: Update USB common definitions

Add support for USB 2.0 and NCM CDC protocol

Change-Id: Ib815b7d9d02d404b5dfbcc8aba1fcd7e6de71bd3
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2017-07-17 15:10:08 +03:00 committed by Anas Nashif
commit e2b90cdf68

View file

@ -62,6 +62,7 @@
/* Useful define */
#define USB_1_1 0x0110
#define USB_2_0 0x0200
#define BCDDEVICE_RELNUM 0x0100
@ -90,6 +91,7 @@
/* Sub-classes */
#define ACM_SUBCLASS 0x02
#define CDC_ECM_SUBCLASS 0x06
#define CDC_NCM_SUBCLASS 0x0d
#define BOOT_INTERFACE_SUBCLASS 0x01
#define SCSI_TRANSPARENT_SUBCLASS 0x06
#define DFU_INTERFACE_SUBCLASS 0x01