<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/cmd/read.c, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2017-08-20T13:54:30Z</updated>
<entry>
<title>cmd/read.c: Fix checking blk_dread return value</title>
<updated>2017-08-20T13:54:30Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2017-08-15T00:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=d03618d5cbc3e1fb4f8c63f2e4966f825007ce08'/>
<id>urn:sha1:d03618d5cbc3e1fb4f8c63f2e4966f825007ce08</id>
<content type='text'>
The function blk_dread will return -ENOSYS on failure or on success the
number of blocks read, which must be the number asked to read (otherwise
it failed somewhere).  Correct this check.

Reported-by: Coverity (CID: 166335)
Cc: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Kconfig: Convert CMD_READ to Kconfig</title>
<updated>2017-08-11T19:41:53Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-08-04T22:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=b75dfd2d4675e660ab20806641a063cdb65e99a0'/>
<id>urn:sha1:b75dfd2d4675e660ab20806641a063cdb65e99a0</id>
<content type='text'>
Convert this option and enable it in sandbox. Also correct a bug which
was introduced with the block-device driver model conversion.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>dm: block: Adjust device calls to go through helpers function</title>
<updated>2016-03-14T21:34:50Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-02-29T22:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=2a981dc2c62c500110aad297fa70503aec36e689'/>
<id>urn:sha1:2a981dc2c62c500110aad297fa70503aec36e689</id>
<content type='text'>
To ease conversion to driver model, add helper functions which deal with
calling each block device method. With driver model we can reimplement these
functions with the same arguments.

Use inline functions to avoid increasing code size on some boards.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>dm: part: Rename some partition functions</title>
<updated>2016-03-14T21:34:50Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-02-29T22:25:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=3e8bd469504f5d5a8800a2ea46d664dde701105b'/>
<id>urn:sha1:3e8bd469504f5d5a8800a2ea46d664dde701105b</id>
<content type='text'>
Rename three partition functions so that they start with part_. This makes
it clear what they relate to.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>dm: blk: Rename get_dev() to blk_get_dev()</title>
<updated>2016-03-14T21:34:50Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-02-29T22:25:42Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=db1d9e78e6f0ea51a698f18abe4cebc5ff39b691'/>
<id>urn:sha1:db1d9e78e6f0ea51a698f18abe4cebc5ff39b691</id>
<content type='text'>
The current name is too generic. Add a 'blk_' prefix to aid searching and
make its purpose clearer.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>dm: Drop the block_dev_desc_t typedef</title>
<updated>2016-03-14T21:34:50Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-02-29T22:25:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=4101f6879256720b30df712089a3df18565f9203'/>
<id>urn:sha1:4101f6879256720b30df712089a3df18565f9203</id>
<content type='text'>
Use 'struct' instead of a typdef. Also since 'struct block_dev_desc' is long
and causes 80-column violations, rename it to struct blk_desc.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Remove the cmd_ prefix from command files</title>
<updated>2016-01-25T15:39:43Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-01-18T03:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=2e192b245ed36a63bab0ef576999a95e23f60ecd'/>
<id>urn:sha1:2e192b245ed36a63bab0ef576999a95e23f60ecd</id>
<content type='text'>
Now that they are in their own directory, we can remove this prefix.
This makes it easier to find a file since the prefix does not get in the
way.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
Acked-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
</content>
</entry>
</feed>
