<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/net, branch v2012.04.01</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>net/eth.c: fix eth_write_hwaddr() to use dev-&gt;enetaddr as fall back</title>
<updated>2012-04-04T00:25:45+00:00</updated>
<author>
<name>Eric Miao</name>
<email>eric.miao@linaro.org</email>
</author>
<published>2012-01-18T22:56:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6937664426446b76308e7125e9f357e0f12c731a'/>
<id>6937664426446b76308e7125e9f357e0f12c731a</id>
<content type='text'>
Ignore the return value of eth_getenv_enetaddr_by_index(), and if it
fails, fall back to use dev-&gt;enetaddr, which could be filled up by
the ethernet device driver:

With the current code, introduced with below commit, eth_write_hwaddr()
will fail immediately if there is no eth&lt;n&gt;addr in the environment variables.

However, e.g. for an overo based product that uses the SMSC911x ethernet
chip (with the MAC address set via EEPROM connected to the SMSC911x chip),
the MAC address is still OK.

On mx28 boards that are depending on the OCOTP bits to set the MAC address
(like the Denx m28 board), the OCOTP bits should be used instead of
failing on the environment variables.

Actually, this was the original behavior, and was later changed by
commit 7616e7850804c7c69e0a22c179dfcba9e8f3f587.

Signed-off-by: Eric Miao &lt;eric.miao@linaro.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Dirk Behme &lt;dirk.behme@de.bosch.com&gt;
CC: Stefan Roese &lt;sr@denx.de&gt;
CC: Eric Miao &lt;eric.miao@linaro.org&gt;
CC: Wolfgang Denk &lt;wd@denx.de&gt;
CC: Philip Balister &lt;philip@balister.org&gt;
CC: Zach Sadecki &lt;zach@itwatchdogs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore the return value of eth_getenv_enetaddr_by_index(), and if it
fails, fall back to use dev-&gt;enetaddr, which could be filled up by
the ethernet device driver:

With the current code, introduced with below commit, eth_write_hwaddr()
will fail immediately if there is no eth&lt;n&gt;addr in the environment variables.

However, e.g. for an overo based product that uses the SMSC911x ethernet
chip (with the MAC address set via EEPROM connected to the SMSC911x chip),
the MAC address is still OK.

On mx28 boards that are depending on the OCOTP bits to set the MAC address
(like the Denx m28 board), the OCOTP bits should be used instead of
failing on the environment variables.

Actually, this was the original behavior, and was later changed by
commit 7616e7850804c7c69e0a22c179dfcba9e8f3f587.

