<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/sdio, branch v4.0.x</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/sdio?h=v4.0.x</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/sdio?h=v4.0.x'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2021-07-31T23:31:32Z</updated>
<entry>
<title>[sdio] remove rt_mmcsd_blk_init</title>
<updated>2021-07-31T23:31:32Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2021-07-31T16:11:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=84db60ecfa18956840245cedc140fdec1a20e56c'/>
<id>urn:sha1:84db60ecfa18956840245cedc140fdec1a20e56c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>修改mmc初始化错误，将card-》csd写成card-》cid</title>
<updated>2021-07-09T09:53:07Z</updated>
<author>
<name>@lin12345678</name>
<email>linzhenxing@rt-thread.com</email>
</author>
<published>2021-07-09T09:53:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9f9c3a2bb0d75e99cf1cd8c091f11c6cd1b2b1f4'/>
<id>urn:sha1:9f9c3a2bb0d75e99cf1cd8c091f11c6cd1b2b1f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update mmc.c</title>
<updated>2021-04-13T17:27:53Z</updated>
<author>
<name>Jianjia Ma</name>
<email>majianjia@live.com</email>
</author>
<published>2021-04-13T17:27:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=398718f0f9323d62a03a6ce441f9ff1cb36d61d1'/>
<id>urn:sha1:398718f0f9323d62a03a6ce441f9ff1cb36d61d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add more trys when switching data width</title>
<updated>2021-04-13T17:04:59Z</updated>
<author>
<name>Jianjia Ma</name>
<email>majianjia@live.com</email>
</author>
<published>2021-04-13T17:04:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4e74279d272c3dea6f702258456462cba717d763'/>
<id>urn:sha1:4e74279d272c3dea6f702258456462cba717d763</id>
<content type='text'>
Try a few times before switching to other data widths. 
The original strategy (simply wait for 20ms ) failed on STM32H743 with an MTFC4GACAJCN-4M (4GB EMMC) when switching data width. 
(unless the debugging info is enabled, which add more delays)
With this EMMC, the fixed delay was set to 50ms for it to be able to work. 

Instead of a fixed delay, I think we better change to trying a few more times with smaller delays.</content>
</entry>
<entry>
<title>[compoenets] auto &amp; manual formatted</title>
<updated>2021-03-08T10:19:04Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2021-03-08T10:19:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3c05a4e7193ee553bf502560e7de4be6489c7629'/>
<id>urn:sha1:3c05a4e7193ee553bf502560e7de4be6489c7629</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[sdio] free memory and enhance performance</title>
<updated>2021-02-05T07:49:30Z</updated>
<author>
<name>wanghaijing</name>
<email>whj4674672@163.com</email>
</author>
<published>2021-02-05T07:49:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f62d8938dcc273c43ced9127ce41140f37de287e'/>
<id>urn:sha1:f62d8938dcc273c43ced9127ce41140f37de287e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve the clock Settings for switching to high speed mode in the SDIO framework.</title>
<updated>2020-11-27T09:28:49Z</updated>
<author>
<name>guozhanxin</name>
<email>guozhanxin@rt-thread.com</email>
</author>
<published>2020-11-27T09:28:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bb016927f8a5ef4121e2e0c899291642c0087b71'/>
<id>urn:sha1:bb016927f8a5ef4121e2e0c899291642c0087b71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>component: sdio: fix potential ricky clock setting</title>
<updated>2020-03-16T06:45:41Z</updated>
<author>
<name>Shawn Lin</name>
<email>shawn.lin@rock-chips.com</email>
</author>
<published>2020-03-16T06:45:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4c7106fa9d5871c6402c9a4f336504c9f1f78b60'/>
<id>urn:sha1:4c7106fa9d5871c6402c9a4f336504c9f1f78b60</id>
<content type='text'>
Currently RTT mmc stack only support Highspeed mode or
blow, which means the max speed should be 52MHz according
to JEDEC spec. Two problems show here:

(1) max_data_rate = (unsigned int)-1. The value of unsigned int
depends on compilers/arch. Moreover, it makes no sense to assume
cpu addressing width with IP clock rate limit.
(1)hs_max_data_rate was set to 200MHz.

So what should BSP drivers do if 52MHz &lt; max_data_rate &lt; 200MHz?
Either it blindly sets a spec-violated clock rate to drive a Highspeed
card, or just adjust the clock rate internally. Both cases are
really bad for practice.

If the card claims to support Highspeed, we set the clock to not
to exceed 52MHz. Otherwise it should be set according to
card-&gt;max_data_rate parsed by ext_csd. This patch fixes it as-is,
and also simplify the code a lot.

Signed-off-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>[Components] sdio: try bus width depends on host's capability</title>
<updated>2020-03-12T01:00:41Z</updated>
<author>
<name>Shawn Lin</name>
<email>shawn.lin@rock-chips.com</email>
</author>
<published>2020-03-12T00:52:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=11277014a3361a67e5f939f58aa0540f2016cc02'/>
<id>urn:sha1:11277014a3361a67e5f939f58aa0540f2016cc02</id>
<content type='text'>
It makes no sense to try bus width if not supported by drivers or BSP,
since we know it must be failed. It saves a lot for booting in time
critical environment.

Signed-off-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>[component] sdio: Fix mmc mount function if the whole device is a partition</title>
<updated>2020-03-12T01:00:33Z</updated>
<author>
<name>Shawn Lin</name>
<email>shawn.lin@rock-chips.com</email>
</author>
<published>2020-03-12T00:43:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a33bc0f32183b137c744c6f1012e69ba77e4333b'/>
<id>urn:sha1:a33bc0f32183b137c744c6f1012e69ba77e4333b</id>
<content type='text'>
If the whole sd card was formatted as a partition, current
code break out the loop mistakenly, so it skips dfs_mount_device
later. Simply remove the broken 'break' to solve this problem.

Signed-off-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
</content>
</entry>
</feed>
