u-boot/common
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
..
bedbug.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
cmd_ambapp.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bdinfo.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bedbug.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bmp.c video: move extern declarations from C to headers 2009-07-25 23:13:51 +02:00
cmd_boot.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bootldr.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bootm.c Merge branch 'master' into next 2009-12-07 22:47:17 +01:00
cmd_cache.c Remove superfluous preprocessor tests from some cmd_*.c files. 2009-12-02 23:46:45 +01:00
cmd_console.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_cplbinfo.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_dataflash_mmc_mux.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_date.c cmd_date: Fix spelling in error message. 2009-12-02 23:28:10 +01:00
cmd_dcr.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_df.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_diag.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_display.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_dtt.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_echo.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_eeprom.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_elf.c Less verbose output when loading vxworks 6.x images 2009-07-27 00:15:53 +02:00
cmd_exit.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_ext2.c Fix ext2load return code 2009-07-28 22:38:53 +02:00
cmd_fat.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdc.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdos.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdt.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
cmd_flash.c cmd_flash.c: fix fix compile error for boards with DataFlash 2009-07-19 19:36:14 +02:00
cmd_fpga.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_help.c cmd_help: General cleanup 2009-11-23 00:06:12 +01:00
cmd_i2c.c i2c: fix dangling comment in do_i2c_mw() 2009-12-07 22:58:46 +01:00
cmd_ide.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
cmd_immap.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_irq.c Move do_irqinfo() to common/cmd_irq.c 2009-12-02 23:23:20 +01:00
cmd_itest.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_jffs2.c Remove legacy NAND and disk on chip code. 2009-07-16 19:07:47 -05:00
cmd_license.c cmd_license: Remove unneeded #ifdef CONFIG_CMD_LICENSE 2009-12-02 23:22:26 +01:00
cmd_load.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_log.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_mac.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_mem.c mem_mtest: fix error reporting, allow escape with ^C 2009-10-18 22:57:06 +02:00
cmd_mfsl.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_mgdisk.c Remove superfluous preprocessor tests from some cmd_*.c files. 2009-12-02 23:46:45 +01:00
cmd_mii.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_misc.c Move do_irqinfo() to common/cmd_irq.c 2009-12-02 23:23:20 +01:00
cmd_mmc.c cmd_mmc: make curr_device static 2009-07-17 22:14:41 +02:00
cmd_mp.c 8xxx: Removed CONFIG_NUM_CPUS from 85xx/86xx 2009-08-28 17:12:38 -05:00
cmd_mtdparts.c cmd_mtdparts.c: fix compiler warning in debug code 2009-09-04 22:58:57 +02:00
cmd_nand.c cmd_nand: Move conditional compilation to Makefile 2009-11-13 16:56:14 -06:00
cmd_net.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_nvedit.c Add 'editenv' command 2009-10-27 20:58:25 +01:00
cmd_onenand.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
cmd_otp.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_pci.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_pcmcia.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_portio.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_reginfo.c ppc4xx: Rework cmd reginfo 2009-10-07 09:15:26 +02:00
cmd_reiser.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_sata.c sata: namespace curr_device variable 2009-07-17 22:15:27 +02:00
cmd_scsi.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_setexpr.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_sf.c sf: add GPL-2 license info 2009-10-24 22:44:18 +02:00
cmd_source.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_spi.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_spibootldr.c Blackfin: new spibootldr command 2009-06-14 20:01:04 -04:00
cmd_strings.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_terminal.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_test.c Add 'true' and 'false' commands 2009-11-23 00:06:13 +01:00
cmd_tsi148.c cmd_tsi148: General cleanup 2009-07-23 21:33:02 +02:00
cmd_ubi.c ubi: help message correction 2009-07-20 23:54:57 +02:00
cmd_ubifs.c Command improvements for ubifs 2009-07-09 13:04:25 +02:00
cmd_universe.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_usb.c USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
cmd_version.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_vfd.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_ximg.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_yaffs2.c General help message cleanup 2009-06-12 20:47:16 +02:00
command.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
console.c bugfix CONFIG_SYS_CONSOLE_INFO_QUIET 2009-08-30 21:00:21 +02:00
ddr_spd.c fsl-ddr: add the DDR3 SPD infrastructure 2009-03-30 13:33:50 -05:00
dlmalloc.c i386: Fix malloc initialization 2009-12-05 01:02:10 +01:00
dlmalloc.src * Code cleanup: 2003-06-27 21:31:46 +00:00
env_common.c Conditionally perform common relocation fixups 2009-10-03 10:17:57 +02:00
env_dataflash.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_eeprom.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_embedded.c Revert "env: only build env_embedded and envcrc when needed" 2009-10-27 20:46:31 +01:00
env_flash.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_mgdisk.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_nand.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_nowhere.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_nvram.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_onenand.c ENV Variable support for Flex-OneNAND 2009-11-13 16:56:18 -06:00
env_sf.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
exports.c exports: rewrite jump table init 2009-12-02 22:53:51 +01:00
fdt_support.c fdt_support: Add multi-serial support for stdout fixup 2009-10-26 21:35:50 -05:00
flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
hush.c Conditionally perform common relocation fixups 2009-10-03 10:17:57 +02:00
hwconfig.c Add simple hwconfig infrastructure 2009-07-16 22:23:53 +02:00
image.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
iomux.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
kallsyms.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
kgdb.c common/{hush, kgdb, serial}.c: build by COBJS-$(...) in Makefile 2009-02-11 23:05:57 +01:00
lcd.c lcd: remove '#if 0' 32-bit scroll, now memcpy does it 2009-10-18 23:10:43 +02:00
lynxkdi.c Fix implicit declaration of function 'eth_[gs]etenv_enetaddr' 2009-03-28 20:16:16 +01:00
main.c readline(): Add ability to modify a string buffer 2009-10-27 20:58:25 +01:00
Makefile Merge branch 'master' into next 2009-12-05 02:11:59 +01:00
memsize.c Sequential accesses to non-existent memory must be synchronized, 2006-11-06 17:06:36 +01:00
miiphyutil.c Cleanup: use constant 2009-10-18 22:41:33 +02:00
modem.c make MODEM SUPPORT generic instead of duplicate it 2009-06-12 20:45:47 +02:00
s_record.c Initial revision 2002-08-17 09:36:01 +00:00
serial.c s5pc1xx: support serial driver 2009-10-13 21:13:55 -05:00
stdio.c arm/microblaze/nios/nios2/sh: Remove relocation fixups 2009-10-03 10:17:57 +02:00
system_map.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
update.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
usb.c USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
usb_kbd.c USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
usb_storage.c USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
xyzModem.c common: fix 'dummy' is used uninitialized in this function warning 2009-07-19 21:37:02 +02:00