<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/cmd_net.c, branch v2011.06-rc3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/common/cmd_net.c?h=v2011.06-rc3</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/common/cmd_net.c?h=v2011.06-rc3'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2011-06-01T20:35:09Z</updated>
<entry>
<title>sntp: avoid use of uninitialized variable</title>
<updated>2011-06-01T20:35:09Z</updated>
<author>
<name>Luuk Paulussen</name>
<email>luuk.paulussen@alliedtelesis.co.nz</email>
</author>
<published>2011-05-16T18:27:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d6840e3d7abb71c2a45c3788dcc6edf7feb1d303'/>
<id>urn:sha1:d6840e3d7abb71c2a45c3788dcc6edf7feb1d303</id>
<content type='text'>
When we use the ntpserverip environment variable argv[1] may not be set.
Printing the error message using the NetNtpServerIP variable ensures the
correct output in both cases.

Signed-off-by: Luuk Paulussen &lt;luuk.paulussen@alliedtelesis.co.nz&gt;
Acked-by: Chris Packham &lt;chris.packham@alliedtelesis.co.nz&gt;
Cc: Ben Warren &lt;biggerbadderben@gmail.com&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
</entry>
<entry>
<title>TFTP: add tftpsrv command</title>
<updated>2011-05-19T19:38:32Z</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-17T00:03:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7a83af07aef3c924cfb2d36e68eea8b86d22f2a1'/>
<id>urn:sha1:7a83af07aef3c924cfb2d36e68eea8b86d22f2a1</id>
<content type='text'>
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
</entry>
<entry>
<title>Revert "boot cmds: convert to getenv_yesno() with autostart"</title>
<updated>2011-01-11T19:56:34Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-01-11T19:56:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3e5ab1af245da25633954c5b51c85cc8da0a5036'/>
<id>urn:sha1:3e5ab1af245da25633954c5b51c85cc8da0a5036</id>
<content type='text'>
This reverts commit 5a442c0addc69d0c4b58e98e5aec1cf07576debb.

This commit changed the behaviour of getenv_yesno() (both the default
behaviour and the documented behaviour for abbreviated arguments)
which resulted in problems in several areas.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
</entry>
<entry>
<title>cmd_net.c: fix build breakage</title>
<updated>2010-12-23T16:02:18Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2010-12-23T16:02:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4b58266e952aaba4c1184c18eb9de5d82afe85cd'/>
<id>urn:sha1:4b58266e952aaba4c1184c18eb9de5d82afe85cd</id>
<content type='text'>
Commit 722b061 "autocomplete: remove runtime handler install" caused
some boards (like NETTA2_V2) to break with errors like these:

cmd_net.c:296: error: expected expression before ',' token

Fix this.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>boot cmds: convert to getenv_yesno() with autostart</title>
<updated>2010-11-28T20:58:30Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-20T11:17:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5a442c0addc69d0c4b58e98e5aec1cf07576debb'/>
<id>urn:sha1:5a442c0addc69d0c4b58e98e5aec1cf07576debb</id>
<content type='text'>
Use the new helper func to clean up duplicate logic handling of the
autostart env var.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>do_bootm: unify duplicate prototypes</title>
<updated>2010-11-28T20:45:32Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-20T07:35:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=36ebb78779cb08b48672e0fa5cd891199cc0ee23'/>
<id>urn:sha1:36ebb78779cb08b48672e0fa5cd891199cc0ee23</id>
<content type='text'>
The duplication of the do_bootm prototype has gotten out of hand,
and they're pretty much all outdated (wrt constness).  Unify them
all in command.h.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Revert "cmd_net: drop spurious comma in U_BOOT_CMD"</title>
<updated>2010-10-27T18:13:46Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2010-10-26T21:42:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ec5c04cdb59e2f194a4ab2336fd2ffd6fcef3c35'/>
<id>urn:sha1:ec5c04cdb59e2f194a4ab2336fd2ffd6fcef3c35</id>
<content type='text'>
This commit causes build errors like this:

cmd_net.c:301:1: error: macro "U_BOOT_CMD" requires 6 arguments, but only 5 given
cmd_net.c:298: warning: data definition has no type or storage class
cmd_net.c:298: warning: type defaults to 'int' in declaration of 'U_BOOT_CMD'

This reverts commit 8f4cb77ef7183ce1bb3f767604a0677c6f6d84a7.
</content>
</entry>
<entry>
<title>cmd_net: drop spurious comma in U_BOOT_CMD</title>
<updated>2010-10-26T19:14:55Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-20T07:33:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8f4cb77ef7183ce1bb3f767604a0677c6f6d84a7'/>
<id>urn:sha1:8f4cb77ef7183ce1bb3f767604a0677c6f6d84a7</id>
<content type='text'>
Building for boards that have CONFIG_CMD_CDP enabled fail with:
cmd_net.c:301: error: expected expression before ',' token

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>rarp: Condtionally compile rarp support</title>
<updated>2010-10-12T06:00:29Z</updated>
<author>
<name>Peter Tyser</name>
<email>ptyser@xes-inc.com</email>
</author>
<published>2010-09-30T16:25:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bf6cb247a5df202fbed4fd43df477d863b68fbe1'/>
<id>urn:sha1:bf6cb247a5df202fbed4fd43df477d863b68fbe1</id>
<content type='text'>
Most people don't use the 'rarpboot' command, so only enable it when
CONFIG_CMD_RARP is defined.

Signed-off-by: Peter Tyser &lt;ptyser@xes-inc.com&gt;
Signed-off-by: Ben Warren &lt;biggerbadderben@gmail.com&gt;
</content>
</entry>
<entry>
<title>cmd_usage(): simplify return code handling</title>
<updated>2010-07-24T18:43:57Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2010-07-16T23:06:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=47e26b1bf91ddef69f4a3892815c857db094cef9'/>
<id>urn:sha1:47e26b1bf91ddef69f4a3892815c857db094cef9</id>
<content type='text'>
Lots of code use this construct:

	cmd_usage(cmdtp);
	return 1;

Change cmd_usage() let it return 1 - then we can replace all these
ocurrances by

	return cmd_usage(cmdtp);

This fixes a few places with incorrect return code handling, too.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
</entry>
</feed>
