<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers, branch v2012.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>Merge branch 'master' of git://git.denx.de/u-boot-usb</title>
<updated>2012-07-20T07:12:43+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2012-07-20T07:12:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3ec81d758c09d6887a77a1b1259d044a2905bc8e'/>
<id>3ec81d758c09d6887a77a1b1259d044a2905bc8e</id>
<content type='text'>
* 'master' of git://git.denx.de/u-boot-usb:
  usb_storage: fix ehci driver max transfer size
  smsc95xx: align buffers to cache line size
  ehci-hcd: change debug() to printf() in case of errors
  usb: check return value of submit_{control, bulk}_msg
  usb: pass cache-aligned buffer to usb_get_descriptor()
  ehci-hcd: fix external buffer cache handling
  ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment
  ehci-hcd: program asynclistaddr before every transfer
  common.h: Introduce DEFINE_CACHE_ALIGN_BUFFER
  ehci-omap: Do not call dcache_off from omap_ehci_hcd_init

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'master' of git://git.denx.de/u-boot-usb:
  usb_storage: fix ehci driver max transfer size
  smsc95xx: align buffers to cache line size
  ehci-hcd: change debug() to printf() in case of errors
  usb: check return value of submit_{control, bulk}_msg
  usb: pass cache-aligned buffer to usb_get_descriptor()
  ehci-hcd: fix external buffer cache handling
  ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment
  ehci-hcd: program asynclistaddr before every transfer
  common.h: Introduce DEFINE_CACHE_ALIGN_BUFFER
  ehci-omap: Do not call dcache_off from omap_ehci_hcd_init

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sf' of git://git.denx.de/u-boot-blackfin</title>
<updated>2012-07-20T06:58:06+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2012-07-20T06:58:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ad8439d4645200b5a4f230dd07b73ae956b88c1e'/>
<id>ad8439d4645200b5a4f230dd07b73ae956b88c1e</id>
<content type='text'>
* 'sf' of git://git.denx.de/u-boot-blackfin:
  sf: spansion: inline useless id defines
  sf: drop unused/duplicate command defines

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'sf' of git://git.denx.de/u-boot-blackfin:
  sf: spansion: inline useless id defines
  sf: drop unused/duplicate command defines

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: spansion: inline useless id defines</title>
<updated>2012-07-20T04:41:36+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2012-01-29T00:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d72b80a903f64721c845cebaa1077a78aacb724'/>
<id>7d72b80a903f64721c845cebaa1077a78aacb724</id>
<content type='text'>
No need for dedicated defines when these really only get used once.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No need for dedicated defines when these really only get used once.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: drop unused/duplicate command defines</title>
<updated>2012-07-20T04:41:36+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2012-01-29T00:26:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b4c87d658c786d1b136a0d69735182c6648b77b5'/>
<id>b4c87d658c786d1b136a0d69735182c6648b77b5</id>
<content type='text'>
In an effort to unify the spi flash drivers further, drop all the
unused and/or duplicate command defines.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In an effort to unify the spi flash drivers further, drop all the
unused and/or duplicate command defines.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Blackfin: bfin_mac: drop volatile markings on packet buffers</title>
<updated>2012-07-19T04:09:32+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2012-07-19T04:08:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6705e036ce2a815ff23eef0e4ed123550474516d'/>
<id>6705e036ce2a815ff23eef0e4ed123550474516d</id>
<content type='text'>
Now that common code doesn't declare these as volatile, we don't need to
either anymore.  This fixes the build warning:

bfin_mac.c: In function 'bfin_EMAC_recv':
bfin_mac.c:193:23: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that common code doesn't declare these as volatile, we don't need to
either anymore.  This fixes the build warning:

bfin_mac.c: In function 'bfin_EMAC_recv':
bfin_mac.c:193:23: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>smsc95xx: align buffers to cache line size</title>
<updated>2012-07-18T12:43:42+00:00</updated>
<author>
<name>Ilya Yanok</name>
<email>ilya.yanok@cogentembedded.com</email>
</author>
<published>2012-07-15T04:43:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e3b31c8d757011cc862d5464217276c3bf5191d5'/>
<id>e3b31c8d757011cc862d5464217276c3bf5191d5</id>
<content type='text'>
Align buffers passed to the USB code to cache line size so
they can be DMAed safely.

Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Align buffers passed to the USB code to cache line size so
they can be DMAed safely.

Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ehci-hcd: change debug() to printf() in case of errors</title>
<updated>2012-07-18T12:43:42+00:00</updated>
<author>
<name>Ilya Yanok</name>
<email>ilya.yanok@cogentembedded.com</email>
</author>
<published>2012-07-15T04:43:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2af16f85f105ccb5a49f6a9decd3ff04b84819e3'/>
<id>2af16f85f105ccb5a49f6a9decd3ff04b84819e3</id>
<content type='text'>
Printing message could be useful if something goes really wrong.

Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Printing message could be useful if something goes really wrong.

Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ehci-hcd: fix external buffer cache handling</title>
<updated>2012-07-18T12:43:42+00:00</updated>
<author>
<name>Ilya Yanok</name>
<email>ilya.yanok@cogentembedded.com</email>
</author>
<published>2012-07-15T04:43:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=189a6956ebbd7820afe5fa45a64ca495e6cefd9c'/>
<id>189a6956ebbd7820afe5fa45a64ca495e6cefd9c</id>
<content type='text'>
Buffer coming from upper layers should be cacheline aligned/padded
to perform safe cache operations. For now we don't do bounce
buffering so getting unaligned buffer is an upper layer error.
We can't check if the buffer is properly padded with current
interface so just assume it is (consider changing with in the
future). The following changes are done:

