X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fusbdescriptors.h;h=9a5038745116e104d51061817f2809d45204a814;hb=a29491ade0adf3dbb9dc51be8b45530edde1f1df;hp=2dec3b93d65438cfc5c16ec4a1f04ee62a469ac7;hpb=988365a2048356f94ed0c294009233317c9fb4b2;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/usbdescriptors.h b/include/usbdescriptors.h index 2dec3b9..9a50387 100644 --- a/include/usbdescriptors.h +++ b/include/usbdescriptors.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2003 * Gerry Hamel, geh@ti.com, Texas Instruments @@ -12,21 +13,6 @@ * Stuart Lynne , * Tom Rushworth , * Bruce Balden - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * */ /* USB Descriptors - Create a complete description of all of the @@ -241,6 +227,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 */