<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net/designware.c, branch v2014.10-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/net/designware.c?h=v2014.10-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/net/designware.c?h=v2014.10-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-05-25T15:23:58Z</updated>
<entry>
<title>net/designware: Make DMA burst length configurable and reduce by default</title>
<updated>2014-05-25T15:23:58Z</updated>
<author>
<name>Ian Campbell</name>
<email>ijc@hellion.org.uk</email>
</author>
<published>2014-05-08T21:26:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=49692c5f517d8e44ed9db0de778728fe7d2a300c'/>
<id>urn:sha1:49692c5f517d8e44ed9db0de778728fe7d2a300c</id>
<content type='text'>
The correct value for this setting can vary across SoCs and boards, so make it
configurable.

Also reduce the default value to 8, which is the same default as used in the
Linux driver.

Signed-off-by: Ian Campbell &lt;ijc@hellion.org.uk&gt;
Cc: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
</content>
</entry>
<entry>
<title>net/designware: ensure cache invalidations are aligned to ARCH_DMA_MINALIGN</title>
<updated>2014-05-25T15:23:15Z</updated>
<author>
<name>Ian Campbell</name>
<email>ijc@hellion.org.uk</email>
</author>
<published>2014-05-08T21:26:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=964ea7c1cea6228aa414f4aee5acf25bcd87ca21'/>
<id>urn:sha1:964ea7c1cea6228aa414f4aee5acf25bcd87ca21</id>
<content type='text'>
This is required at least on ARM.

When sending instead of simply invalidating the entire descriptor, flush
as little as possible while still respecting ARCH_DMA_MINALIGN, as
requested by Alexey.

Signed-off-by: Ian Campbell &lt;ijc@hellion.org.uk&gt;
Cc: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
</content>
</entry>
<entry>
<title>net/designware: ensure device private data is DMA aligned.</title>
<updated>2014-05-25T15:23:12Z</updated>
<author>
<name>Ian Campbell</name>
<email>ijc@hellion.org.uk</email>
</author>
<published>2014-05-08T21:26:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1c848a258600490f6964597b92b69a107af141d6'/>
<id>urn:sha1:1c848a258600490f6964597b92b69a107af141d6</id>
<content type='text'>
struct dw_eth_dev contains fields which are accessed via DMA, so make sure it
is aligned to a dma boundary. Without this I see:
    ERROR: v7_dcache_inval_range - start address is not aligned - 0x7fb677e0

Signed-off-by: Ian Campbell &lt;ijc@hellion.org.uk&gt;
Reviewed-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>net/designware: call phy_connect_dev() to properly setup phylib device</title>
<updated>2014-05-12T20:31:51Z</updated>
<author>
<name>Ian Campbell</name>
<email>ijc@hellion.org.uk</email>
</author>
<published>2014-04-28T19:14:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=15e82e5309ed706fa2878aed3b225aa48ae960c7'/>
<id>urn:sha1:15e82e5309ed706fa2878aed3b225aa48ae960c7</id>
<content type='text'>
This sets up the linkage from the phydev back to the ethernet device. This
symptom of not doing this which I noticed was:
    &lt;NULL&gt; Waiting for PHY auto negotiation to complete....
rather than:
    dwmac.1c50000 Waiting for PHY auto negotiation to complete....

