<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net/macb.c, branch v2019.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/macb.c?h=v2019.10-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/net/macb.c?h=v2019.10-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-07-25T18:13:31Z</updated>
<entry>
<title>net: macb: Fix check for little-endian system in gmac_configure_dma()</title>
<updated>2019-07-25T18:13:31Z</updated>
<author>
<name>Anup Patel</name>
<email>Anup.Patel@wdc.com</email>
</author>
<published>2019-07-24T04:09:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eff0e0c76f529c57bc0e1f8d16d0060cb08a5ebf'/>
<id>urn:sha1:eff0e0c76f529c57bc0e1f8d16d0060cb08a5ebf</id>
<content type='text'>
Instead of depending on CONFIG_SYS_LITTLE_ENDIAN, we check at runtime
whether underlying system is little-endian or big-endian. This way
we are not dependent on any U-Boot specific OR compiler specific macro
to check system endianness.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: macb: Extend MACB driver for SiFive Unleashed board</title>
<updated>2019-07-25T18:13:31Z</updated>
<author>
<name>Anup Patel</name>
<email>Anup.Patel@wdc.com</email>
</author>
<published>2019-07-24T04:09:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d0a04db6af7607c99f28973a79be2d31caaf5670'/>
<id>urn:sha1:d0a04db6af7607c99f28973a79be2d31caaf5670</id>
<content type='text'>
The SiFive MACB ethernet has a custom TX_CLK_SEL register to select
different TX clock for 1000mbps vs 10/100mbps.

This patch adds SiFive MACB compatible string and extends the MACB
ethernet driver to change TX clock using TX_CLK_SEL register for
SiFive MACB.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net/macb: increase RX buffer size for GEM</title>
<updated>2019-07-25T18:13:30Z</updated>
<author>
<name>Ramon Fried</name>
<email>rfried.dev@gmail.com</email>
</author>
<published>2019-07-14T15:25:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c6d07bf440bcfd39c1c61c1cd7c8ef3b059c5669'/>
<id>urn:sha1:c6d07bf440bcfd39c1c61c1cd7c8ef3b059c5669</id>
<content type='text'>
Macb Ethernet controller requires a RX buffer of 128 bytes. It is
highly sub-optimal for Gigabit-capable GEM that is able to use
a bigger DMA buffer. Change this constant and associated macros
with data stored in the private structure.
RX DMA buffer size has to be multiple of 64 bytes as indicated in
DMA Configuration Register specification.

Signed-off-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: macb: apply sane DMA configuration</title>
<updated>2019-07-25T18:13:30Z</updated>
<author>
<name>Ramon Fried</name>
<email>rfried.dev@gmail.com</email>
</author>
<published>2019-07-16T19:04:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9c29580720cb4f0d4548278029f1467cf1df58b2'/>
<id>urn:sha1:9c29580720cb4f0d4548278029f1467cf1df58b2</id>
<content type='text'>
DMA configuration was heavily dependent on the HW
defaults, add function to properly set the required
fields, including the new dma_burst_length.

Signed-off-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Tested-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: macb: add dma_burst_length config</title>
<updated>2019-07-25T18:13:30Z</updated>
<author>
<name>Ramon Fried</name>
<email>rfried.dev@gmail.com</email>
</author>
<published>2019-07-16T19:04:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ed3c64f1acc958a7ee1a97f23acda13105f89443'/>
<id>urn:sha1:ed3c64f1acc958a7ee1a97f23acda13105f89443</id>
<content type='text'>
GEM support higher DMA burst writes/reads than the default (4).
add configuration structure with dma burst length so it could be
applied later to DMA configuration.

Signed-off-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Tested-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: macb: add support for SGMII phy interface</title>
<updated>2019-07-25T18:13:30Z</updated>
<author>
<name>Ramon Fried</name>
<email>rfried.dev@gmail.com</email>
</author>
<published>2019-07-16T19:04:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5a1899f9fcf46cc61f095408b17952d29e76cde5'/>
<id>urn:sha1:5a1899f9fcf46cc61f095408b17952d29e76cde5</id>
<content type='text'>
This patch adds support for the sgmii phy interface,
available only to DM users, dictated by current driver
design.

Signed-off-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Tested-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: macb: use bit access macro from header file</title>
<updated>2019-07-25T18:13:30Z</updated>
<author>
<name>Ramon Fried</name>
<email>rfried.dev@gmail.com</email>
</author>
<published>2019-07-16T19:04:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0a2827e3ac4e24bb9948066bf37d8a1740066b82'/>
<id>urn:sha1:0a2827e3ac4e24bb9948066bf37d8a1740066b82</id>
<content type='text'>
macb.h provides macros for reading/setting bitfields,
in macb registers and descriptors. use that instead
of redefining them in the source file.

Signed-off-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Tested-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: macb: add support for faster clk rates</title>
<updated>2019-07-25T18:13:30Z</updated>
<author>
<name>Ramon Fried</name>
<email>rfried.dev@gmail.com</email>
</author>
<published>2019-07-16T19:04:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9e65f80ec9943790891a533dc8996d9d97a18cc6'/>
<id>urn:sha1:9e65f80ec9943790891a533dc8996d9d97a18cc6</id>
<content type='text'>
add support for clock rates higher than 2.4Mhz

Signed-off-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Tested-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: macb: sync header definitions as taken from Linux</title>
<updated>2019-07-25T18:13:30Z</updated>
<author>
<name>Ramon Fried</name>
<email>rfried.dev@gmail.com</email>
</author>
<published>2019-07-16T19:03:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6c636514d4997eaf6aef806c68570b3a41e4df74'/>
<id>urn:sha1:6c636514d4997eaf6aef806c68570b3a41e4df74</id>
<content type='text'>
Few registers and bits were added by Cadence and
they were not updated in the headers.
Take the latest definitions as defined in Linux
header (5.1) that also includes some comments
about existing registers.

One register was improperly named (UR), fix that.

Signed-off-by: Ramon Fried &lt;rfried.dev@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Tested-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: macb: Add support for 1000-baseX</title>
<updated>2019-07-15T18:32:26Z</updated>
<author>
<name>Radu Pirea</name>
<email>radu_nicolae.pirea@upb.ro</email>
</author>
<published>2019-06-07T11:18:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0dc97fc3d8cd8c4154f63c9ea74f5e73ee48fa6c'/>
<id>urn:sha1:0dc97fc3d8cd8c4154f63c9ea74f5e73ee48fa6c</id>
<content type='text'>
Macb can be used with Xilinx PCS/PMA PHY in fpga which is a 1000-baseX
phy(lpa 0x41e0). This patch adds checks for LPA_1000XFULL and
LPA_1000XHALF bits.

Signed-off-by: Radu Pirea &lt;radu_nicolae.pirea@upb.ro&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
</feed>
