<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/cmd_nvedit.c, branch v2011.12</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>common/cmd_nvedit.c: Fix size calculation in do_env_import()</title>
<updated>2011-12-19T09:19:34+00:00</updated>
<author>
<name>Horst Kronstorfer</name>
<email>hkronsto@frequentis.com</email>
</author>
<published>2011-12-16T23:33:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d3f80c77ca92eaf1e7166f0c4fdcaafefc563277'/>
<id>d3f80c77ca92eaf1e7166f0c4fdcaafefc563277</id>
<content type='text'>
do_env_import() missed the final '\0' terminator when calculating the
size of an environment data block.  This led to an erroneous 'bad CRC,
import failed' message for a checksum protected environment (-c.)

Signed-off-by: Horst Kronstorfer &lt;hkronsto@frequentis.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
do_env_import() missed the final '\0' terminator when calculating the
size of an environment data block.  This led to an erroneous 'bad CRC,
import failed' message for a checksum protected environment (-c.)

Signed-off-by: Horst Kronstorfer &lt;hkronsto@frequentis.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common/cmd_nvedit.c: Add missing 'env save' preproc guard</title>
<updated>2011-12-12T07:25:38+00:00</updated>
<author>
<name>Horst Kronstorfer</name>
<email>hkronsto@frequentis.com</email>
</author>
<published>2011-12-10T02:25:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d798a9b5d50527713adc6309206a8d9f287593fb'/>
<id>d798a9b5d50527713adc6309206a8d9f287593fb</id>
<content type='text'>
Signed-off-by: Horst Kronstorfer &lt;hkronsto@frequentis.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Horst Kronstorfer &lt;hkronsto@frequentis.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd_nvedit.c: Fix compiler warning introduced by checkpatch cleanup</title>
<updated>2011-11-27T14:46:10+00:00</updated>
<author>
<name>Kumar Gala</name>
<email>galak@kernel.crashing.org</email>
</author>
<published>2011-11-23T09:48:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=068f158fdf1937de45fc0e0bb2c3c9063c2cc8f6'/>
<id>068f158fdf1937de45fc0e0bb2c3c9063c2cc8f6</id>
<content type='text'>
cmd_nvedit.c: In function 'do_env_grep':
cmd_nvedit.c:182:3: warning: suggest parentheses around assignment used as truth value

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cmd_nvedit.c: In function 'do_env_grep':
cmd_nvedit.c:182:3: warning: suggest parentheses around assignment used as truth value

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env: clean cmd_nvedit.c checkpatch and code style</title>
<updated>2011-11-22T07:39:25+00:00</updated>
<author>
<name>Igor Grinberg</name>
<email>grinberg@compulab.co.il</email>
</author>
<published>2011-11-07T01:13:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d09b1787a4b1396e296fb69e7f1ab1d6345441d9'/>
<id>d09b1787a4b1396e296fb69e7f1ab1d6345441d9</id>
<content type='text'>
Cleanup the cmd_nvedit.c checkpatch warnings, errors and coding style.
There are 10 wanrings left about the simple_strtoul() function:
 WARNING: simple_strtoul is obsolete, use kstrtoul instead
 #359: FILE: cmd_nvedit.c:359:
 +		load_addr = simple_strtoul(argv[2], NULL, 16);

 ...

 total: 0 errors, 10 warnings, 1043 lines checked

Signed-off-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cleanup the cmd_nvedit.c checkpatch warnings, errors and coding style.
There are 10 wanrings left about the simple_strtoul() function:
 WARNING: simple_strtoul is obsolete, use kstrtoul instead
 #359: FILE: cmd_nvedit.c:359:
 +		load_addr = simple_strtoul(argv[2], NULL, 16);

 ...

 total: 0 errors, 10 warnings, 1043 lines checked

Signed-off-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common: move extern char console_buffer[] to common.h</title>
<updated>2011-11-22T07:39:25+00:00</updated>
<author>
<name>Igor Grinberg</name>
<email>grinberg@compulab.co.il</email>
</author>
<published>2011-11-07T01:13:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e3150460a4fd3a7126bcbf1e225610e0d494c8fe'/>
<id>e3150460a4fd3a7126bcbf1e225610e0d494c8fe</id>
<content type='text'>
Extract all extern declarations for console_buffer[] out of c files into
the common.h header.

Signed-off-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
Cc: Frank Gottschling &lt;fgottschling@eltec.de&gt;
Cc: Murray Jensen &lt;Murray.Jensen@csiro.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extract all extern declarations for console_buffer[] out of c files into
the common.h header.

Signed-off-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
Cc: Frank Gottschling &lt;fgottschling@eltec.de&gt;
Cc: Murray Jensen &lt;Murray.Jensen@csiro.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix warnings in cmd_nvedit.c</title>
<updated>2011-11-22T07:39:24+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2011-11-04T06:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=79afc88d2ccfd78fa8735719bb2648dac3c686b6'/>
<id>79afc88d2ccfd78fa8735719bb2648dac3c686b6</id>
<content type='text'>
This printf() string should be %ld now that uintptr_t is defined
as long. Also fix a size_t error.

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>
This printf() string should be %ld now that uintptr_t is defined
as long. Also fix a size_t error.

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>env: allow to export only selected variables</title>
<updated>2011-11-08T12:20:42+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-11-06T21:49:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=37f2fe7472a34531e7d585eb7e0730b4f8e1f213'/>
<id>37f2fe7472a34531e7d585eb7e0730b4f8e1f213</id>
<content type='text'>
New syntax:
	env export [-t | -b | -c] [-s size] addr [var ...]

With this change it is possible to provide a list of variables names
that shall be exported.  Whenno arguments are given, the whole
environment gets exported.

NOTE: The new handling of the "size" argument means a change to the
user API.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New syntax:
	env export [-t | -b | -c] [-s size] addr [var ...]

With this change it is possible to provide a list of variables names
that shall be exported.  Whenno arguments are given, the whole
environment gets exported.

NOTE: The new handling of the "size" argument means a change to the
user API.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tftpput: add save_addr and save_size global variables</title>
<updated>2011-10-26T19:35:43+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2011-10-21T18:51:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1aec244acf9daf0d4dad80fe86b2c2b7404251d6'/>
<id>1aec244acf9daf0d4dad80fe86b2c2b7404251d6</id>
<content type='text'>
We need something akin to load_addr to handle saving data.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need something akin to load_addr to handle saving data.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add setenv_ulong() and setenv_addr()</title>
<updated>2011-10-26T19:32:42+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2011-10-24T17:59:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d67f10ce0f5a4c114437ac6fb5891ae38e3054f8'/>
<id>d67f10ce0f5a4c114437ac6fb5891ae38e3054f8</id>
<content type='text'>
It seems we put numbers and addresses into environment variables a lot.
We should have some functions to do this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems we put numbers and addresses into environment variables a lot.
We should have some functions to do this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add getenv_ulong() to read an integer from an environment variable</title>
<updated>2011-10-23T21:32:45+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2011-10-14T13:25:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4a9b413108f4bd274973398356b45c0346238bc9'/>
<id>4a9b413108f4bd274973398356b45c0346238bc9</id>
<content type='text'>
This is not an uncommon operation in U-Boot, so let's put it in a common
function.

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>
This is not an uncommon operation in U-Boot, so let's put it in a common
function.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
