<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/api, branch v2017.05-rc2</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>Apparent conflict between CONFIG_BLK and CONFIG_API</title>
<updated>2017-04-08T13:26:48+00:00</updated>
<author>
<name>fuz@fuz.su</name>
<email>fuz@fuz.su</email>
</author>
<published>2017-03-07T21:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f2288c5a5b2aa6ce8453725e81ce20361cee854e'/>
<id>f2288c5a5b2aa6ce8453725e81ce20361cee854e</id>
<content type='text'>
Good evening,

I am trying to port FreeBSD to the ASUS Tinker Board, a computer based
on the Rockchip 3288 SoC. FreeBSD's boot loader (named loader(8)) needs
CONFIG_API to be enabled, but trying to build an U-Boot from trunk with
both CONFIG_API and CONFIG_BLK (as required for Rockchip SoC's?) leads
to the following build failure:

$ CROSS_COMPILE=arm-none-eabi- gmake tinker-rk3288_defconfig all
...
  CC      api/api_storage.o
api/api_storage.c: In function 'dev_read_stor':
api/api_storage.c:334:9: error: 'struct blk_desc' has no member named 'block_read'
  if ((dd-&gt;block_read) == NULL) {
         ^~
api/api_storage.c:339:11: error: 'struct blk_desc' has no member named 'block_read'
  return dd-&gt;block_read(dd, start, len, buf);
           ^~
api/api_storage.c:340:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
gmake[2]: *** [scripts/Makefile.build:281: api/api_storage.o] Fehler 1
gmake[1]: *** [Makefile:1229: api] Fehler 2
gmake: *** [Makefile:460: __build_one_by_one] Error 2

I applied the following fix, but the product doesn't boot. Perhaps
that's not a property of the fix though:

Yours,
Robert Clausecker
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Good evening,

I am trying to port FreeBSD to the ASUS Tinker Board, a computer based
on the Rockchip 3288 SoC. FreeBSD's boot loader (named loader(8)) needs
CONFIG_API to be enabled, but trying to build an U-Boot from trunk with
both CONFIG_API and CONFIG_BLK (as required for Rockchip SoC's?) leads
to the following build failure:

$ CROSS_COMPILE=arm-none-eabi- gmake tinker-rk3288_defconfig all
...
  CC      api/api_storage.o
api/api_storage.c: In function 'dev_read_stor':
api/api_storage.c:334:9: error: 'struct blk_desc' has no member named 'block_read'
  if ((dd-&gt;block_read) == NULL) {
         ^~
api/api_storage.c:339:11: error: 'struct blk_desc' has no member named 'block_read'
  return dd-&gt;block_read(dd, start, len, buf);
           ^~
api/api_storage.c:340:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
gmake[2]: *** [scripts/Makefile.build:281: api/api_storage.o] Fehler 1
gmake[1]: *** [Makefile:1229: api] Fehler 2
gmake: *** [Makefile:460: __build_one_by_one] Error 2

I applied the following fix, but the product doesn't boot. Perhaps
that's not a property of the fix though:

Yours,
Robert Clausecker
</pre>
</div>
</content>
</entry>
<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>
</feed>
