mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 06:42:56 +00:00
8f8bd565f3
The header files usb.h and usbdescriptors.h have the same nameed structure definitions for usb_config_descriptor usb_interface_descriptor usb_endpoint_descriptor usb_device_descriptor usb_string_descriptor These are out right duplicates in usb.h usb_device_descriptor usb_string_descriptor This one has extra unused elements usb_endpoint_descriptor unsigned char bRefresh unsigned char bSynchAddress; These in usb.h have extra elements at the end of the usb 2.0 specified descriptor and are used. usb_config_descriptor usb_interface_descriptor The change is to consolidate the definition of the descriptors to usbdescriptors.h. The dublicates in usb.h are removed. The extra element structure will have their name shorted by removing the '_descriptor' suffix. So usb_config_descriptor -> usb_config usb_interface_descriptor -> usb_interface For these, the common descriptor elements are accessed now by an element 'desc'. As an example - if (iface->bInterfaceClass != USB_CLASS_HUB) + if (iface->desc.bInterfaceClass != USB_CLASS_HUB) This has been compile tested on MAKEALL arm, ppc and mips. Signed-off-by: Tom Rix <Tom.Rix@windriver.com> |
||
---|---|---|
.. | ||
4xx_ibm_ddr2_autocalib.c | ||
4xx_pci.c | ||
4xx_pcie.c | ||
4xx_uart.c | ||
40x_spd_sdram.c | ||
44x_spd_ddr.c | ||
44x_spd_ddr2.c | ||
bedbug_405.c | ||
cache.S | ||
cmd_chip_config.c | ||
commproc.c | ||
config.mk | ||
cpu.c | ||
cpu_init.c | ||
dcr.S | ||
denali_data_eye.c | ||
denali_spd_ddr2.c | ||
ecc.c | ||
ecc.h | ||
fdt.c | ||
gpio.c | ||
i2c.c | ||
interrupts.c | ||
iop480_uart.c | ||
kgdb.S | ||
Makefile | ||
miiphy.c | ||
reginfo.c | ||
resetvec.S | ||
sdram.c | ||
sdram.h | ||
speed.c | ||
start.S | ||
tlb.c | ||
traps.c | ||
u-boot.lds | ||
uic.c | ||
usb.c | ||
usb_ohci.c | ||
usb_ohci.h | ||
usbdev.c | ||
usbdev.h | ||
xilinx_irq.c |