]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/usbdescriptors.h
kw_spi: backup and reset the MPP of the chosen CS pin
[karo-tx-uboot.git] / include / usbdescriptors.h
index 392fcf53780162fc87f6fbb58fdcb8496009111f..de1069f0ea9a6dcd0622edbc955208c1c4d669c0 100644 (file)
@@ -199,7 +199,7 @@ struct usb_endpoint_descriptor {
        u8 bmAttributes;
        u16 wMaxPacketSize;
        u8 bInterval;
-} __attribute__ ((packed)) __attribute__ ((aligned(2)));
+} __attribute__ ((packed));
 
 struct usb_interface_descriptor {
        u8 bLength;
@@ -241,6 +241,21 @@ struct usb_device_descriptor {
        u8 bNumConfigurations;
 } __attribute__ ((packed));
 
+#if defined(CONFIG_USBD_HS)
+struct usb_qualifier_descriptor {
+       u8 bLength;
+       u8 bDescriptorType;
+
+       u16 bcdUSB;
+       u8 bDeviceClass;
+       u8 bDeviceSubClass;
+       u8 bDeviceProtocol;
+       u8 bMaxPacketSize0;
+       u8 bNumConfigurations;
+       u8 breserved;
+} __attribute__ ((packed));
+#endif
+
 struct usb_string_descriptor {
        u8 bLength;
        u8 bDescriptorType;     /* 0x03 */