summaryrefslogtreecommitdiffstats
path: root/include/usb.h
Commit message (Collapse)AuthorAgeFilesLines
* fix USB initialisation procedureRemy Bohmer2008-10-141-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | The max packet size is encoded as 0,1,2,3 for 8,16,32,64 bytes. At some places directly 8,16,32,64 was used instead of the encoded value. Made a enum for the options to make this more clear and to help preventing similar errors in the future. After fixing this bug it became clear that another bug existed where the 'pipe' is and-ed with PIPE_* flags, where it should have been 'usb_pipetype(pipe)', or even better usb_pipeint(pipe). Also removed the triple 'get_device_descriptor' sequence, it has no use, and Windows nor Linux behaves that way. There is also a poll going on with a timeout when usb_control_msg() fails. However, the poll is useless, because the flag will never be set on a error, because there is no code that runs in a parallel that can set this flag. Changed this to something more logical. Tested on AT91SAM9261ek and compared the flow on the USB bus to what Linux is doing. There is no difference anymore in the early initialisation sequence. Signed-off-by: Remy Bohmer <linux@bohmer.net> Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* usb: add support for R8A66597 usb controllerYoshihiro Shimoda2008-08-071-1/+1
| | | | | | | | add support for Renesas R8A66597 usb controller. This patch supports USB Host mode. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* Fix compilation error in cmd_usb.cAnatolij Gustschin2008-03-271-1/+1
| | | | | | | | This patch fixes compilation error cmd_usb.c: In function 'do_usb': cmd_usb.c:552: error: void value not ignored as it ought to be Signed-off-by: Anatolij Gustschin <agust@denx.de>
* USB event poll supportZhang Wei2007-06-061-0/+1
| | | | | | | | This patch adds USB event poll support, which could be used in usbkbd and other usb devices driver when the asynchronous interrupt processing is supported. Signed-off-by: Zhang Wei <wei.zhang@freescale.com
* Support for the Philips ISP116x HCD (Host Controller Driver)Rodolfo Giometti2007-04-031-1/+4
| | | | Signed-off-by: Rodolfo Giometti <giometti@enneenne.com>
* Fix some endianness issues related to the generic ohci driverMarkus Klotzbuecher2006-11-271-6/+9
|
* Introduced the configuration option CONFIG_USB_OHCI_NEW in order to be ableMarkus Klotzbuecher2006-11-271-1/+1
| | | | to choose between the old and the generic OHCI drivers.
* Add rudimentary handling of alternate settings of USB interfaces - to fixBartlomiej Sieka2006-08-021-0/+1
| | | | problems with some USB storage devices. Some code readability improvements.
* Fix low-level OHCI transfers for ARM920t and MPC5xxxWolfgang Denk2005-07-211-1/+1
| | | | | | | | A new, Windows compatible init sequence was also backported from Linux 2.6, but disabled with #undef NEW_INIT_SEQ as it wouldn't change the behaviour of the memopry sticks we tested. Maybe it's not relevant for mass storage devices. For recerence, see file common/usb.c, function usb_new_device(), section #ifdef NEW_INIT_SEQ.
* * Modify KUP4X board configuration to use SL811 driver for USB memorywdenk2004-04-231-22/+22
| | | | | | | | | | | | | | | sticks (including FAT / VFAT filesystem support) * Add SL811 Host Controller Interface driver for USB * Add CFG_I2C_EEPROM_ADDR_OVERFLOW desription to README * Patch by Pantelis Antoniou, 19 Apr 2004: Allow to use shell style syntax (i. e. ${var} ) with standard parser. Minor patches for Intracom boards. * Patch by Christian Pell, 19 Apr 2004: cleanup support for CF/IDE on PCMCIA for PXA25X
* * CVS add missing fileswdenk2004-02-231-8/+11
| | | | | | | | | | | | | | | | | | | | | | | * Cleanup compiler warnings * Fix problem with side effects in macros in include/usb.h * Patch by David Benson, 13 Nov 2003: bug 841358 - fix TFTP download size limit * Fixing bug 850768: improper flush_cache() in load_serial() * Fixing bug 834943: MPC8540 - missing volatile declarations * Patch by Stephen Williams, 09 Feb 2004: Add support for Xilinx SystemACE chip: - New files common/cmd_ace.c and include/systemace.h - Hook systemace support into cmd_fat and the partition manager * Patch by Travis Sawyer, 09 Feb 2004: Add bi_opbfreq & bi_iic_fast to 440GX bd_info as needed for Linux
* * Add support for USB Mass Storage Devices (BBB)wdenk2003-09-101-1/+7
| | | | | | (tested with USB memory sticks only) * Avoid flicker on TRAB's VFD
* * Code cleanup:wdenk2003-06-271-2/+1
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* Initial revisionwdenk2002-03-081-0/+352
OpenPOWER on IntegriCloud