u-boot/cpu
Tom Rix 8f8bd565f3 USB Consolidate descriptor definitions
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>
2009-12-20 12:47:37 +01:00
..
74xx_7xx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
arm720t Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm920t Merge branch 'master' into next 2009-12-07 22:47:17 +01:00
arm925t Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm926ejs Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm946es arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
arm1136 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm1176 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm_cortexa8 Merge branch 'master' into next 2009-12-07 22:47:17 +01:00
arm_intcm arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
at32ap Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
blackfin Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
i386 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
ixp Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
leon2 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
leon3 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
lh7a40x Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
mcf52x2 ColdFire: Add M5208EVB and MCF520x CPU support 2009-07-14 09:27:17 -05:00
mcf523x ColdFire: PLATFORM_CPPFLAGS updates for new compiler 2009-03-17 15:58:37 -06:00
mcf532x ColdFire: Fix compile warning messages 2009-08-26 03:44:31 -05:00
mcf547x_8x Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
mcf5227x ColdFire: Fix compile warning messages 2009-08-26 03:44:31 -05:00
mcf5445x Minor coding style cleanup. 2009-08-10 10:38:34 +02:00
microblaze microblaze: Use cache functions (especially cache status) 2009-01-23 10:40:00 +01:00
mips MIPS: Implement ethernet halt for au1x00 2009-05-16 09:20:03 +09:00
mpc5xx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc5xxx 5xxx, fdt: move fdt_fixup_memory() to cpu.c file 2009-12-08 22:13:02 +01:00
mpc8xx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc8xxx fsl-ddr: Fix the chip-select interleaving issue 2009-11-12 08:09:49 -06:00
mpc83xx mpc83xx: boot time regression, move LCRR setup back to cpu_init_f 2009-12-09 11:40:52 -06:00
mpc85xx common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
mpc86xx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc512x 5xxx, fdt: move fdt_fixup_memory() to cpu.c file 2009-12-08 22:13:02 +01:00
mpc824x relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc8220 relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc8260 mpc8260: move FDT memory node fixup into common CPU code. 2009-11-22 23:16:28 +01:00
nios General help message cleanup 2009-06-12 20:47:16 +02:00
nios2 General help message cleanup 2009-06-12 20:47:16 +02:00
ppc4xx USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
pxa Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
s3c44b0 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
sa1100 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
sh2 sh: unify linker script 2009-07-08 11:43:15 +09:00
sh3 sh: unify linker script 2009-07-08 11:43:15 +09:00
sh4 sh: unify linker script 2009-07-08 11:43:15 +09:00