<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/api/api_storage.c, branch v2017.07-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>Kconfig: Add a CONFIG_IDE option</title>
<updated>2017-05-22T16:45:27+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-17T09:25:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fc843a02acad62e231a3e779cebd1712688146fc'/>
<id>fc843a02acad62e231a3e779cebd1712688146fc</id>
<content type='text'>
At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate
CONFIG_IDE option so that IDE support can be enabled without requiring
the 'ide' command.

Update existing users and move the ide driver into drivers/block since
it should not be in common/.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate
CONFIG_IDE option so that IDE support can be enabled without requiring
the 'ide' command.

Update existing users and move the ide driver into drivers/block since
it should not be in common/.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<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>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>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>dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI</title>
<updated>2016-05-17T15:54:43+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-05-01T17:36:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c649e3c91cdc96a86ca2665fcfafaca5c4b384b1'/>
<id>c649e3c91cdc96a86ca2665fcfafaca5c4b384b1</id>
<content type='text'>
This option currently enables both the command and the SCSI functionality.
Rename the existing option to CONFIG_SCSI since most of the code relates
to the feature.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option currently enables both the command and the SCSI functionality.
Rename the existing option to CONFIG_SCSI since most of the code relates
to the feature.

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