Signed-off-by: Ian Campbell &lt;ijc@hellion.org.uk&gt;
Cc: Alexey Brodkin &lt;Alexey.Brodkin@synopsys.com&gt;
</content>
</entry>
<entry>
<title>net/designware: make driver compatible with data cache</title>
<updated>2014-02-07T14:17:05Z</updated>
<author>
<name>Alexey Brodkin</name>
<email>Alexey.Brodkin@synopsys.com</email>
</author>
<published>2014-01-22T16:49:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=50b0df814b0f75c08a3d45a017016a75af3edb5d'/>
<id>urn:sha1:50b0df814b0f75c08a3d45a017016a75af3edb5d</id>
<content type='text'>
Up until now this driver only worked with data cache disabled.
To make it work with enabled data cache following changes were required:

 * Flush Tx/Rx buffer descriptors their modification
 * Invalidate Tx/Rx buffer descriptors before reading its values
 * Flush cache for data passed from CPU to GMAC
 * Invalidate cache for data passed from GMAC to CPU

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Mischa Jonker &lt;mjonker@synopsys.com&gt;
Cc: Shiraz Hashim &lt;shiraz.hashim@st.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
Cc: Amit Virdi &lt;amit.virdi@st.com&gt;
Cc: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
</content>
</entry>
<entry>
<title>net/designware - switch driver to phylib usage</title>
<updated>2014-02-07T14:16:46Z</updated>
<author>
<name>Alexey Brodkin</name>
<email>Alexey.Brodkin@synopsys.com</email>
</author>
<published>2014-01-22T16:54:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=92a190aaab3536d695c51e0739f925910eb49889'/>
<id>urn:sha1:92a190aaab3536d695c51e0739f925910eb49889</id>
<content type='text'>
With this change driver will benefit from existing phylib and thus
custom phy functionality implemented in the driver will go away:
 * Instantiation of the driver is now much shorter - 2 parameters
instead of 4.
 * Simplified phy management/functoinality in driver is replaced with
rich functionality of phylib.
 * Support of custom phy initialization is now done with existing
"board_phy_config".

Note that after this change some previously used config options
(driver-specific PHY configuration) will be obsolete and they are simply
substituted with similar options of phylib.

For example:
 * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled
by default.
 * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy
explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise
automatically the first discovered on MDIO bus phy will be used

I believe there's no need now in "doc/README.designware_eth" because
user only needs to instantiate the driver with "designware_initialize"
whose prototype exists in "include/netdev.h".

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Mischa Jonker &lt;mjonker@synopsys.com&gt;
Cc: Shiraz Hashim &lt;shiraz.hashim@st.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
Cc: Amit Virdi &lt;amit.virdi@st.com&gt;
Cc: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
</content>
</entry>
<entry>
<title>net/designware: add explicit reset of {tx|rx}_currdescnum</title>
<updated>2014-02-07T14:16:26Z</updated>
<author>
<name>Alexey Brodkin</name>
<email>Alexey.Brodkin@synopsys.com</email>
</author>
<published>2014-01-13T09:28:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=74cb708d5853854d28547b917d4b8a5588ee7324'/>
<id>urn:sha1:74cb708d5853854d28547b917d4b8a5588ee7324</id>
<content type='text'>
Driver "init" function might be called multiple times.
On every "init" Tx/Rx buffer descriptors are initialized: "descs_init"
-&gt; "{tx|rx}_descs_init".

In its turn those init functions set MAC's "{tx|rx}desclistaddr" to
point on the first buffer descriptor in the list.

So CPU to start operation from the first buffer descriptor as well after
every "init" we have to reset "{tx|rx}_currdescnum".

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Mischa Jonker &lt;mjonker@synopsys.com&gt;
Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
</content>
</entry>
<entry>
<title>net: designware: Respect "bus mode" register contents on SW reset</title>
<updated>2013-11-22T22:50:54Z</updated>
<author>
<name>Alexey Brodkin</name>
<email>Alexey.Brodkin@synopsys.com</email>
</author>
<published>2013-09-25T13:33:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=227ad7b2b6fab024fff6f60613b0e90c9e3a6724'/>
<id>urn:sha1:227ad7b2b6fab024fff6f60613b0e90c9e3a6724</id>
<content type='text'>
"bus mode" register contains lots of fields and some of them don't
expect to be written with 0 (zero). So since we're only interested in
resetting MAC (which is done with setting the least significant bit of
this register with "0") I believe it's better to modify only 1 bit of
the register.

Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Acked-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Patch: 277864
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>net/designware: Do not select MIIPORT for RGMII interface</title>
<updated>2013-06-25T00:10:16Z</updated>
<author>
<name>Vipin Kumar</name>
<email>vipin.kumar@st.com</email>
</author>
<published>2012-12-13T11:52:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7091915ad7a58d7884b7353b87373847ae943e1c'/>
<id>urn:sha1:7091915ad7a58d7884b7353b87373847ae943e1c</id>
<content type='text'>
Do not select MIIPORT for RGMII interface

Signed-off-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
</feed>
