<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb, branch v2012.10-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/usb?h=v2012.10-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb?h=v2012.10-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2012-09-20T22:05:00Z</updated>
<entry>
<title>usb: do explicit unaligned accesses</title>
<updated>2012-09-20T22:05:00Z</updated>
<author>
<name>Lucas Stach</name>
<email>dev@lynxeye.de</email>
</author>
<published>2012-09-06T06:00:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=93ad908c43ed5d8e3e546dd22fa08b668c5090d9'/>
<id>urn:sha1:93ad908c43ed5d8e3e546dd22fa08b668c5090d9</id>
<content type='text'>
usb_hub_descriptor has to be packed as it's used for
communication with the device. Member wHubCharacteristics
violates the natural alignment rules.

Use explicit unaligned access functions for this member.
Fixes ARMv7 traping while using USB.

v2: fix typo found by Thomas Langer

v3: rebased on top of u-boot-usb/master

Signed-off-by: Lucas Stach &lt;dev@lynxeye.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.denx.de/u-boot-usb</title>
<updated>2012-09-02T14:38:48Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2012-09-02T14:38:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7cdcaef0b286fa20926d750304442ad770a1fca8'/>
<id>urn:sha1:7cdcaef0b286fa20926d750304442ad770a1fca8</id>
<content type='text'>
* 'master' of git://git.denx.de/u-boot-usb:
  MUSB driver: Timeout is never detected as the while loop does not end
  usb: fix ulpi_set_vbus prototype
  pxa25x: Add UDC registers definitions
  USB: Fix strict aliasing in ohci-hcd
  usb: Optimize USB storage read/write
  ehci: Optimize qTD allocations
  usb_stor_BBB_transport: Do not delay when not required
  usb_storage: Remove EHCI constraints
  usb_storage: Restore non-EHCI support
  ehci-hcd: Boost transfer speed
  ehci: cosmetic: Define used constants
  ehci: Fail for multi-transaction interrupt transfers
  arm:trats: Enable g_dnl composite USB gadget with embedded DFU function on TRATS
  arm:trats: Support for USB UDC driver at TRATS board.
  dfu:cmd: Support for DFU u-boot command
  dfu: MMC specific routines for DFU operation
  dfu: DFU backend implementation
  dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget
  dfu:usb: Support for g_dnl composite download gadget.
  ehci: cosmetic: Define the number of qt_buffers

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
</entry>
<entry>
<title>MUSB driver: Timeout is never detected as the while loop does not end</title>
<updated>2012-09-01T14:21:53Z</updated>
<author>
<name>Matej Frančeškin</name>
<email>matej.franceskin@comtrade.com</email>
</author>
<published>2012-08-30T07:24:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8c8650181904cee37721fa303622cd37255d51d6'/>
<id>urn:sha1:8c8650181904cee37721fa303622cd37255d51d6</id>
<content type='text'>
Timeout variable is decremented once more when while condition is not met.
Following "if" does not detect correctly that timeout has occurred.
Because of this bug the "usb start" command on AM335X-EVM board did not detect correctly that USB device was not attached.

	timeout = musb_cfg.timeout;
	while (timeout--)
		if (readb(&amp;musbr-&gt;devctl) &amp; MUSB_DEVCTL_HM)
 			break;
	/* if musb core is not in host mode, then return */
	if (!timeout)
		return -1;

Signed-off-by: Matej Franceskin &lt;Matej.Franceskin@comtrade.com&gt;
CC: Marek Vasut &lt;matex@denx.de&gt;?
</content>
</entry>
<entry>
<title>USB: Fix strict aliasing in ohci-hcd</title>
<updated>2012-09-01T14:21:53Z</updated>
<author>
<name>Troy Kisky</name>
<email>troy.kisky@boundarydevices.com</email>
</author>
<published>2012-08-11T21:49:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f1273f11433ef4803d5eb88f1ec26986c99094c7'/>
<id>urn:sha1:f1273f11433ef4803d5eb88f1ec26986c99094c7</id>
<content type='text'>
commit 5f6aa03fda2a0a79940765865c1e4266be8a75f8
    USB: Fix complaints about strict aliasing in OHCI-HCD

tried to fix this, but gcc4.4 still complains. So, this
patch basically reverts the above and does a simpler fix.

