<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/api, branch v2017.03-rc3</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>kconfig: Add API kconfig file</title>
<updated>2017-02-08T20:56:31+00:00</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@bidouilliste.com</email>
</author>
<published>2017-01-31T11:17:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4db98d3d92827e38d0853f0c1932d3db7d757622'/>
<id>4db98d3d92827e38d0853f0c1932d3db7d757622</id>
<content type='text'>
Add kconfig file to enable API support

Signed-off-by: Emmanuel Vadot &lt;manu@bidouilliste.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add kconfig file to enable API support

Signed-off-by: Emmanuel Vadot &lt;manu@bidouilliste.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: storage: Test all block device in dev_stor_get</title>
<updated>2017-01-20T20:37:58+00:00</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@bidouilliste.com</email>
</author>
<published>2017-01-05T05:40:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d3e8f63026fa37dc09dcfd803df81e5452f87df9'/>
<id>d3e8f63026fa37dc09dcfd803df81e5452f87df9</id>
<content type='text'>
In a config with one MMC at device id '1' and no MMC at device id '0'
(a BeagleBone Black with no sd inserted for example), the current code
will first test to access the MMC 0 (sd port), seeing that no device is
present it will simply return that no more device are present for this
class.
This patch fixes this by testing all devices for each class.

Signed-off-by: Emmanuel Vadot &lt;manu@bidouilliste.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a config with one MMC at device id '1' and no MMC at device id '0'
(a BeagleBone Black with no sd inserted for example), the current code
will first test to access the MMC 0 (sd port), seeing that no device is
present it will simply return that no more device are present for this
class.
This patch fixes this by testing all devices for each class.

Signed-off-by: Emmanuel Vadot &lt;manu@bidouilliste.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: Use hashtable function for API_env_enum</title>
<updated>2017-01-20T14:15:24+00:00</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@bidouilliste.com</email>
</author>
<published>2016-12-26T17:57:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6215bd4c1fd6bce95072ad123cf1e4af94ab44e2'/>
<id>6215bd4c1fd6bce95072ad123cf1e4af94ab44e2</id>
<content type='text'>
The current code can loop undefinitly as it doesn't parse
correctly the env data.
Since the env is an hashtable, use the hashtable function for
the API_ENV_ENUM api call.

Signed-off-by: Emmanuel Vadot &lt;manu@bidouilliste.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code can loop undefinitly as it doesn't parse
correctly the env data.
Since the env is an hashtable, use the hashtable function for
the API_ENV_ENUM api call.

Signed-off-by: Emmanuel Vadot &lt;manu@bidouilliste.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cosmetic api: api_storage.c Spelling correction</title>
<updated>2016-12-04T18:54:58+00:00</updated>
<author>
<name>Walt Feasel</name>
<email>waltfeasel@gmail.com</email>
</author>
<published>2016-11-23T06:26:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=83f9ecbe2190ddea2d6bb903e3361a013af913b3'/>
<id>83f9ecbe2190ddea2d6bb903e3361a013af913b3</id>
<content type='text'>
Make spelling correction for 'from'

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make spelling correction for 'from'

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cosmetic api: api_storage.c Comment style</title>
<updated>2016-12-04T18:54:58+00:00</updated>
<author>
<name>Walt Feasel</name>
<email>waltfeasel@gmail.com</email>
</author>
<published>2016-11-23T06:26:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c9db75a06673abc7cbf275246931021bb254d1f5'/>
<id>c9db75a06673abc7cbf275246931021bb254d1f5</id>
<content type='text'>
Make comment style modifications

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make comment style modifications

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cosmetic api: api_storage.c Line over 80 char</title>
<updated>2016-12-04T18:54:57+00:00</updated>
<author>
<name>Walt Feasel</name>
<email>waltfeasel@gmail.com</email>
</author>
<published>2016-11-23T06:26:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e3d7675acf6de3eec43796cde6a9bc8989739f7a'/>
<id>e3d7675acf6de3eec43796cde6a9bc8989739f7a</id>
<content type='text'>
Make checkpatch style modification for
WARNING: line over 80 characters

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make checkpatch style modification for
WARNING: line over 80 characters

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cosmetic api: api_storage.c Blank line after {</title>
<updated>2016-12-04T18:54:57+00:00</updated>
<author>
<name>Walt Feasel</name>
<email>waltfeasel@gmail.com</email>
</author>
<published>2016-11-23T06:26:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b4c650d14eb1298a5ffdcb6fa09db72b479ebeb9'/>
<id>b4c650d14eb1298a5ffdcb6fa09db72b479ebeb9</id>
<content type='text'>
Make checkpatch style modification for
CHECK: Blank lines aren't necessary after
an open brace '{'

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make checkpatch style modification for
CHECK: Blank lines aren't necessary after
an open brace '{'

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cosmetic api: api_storage.c Align parenthesis</title>
<updated>2016-12-04T18:54:57+00:00</updated>
<author>
<name>Walt Feasel</name>
<email>waltfeasel@gmail.com</email>
</author>
<published>2016-11-23T06:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e5fbf2a73137dbf3b92b4dd26ddd2ea2500bef46'/>
<id>e5fbf2a73137dbf3b92b4dd26ddd2ea2500bef46</id>
<content type='text'>
Make checkpatch style modification for
CHECK: Alignment should match open parenthesis

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make checkpatch style modification for
CHECK: Alignment should match open parenthesis

Signed-off-by: Walt Feasel &lt;waltfeasel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: storage: Avoid enumeration for non-configured subsystem</title>
<updated>2016-10-24T12:04:43+00:00</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@bidouilliste.com</email>
</author>
<published>2016-10-19T15:19:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5d81c6df320e40c741f474a54cc6df451e830143'/>
<id>5d81c6df320e40c741f474a54cc6df451e830143</id>
<content type='text'>
If a subsystem wasn't configured, avoid enumeration.

Signed-off-by: Emmanuel Vadot &lt;manu@bidouilliste.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a subsystem wasn't configured, avoid enumeration.

Signed-off-by: Emmanuel Vadot &lt;manu@bidouilliste.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: Disable api_net when DM is used</title>
<updated>2016-07-22T12:03:43+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2016-06-06T08:58:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=211815784c0e35a274e13054a7966b21098f8a14'/>
<id>211815784c0e35a274e13054a7966b21098f8a14</id>
<content type='text'>
When CONFIG_API is selected with DM_ETH this
error is present:
api/api_net.c: In function 'dev_enum_net':
api/api_net.c:61:35: warning: initialization from incompatible pointer
type
  struct eth_device *eth_current = eth_get_dev();
                                   ^
api/api_net.c:68:39: error: dereferencing pointer to incomplete type
  memcpy(di-&gt;di_net.hwaddr, eth_current-&gt;enetaddr, 6);
                                       ^
Disable api_net functions when ETH_DM is selected.

Signed-off-by: Chris Johns &lt;chrisj@rtems.org&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When CONFIG_API is selected with DM_ETH this
error is present:
api/api_net.c: In function 'dev_enum_net':
api/api_net.c:61:35: warning: initialization from incompatible pointer
type
  struct eth_device *eth_current = eth_get_dev();
                                   ^
api/api_net.c:68:39: error: dereferencing pointer to incomplete type
  memcpy(di-&gt;di_net.hwaddr, eth_current-&gt;enetaddr, 6);
                                       ^
Disable api_net functions when ETH_DM is selected.

Signed-off-by: Chris Johns &lt;chrisj@rtems.org&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