Signed-off-by: Eric Miao &lt;eric.miao@linaro.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Dirk Behme &lt;dirk.behme@de.bosch.com&gt;
CC: Stefan Roese &lt;sr@denx.de&gt;
CC: Eric Miao &lt;eric.miao@linaro.org&gt;
CC: Wolfgang Denk &lt;wd@denx.de&gt;
CC: Philip Balister &lt;philip@balister.org&gt;
CC: Zach Sadecki &lt;zach@itwatchdogs.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootstage: Plumb in bootstage calls for basic operations</title>
<updated>2012-03-18T20:42:56+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2011-12-10T11:08:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=573f14fe4ed5b803207824be9e3147e894b68f8b'/>
<id>573f14fe4ed5b803207824be9e3147e894b68f8b</id>
<content type='text'>
This inserts bootstage calls into tftp, usb start and bootm. We
could go further, but this is a reasonable start to illustrate
the concept.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This inserts bootstage calls into tftp, usb start and bootm. We
could go further, but this is a reasonable start to illustrate
the concept.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootstage: Replace show_boot_progress/error() with bootstage_...()</title>
<updated>2012-03-18T20:41:39+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-02-13T13:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=770605e4f9874230728f5a592820c619b1565ebc'/>
<id>770605e4f9874230728f5a592820c619b1565ebc</id>
<content type='text'>
These calls should not be made directly any more, since bootstage
will call the show_boot_...() functions as needed.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These calls should not be made directly any more, since bootstage
will call the show_boot_...() functions as needed.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootstage: Convert net progress numbers to enums</title>
<updated>2012-03-18T20:33:05+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-01-14T15:24:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c8e66db7893532f2222334e7c36ee841da34ef4c'/>
<id>c8e66db7893532f2222334e7c36ee841da34ef4c</id>
<content type='text'>
This changes over the network-related progress numbers to use enums
from bootstage.h.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes over the network-related progress numbers to use enums
from bootstage.h.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootstage: Use show_boot_error() for -ve progress numbers</title>
<updated>2012-03-18T19:56:00+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2011-12-10T11:07:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5ddb118da4cbd34c3c8a0231dedad56ba504699f'/>
<id>5ddb118da4cbd34c3c8a0231dedad56ba504699f</id>
<content type='text'>
Rather than the caller negating our progress numbers to indicate an
error has occurred, which seems hacky, add a function to indicate this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than the caller negating our progress numbers to indicate an
error has occurred, which seems hacky, add a function to indicate this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/miiphy/serial: drop duplicate "NAMESIZE" define</title>
<updated>2012-03-18T19:11:22+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-11-10T14:11:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f6add132f6d7f45eb7d4b3839513c38bfb28eb08'/>
<id>f6add132f6d7f45eb7d4b3839513c38bfb28eb08</id>
<content type='text'>
A few subsystems are using the same define "NAMESIZE".  This has been
working so far because they define it to the same number.  However, I
want to change the size of eth_device's NAMESIZE, so rather than tweak
the define names, simply drop references to it.  Almost no one does,
and the handful that do can easily be changed to a sizeof().

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A few subsystems are using the same define "NAMESIZE".  This has been
working so far because they define it to the same number.  However, I
want to change the size of eth_device's NAMESIZE, so rather than tweak
the define names, simply drop references to it.  Almost no one does,
and the handful that do can easily be changed to a sizeof().

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PPC: Drop mv6446x_eth_initialize() from net/eth.c</title>
<updated>2012-03-06T20:13:26+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2012-03-02T22:39:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=021f6038a233bc6a60edc4adc1819492fddff9ff'/>
<id>021f6038a233bc6a60edc4adc1819492fddff9ff</id>
<content type='text'>
This function was defined as an extern in net/eth.c, drop that and use
standard means of calling it.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function was defined as an extern in net/eth.c, drop that and use
standard means of calling it.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PPC: Drop mv6436x_eth_initialize() from net/eth.c</title>
<updated>2012-03-06T20:13:22+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2012-03-02T22:39:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=658c3b9eafd0167fd150f129c0720eb305efc225'/>
<id>658c3b9eafd0167fd150f129c0720eb305efc225</id>
<content type='text'>
This function was defined as an extern in net/eth.c, drop that and use
standard means of calling it.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Reinhard Arlt &lt;reinhard.arlt@esd-electronics.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function was defined as an extern in net/eth.c, drop that and use
standard means of calling it.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Reinhard Arlt &lt;reinhard.arlt@esd-electronics.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>eth: remove usb-ethernet devices before re-enumerating them</title>
<updated>2012-03-03T15:56:04+00:00</updated>
<author>
<name>Vincent Palatin</name>
<email>vpalatin@chromium.org</email>
</author>
<published>2012-01-09T08:32:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e7e982d69c43b89f7e19b63479c8b2e880fbd75c'/>
<id>e7e982d69c43b89f7e19b63479c8b2e880fbd75c</id>
<content type='text'>
Fix the crash when running several times usb_init() with a USB ethernet
device plugged.

Signed-off-by: Vincent Palatin &lt;vpalatin@chromium.org&gt;
Tested-by: Wolfgang Grandegger &lt;wg@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the crash when running several times usb_init() with a USB ethernet
device plugged.

Signed-off-by: Vincent Palatin &lt;vpalatin@chromium.org&gt;
Tested-by: Wolfgang Grandegger &lt;wg@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: introduce per device index</title>
<updated>2011-12-20T21:57:25+00:00</updated>
<author>
<name>Michael Walle</name>
<email>michael@walle.cc</email>
</author>
<published>2011-10-27T11:31:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fea7dcae506bfbc3f67f8ed6a415d4f45914ee9b'/>
<id>fea7dcae506bfbc3f67f8ed6a415d4f45914ee9b</id>
<content type='text'>
Instead of counting the device index everytime a functions needs it, store
it in the eth_device struct. eth_register() keeps track of the indices and
updates the device's index number. This simplifies some functions in
net/eth.c.

Additionally, a network driver can now query its index, eg. to get the
correct environment ethaddr name.

Signed-off-by: Michael Walle &lt;michael@walle.cc&gt;
Cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of counting the device index everytime a functions needs it, store
it in the eth_device struct. eth_register() keeps track of the indices and
updates the device's index number. This simplifies some functions in
net/eth.c.

Additionally, a network driver can now query its index, eg. to get the
correct environment ethaddr name.

Signed-off-by: Michael Walle &lt;michael@walle.cc&gt;
Cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
