<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/cmd/mmc.c, branch v2019.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/cmd/mmc.c?h=v2019.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/cmd/mmc.c?h=v2019.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-01-15T20:28:54Z</updated>
<entry>
<title>common: command: Rework the 'cmd is repeatable' logic</title>
<updated>2019-01-15T20:28:54Z</updated>
<author>
<name>Boris Brezillon</name>
<email>boris.brezillon@bootlin.com</email>
</author>
<published>2018-12-03T21:54:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=80a48dd47e3bf3ede676fae5a630cb6c80de3e69'/>
<id>urn:sha1:80a48dd47e3bf3ede676fae5a630cb6c80de3e69</id>
<content type='text'>
The repeatable property is currently attached to the main command and
sub-commands have no way to change the repeatable value (the
-&gt;repeatable field in sub-command entries is ignored).

Replace the -&gt;repeatable field by an extended -&gt;cmd() hook (called
-&gt;cmd_rep()) which takes a new int pointer to store the repeatable cap
of the command being executed.

With this trick, we can let sub-commands decide whether they are
repeatable or not.

We also patch mmc and dtimg who are testing the -&gt;repeatable field
directly (they now use cmd_is_repeatable() instead), and fix the help
entry manually since it doesn't use the U_BOOT_CMD() macro.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>cmd: mmc: Invalidate MMC block cache after init</title>
<updated>2019-01-15T20:28:43Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2019-01-03T21:09:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1d044d323d1eaa5731028a2d288bf53c1151e1fc'/>
<id>urn:sha1:1d044d323d1eaa5731028a2d288bf53c1151e1fc</id>
<content type='text'>
Make sure the block cache is cleared for the MMC device after it was
reinitialized to avoid having any stale data in the cache, like e.g.
partition tables or such.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Jaehoon Chung &lt;jh80.chung@samsung.com&gt;
</content>
</entry>
<entry>
<title>cmd: mmc: Force mmc reinit when no card present</title>
<updated>2019-01-15T20:28:43Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2019-01-03T21:09:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d2a083696e403aa34288638fcef943deedaf1492'/>
<id>urn:sha1:d2a083696e403aa34288638fcef943deedaf1492</id>
<content type='text'>
In case the card is removed, force-init the MMC to start the internal
machinery which deregisters and invalidate the MMC device.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Jaehoon Chung &lt;jh80.chung@samsung.com&gt;
</content>
</entry>
<entry>
<title>mmc: Remove hwpartition help text when command is disabled</title>
<updated>2018-06-18T18:43:13Z</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2018-06-11T16:20:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=845936792bc3c602470e2d759232fb1537cbc5e7'/>
<id>urn:sha1:845936792bc3c602470e2d759232fb1537cbc5e7</id>
<content type='text'>
When the `mmc hwpartition` command is disabled, remove the associated help
text.

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
</content>
</entry>
<entry>
<title>mmc: Separate "mmc swrite" from fastboot</title>
<updated>2018-05-30T09:59:21Z</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2018-05-29T15:30:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c232d14d11e29c88f2c6149d2c152f496caa5889'/>
<id>urn:sha1:c232d14d11e29c88f2c6149d2c152f496caa5889</id>
<content type='text'>
Introduce CONFIG_IMAGE_SPARSE and CONFIG_CMD_MMC_SWRITE so the "mmc
swrite" command is separated from the fastboot code.

Move image-sparse from common to lib so it's clear it's library code.

Rename CONFIG_FASTBOOT_FLASH_FILLBUF_SIZE to CONFIG_IMAGE_SPARSE_FILLBUF_SIZE
and migrate it to Kconfig.

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Acked-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fastboot: Refactor fastboot_okay/fail to take response</title>
<updated>2018-05-30T09:59:21Z</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2018-05-29T15:30:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c4ded03ef608be37db105200010d2f3f88195bd6'/>
<id>urn:sha1:c4ded03ef608be37db105200010d2f3f88195bd6</id>
<content type='text'>
Add the response string as a parameter to fastboot_okay/fail, instead
of modifying a global, to match the contract expected by the AOSP
U-Boot code.

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Reviewed-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>Convert CONFIG_SUPPORT_EMMC_RPMB to Kconfig</title>
<updated>2018-05-23T21:30:02Z</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2018-05-08T04:43:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5a7b11e65a54ab9f82bb08bfc402aa4ca1aa3a78'/>
<id>urn:sha1:5a7b11e65a54ab9f82bb08bfc402aa4ca1aa3a78</id>
<content type='text'>
Convert CONFIG_SUPPORT_EMMC_RPMB to Kconfig. Split the command handling
from the underlying support and expose this through CMD_MMC_RPMB.

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
</content>
</entry>
<entry>
<title>mmc: support writing sparse images</title>
<updated>2018-05-08T13:06:33Z</updated>
<author>
<name>Jassi Brar</name>
<email>jaswinder.singh@linaro.org</email>
</author>
<published>2018-04-06T06:35:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=732bc7ce3fcfde5f102a92a9a7f3ed67f4af9a3a'/>
<id>urn:sha1:732bc7ce3fcfde5f102a92a9a7f3ed67f4af9a3a</id>
<content type='text'>
Provide an alternate path for sparse-images to be
written to MMC. For example, via tftp on platforms
that don't support fastboot protocol. Or when an
image is to written at some offset, rather than the
start of a partition.

Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
[trini: Guard with CONFIG_FASTBOOT_FLASH tests, use LBAF for lbaint_t
        printing]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>mmc: remove hc_wp_grp_size from struct mmc if not needed</title>
<updated>2018-01-12T09:11:24Z</updated>
<author>
<name>Jean-Jacques Hiblot</name>
<email>jjhiblot@ti.com</email>
</author>
<published>2018-01-04T14:23:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b7a6e2c9c396c35596f467f5187da937306ddeb8'/>
<id>urn:sha1:b7a6e2c9c396c35596f467f5187da937306ddeb8</id>
<content type='text'>
hc_wp_grp_size is needed only if hardware partitionning is used.
On ARM removing it saves about 30 bytes of code space.

Signed-off-by: Jean-Jacques Hiblot &lt;jjhiblot@ti.com&gt;
</content>
</entry>
</feed>