1. Remove useless length alignment check. We get actual transfer
length not the size of the underlying buffer so it's perfectly
valid for it to be unaligned.
2. Move flush_dcache_range() out of while loop or it will
flush too much.
3. Don't try to fix buffer address before calling invalidate:
if it's unaligned it's an error anyway so let cache subsystem
cry about that.
4. Fix end buffer address to be cacheline aligned assuming upper
layer reserved enough space. This is potentially dangerous
operation so upper layers should be careful about that.

Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Buffer coming from upper layers should be cacheline aligned/padded
to perform safe cache operations. For now we don't do bounce
buffering so getting unaligned buffer is an upper layer error.
We can't check if the buffer is properly padded with current
interface so just assume it is (consider changing with in the
future). The following changes are done:

1. Remove useless length alignment check. We get actual transfer
length not the size of the underlying buffer so it's perfectly
valid for it to be unaligned.
2. Move flush_dcache_range() out of while loop or it will
flush too much.
3. Don't try to fix buffer address before calling invalidate:
if it's unaligned it's an error anyway so let cache subsystem
cry about that.
4. Fix end buffer address to be cacheline aligned assuming upper
layer reserved enough space. This is potentially dangerous
operation so upper layers should be careful about that.

Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment</title>
<updated>2012-07-18T12:43:29+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2012-07-15T22:14:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71c5de4f4af5e0995f89dffa79f48f26bd095f50'/>
<id>71c5de4f4af5e0995f89dffa79f48f26bd095f50</id>
<content type='text'>
The USB spec says that 32 bytes is the minimum required alignment.
However on some platforms we have a larger minimum requirement for cache
coherency.  In those cases, use that value rather than the USB spec
minimum.  We add a cpp check to &lt;usb.h&gt; to define USB_DMA_MINALIGN and
make use of it in ehci-hcd.c and musb_core.h.  We cannot use MAX() here
as we are not allowed to have tests inside of align(...).

Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
[marek.vasut]: introduce some crazy macro voodoo
Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
[ilya.yanok]: moved external buffer fixes to separate patch,
we use {ALLOC,DEFINE}_ALIGN_BUFFER macros with alignment of USB_DMA_MINALIGN
for qh_list, qh and qtd structures to make sure they are proper aligned
for both controller and cache operations.
Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The USB spec says that 32 bytes is the minimum required alignment.
However on some platforms we have a larger minimum requirement for cache
coherency.  In those cases, use that value rather than the USB spec
minimum.  We add a cpp check to &lt;usb.h&gt; to define USB_DMA_MINALIGN and
make use of it in ehci-hcd.c and musb_core.h.  We cannot use MAX() here
as we are not allowed to have tests inside of align(...).

Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
[marek.vasut]: introduce some crazy macro voodoo
Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
[ilya.yanok]: moved external buffer fixes to separate patch,
we use {ALLOC,DEFINE}_ALIGN_BUFFER macros with alignment of USB_DMA_MINALIGN
for qh_list, qh and qtd structures to make sure they are proper aligned
for both controller and cache operations.
Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ehci-hcd: program asynclistaddr before every transfer</title>
<updated>2012-07-18T12:43:29+00:00</updated>
<author>
<name>Ilya Yanok</name>
<email>ilya.yanok@cogentembedded.com</email>
</author>
<published>2012-07-15T22:12:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c7701af59f011e39f52647620a71cc6f2f551d2d'/>
<id>c7701af59f011e39f52647620a71cc6f2f551d2d</id>
<content type='text'>
Move or_asynclistaddr programming to ehci_submit_async()
function to make sure queue head is properly programmed
before every transfer. This solves the problem with changing
qh address.

Also remove unneeded qh_list-&gt;qh_link reprogramming at the
end of transfer.

Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move or_asynclistaddr programming to ehci_submit_async()
function to make sure queue head is properly programmed
before every transfer. This solves the problem with changing
qh address.

Also remove unneeded qh_list-&gt;qh_link reprogramming at the
end of transfer.

Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
