<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/env_callback.h, branch u-boot-2013.01.y</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>env: don't generate callback list entries for SPL</title>
<updated>2012-12-22T12:57:16+00:00</updated>
<author>
<name>Scott Wood</name>
<email>scottwood@freescale.com</email>
</author>
<published>2012-12-20T11:51:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f8cfcf1b1c7543d5dd103359376a3319301143bc'/>
<id>f8cfcf1b1c7543d5dd103359376a3319301143bc</id>
<content type='text'>
SPL doesn't write to the environment.  These list entries prevent the
functions from being garbage-collected, even though nothing will look at
the list.  This caused several SPL builds (e.g.  P2020RDB-PC_NAND) to
break due to size limitations and/or unresolved symbols.

A static inline function is used to provide a context in which we
can consume the callback, and thus avoid unused function warnings.

Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;
Acked-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SPL doesn't write to the environment.  These list entries prevent the
functions from being garbage-collected, even though nothing will look at
the list.  This caused several SPL builds (e.g.  P2020RDB-PC_NAND) to
break due to size limitations and/or unresolved symbols.

A static inline function is used to provide a context in which we
can consume the callback, and thus avoid unused function warnings.

Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;
Acked-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env: Add environment variable flags</title>
<updated>2012-12-13T18:46:56+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-12-12T04:16:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2598090b7e17f8bdca95b22e7f27217054730e02'/>
<id>2598090b7e17f8bdca95b22e7f27217054730e02</id>
<content type='text'>
Currently just validates variable types as decimal, hexidecimal,
boolean, ip address, and mac address.

If the entry is not found in the env ".flags", then look in the static
one. This allows the env to override the static definitions, but prevents
the need to have every definition in the environment distracting you.

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently just validates variable types as decimal, hexidecimal,
boolean, ip address, and mac address.

If the entry is not found in the env ".flags", then look in the static
one. This allows the env to override the static definitions, but prevents
the need to have every definition in the environment distracting you.

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env: Add a silent env handler</title>
<updated>2012-12-13T18:46:56+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-12-12T04:16:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e080d545f8ffb104a13b07deddf92ecb498b3a94'/>
<id>e080d545f8ffb104a13b07deddf92ecb498b3a94</id>
<content type='text'>
The silent variable now updates the global data flag anytime it is
changed as well as after the env relocation (in case its value is
different from the default env in such cases as NAND env)

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The silent variable now updates the global data flag anytime it is
changed as well as after the env relocation (in case its value is
different from the default env in such cases as NAND env)

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env: Add a console env handler</title>
<updated>2012-12-13T18:46:56+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-12-12T04:16:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=849d5d9cda0e7c94797874d842e9b132ec45a565'/>
<id>849d5d9cda0e7c94797874d842e9b132ec45a565</id>
<content type='text'>
Remove the hard-coded console handler and use a callback instead

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the hard-coded console handler and use a callback instead

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env: Add a loadaddr env handler</title>
<updated>2012-12-13T18:46:56+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-12-12T04:16:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1cf0a8b2fbe38ed07b1babaaacfc22bd427f66f0'/>
<id>1cf0a8b2fbe38ed07b1babaaacfc22bd427f66f0</id>
<content type='text'>
Remove the hard-coded loadaddr handler and use a callback instead

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the hard-coded loadaddr handler and use a callback instead

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env: Add a baudrate env handler</title>
<updated>2012-12-13T18:46:55+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-12-12T04:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=32057717e06a4e703fdf3774671cea14554de76b'/>
<id>32057717e06a4e703fdf3774671cea14554de76b</id>
<content type='text'>
Remove the hard-coded baudrate handler and use a callback instead

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the hard-coded baudrate handler and use a callback instead

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env: Add a bootfile env handler</title>
<updated>2012-12-13T18:46:55+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-12-12T04:16:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a9f51c9b4315f699e7185c85d1d09d2d7819a4eb'/>
<id>a9f51c9b4315f699e7185c85d1d09d2d7819a4eb</id>
<content type='text'>
Remove the hard-coded bootfile handler and use a callback instead

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the hard-coded bootfile handler and use a callback instead

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>env: Add support for callbacks to environment vars</title>
<updated>2012-12-13T18:46:55+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-12-12T04:16:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=170ab11075d3be56e89d6444abf1148329130f4b'/>
<id>170ab11075d3be56e89d6444abf1148329130f4b</id>
<content type='text'>
Add support for per-variable callbacks to the "hashtable" functions.

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;

!!!fix comment in callback
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for per-variable callbacks to the "hashtable" functions.

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;

!!!fix comment in callback
</pre>
</div>
</content>
</entry>
</feed>