also, the above commit incorrectly changed
	/* corresponds to data_buf[4-7] */
	datab [1] = 0;
to

	/* corresponds to databuf.u8[4-7] */
	databuf.u8[1] = 0;

This patch also fixes that.

Signed-off-by: Troy Kisky &lt;troy.kisky@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>ehci: Optimize qTD allocations</title>
<updated>2012-09-01T14:21:52Z</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit.thebaudeau@advansee.com</email>
</author>
<published>2012-08-10T16:27:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=db19134615dda7e4b0b511c65e92507ab0a530d6'/>
<id>urn:sha1:db19134615dda7e4b0b511c65e92507ab0a530d6</id>
<content type='text'>
Relax the qTD transfer alignment constraints in order to need less qTDs for
buffers that are aligned to 512 bytes but not to pages.

Signed-off-by: Benoît Thébaudeau &lt;benoit.thebaudeau@advansee.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
Cc: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
</entry>
<entry>
<title>ehci-hcd: Boost transfer speed</title>
<updated>2012-09-01T14:21:52Z</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit.thebaudeau@advansee.com</email>
</author>
<published>2012-08-10T16:22:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5cec214ecd7ddabc5480958c5355139c07ba8cee'/>
<id>urn:sha1:5cec214ecd7ddabc5480958c5355139c07ba8cee</id>
<content type='text'>
This patch takes advantage of the hardware EHCI qTD queuing mechanism to avoid
software and transfer splitting overhead so as to make transfers as fast as
possible.

The only drawback is a call to memalign. However, this is fast compared to the
transfer timings, and the heap size to allocate is small, e.g. 128 kiB in the
worst case for a transfer length of 65535 packets of 512 bytes.

Tested on i.MX25, i.MX35 and i.MX51. In my test conditions, the speed gain was
very significant (several times faster), which is really appreciable when
accessing large files.

Signed-off-by: Benoît Thébaudeau &lt;benoit.thebaudeau@advansee.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
Cc: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
</entry>
<entry>
<title>ehci: cosmetic: Define used constants</title>
<updated>2012-09-01T14:21:51Z</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit.thebaudeau@advansee.com</email>
</author>
<published>2012-08-10T16:22:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=14eb79b7a0861b299c6811e779ece7acf1cf320b'/>
<id>urn:sha1:14eb79b7a0861b299c6811e779ece7acf1cf320b</id>
<content type='text'>
Make some light cosmetic code cleanup by the way.

Signed-off-by: Benoît Thébaudeau &lt;benoit.thebaudeau@advansee.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
Cc: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
</entry>
<entry>
<title>ehci: Fail for multi-transaction interrupt transfers</title>
<updated>2012-09-01T14:21:51Z</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit.thebaudeau@advansee.com</email>
</author>
<published>2012-08-09T21:50:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=44ae0be7461f0ac72fa53b1a5bcd03c26e1d4fb1'/>
<id>urn:sha1:44ae0be7461f0ac72fa53b1a5bcd03c26e1d4fb1</id>
<content type='text'>
Interrupt transfers requiring several transactions are not supported by
submit_int_msg() because bInterval is ignored. This patch returns a failure code
and prints an error message in this case.

Signed-off-by: Benoît Thébaudeau &lt;benoit.thebaudeau@advansee.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
Cc: Stefan Herbrechtsmeier &lt;stefan@herbrechtsmeier.net&gt;
</content>
</entry>
<entry>
<title>dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget</title>
<updated>2012-09-01T14:21:50Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>l.majewski@samsung.com</email>
</author>
<published>2012-08-06T12:41:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b819ddbf56da304120b72643e97e00e12815e777'/>
<id>urn:sha1:b819ddbf56da304120b72643e97e00e12815e777</id>
<content type='text'>
Support for f_dfu USB function.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>dfu:usb: Support for g_dnl composite download gadget.</title>
<updated>2012-09-01T14:21:50Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>l.majewski@samsung.com</email>
</author>
<published>2012-08-06T12:41:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1d4a0b6c00cd1a5e4d230f81317aa3cc7a89c2f9'/>
<id>urn:sha1:1d4a0b6c00cd1a5e4d230f81317aa3cc7a89c2f9</id>
<content type='text'>
Composite USB download gadget support (g_dnl) for download functions.
This code works on top of composite gadget.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
</feed>
