Remy Bohmer c9e8436b10 USB layer of U-Boot causes USB protocol errors while using USB memory sticks
There are several differences between Linux, Windows and U-boot for initialising the
USB devices. While analysing the behaviour of U-boot it turned out that U-boot does
things really different, and some are wrong (compared to the USB standard).

This patch fixes some errors:
* The NEW_init procedure that was already in the code is good, while the old procedure
  is wrong. See code comments for more info.
* On a Control request the data returned by the device can be more than 8 bytes, while
  the host limits it to 8 bytes. This caused the host to generate a DataOverrun error.
  This results in a lot of USB sticks not being recognised, and the transmission ended
  frequently with a CTL:TIMEOUT Error.
* Added a flag CONFIG_LEGACY_USB_INIT_SEQ to allow users to use the old init procedure.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
2008-09-17 15:41:21 +02:00
..
2008-04-18 00:31:41 -07:00
2008-08-31 04:24:55 +02:00
2008-05-21 00:14:08 +02:00
2008-06-03 20:28:50 +02:00
2008-08-06 14:05:38 +02:00
2008-09-10 22:48:05 +02:00
2008-08-21 01:33:58 +02:00
2008-09-06 01:57:18 +02:00
2008-08-06 14:05:38 +02:00
2008-09-10 22:48:05 +02:00
2008-03-25 22:16:15 +01:00
2008-06-03 20:32:25 +02:00
2008-06-03 20:28:50 +02:00
2008-08-31 04:24:55 +02:00
2008-04-24 17:21:55 +02:00
2008-09-10 22:48:05 +02:00
2008-09-06 22:36:54 +02:00
2008-08-06 14:05:38 +02:00
2008-09-10 22:48:06 +02:00
2008-09-10 22:48:06 +02:00
2008-08-06 14:05:38 +02:00
2008-09-09 17:02:59 +02:00