<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/sdio/mmc.c, branch v4.0.3</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/mmc.c?h=v4.0.3</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/sdio/mmc.c?h=v4.0.3'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2020-03-16T06:45:41Z</updated>
<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>sdio: mmc.c: 修复缩进/Fix indentation.</title>
<updated>2019-07-19T13:18:56Z</updated>
<author>
<name>Zhou Yanjie</name>
<email>zhouyanjie@zoho.com</email>
</author>
<published>2019-07-19T08:46:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=de69a9b5003a77923a0dc7ecb4dd21c48248419a'/>
<id>urn:sha1:de69a9b5003a77923a0dc7ecb4dd21c48248419a</id>
<content type='text'>
修复版权信息中的缩进格式。

Fix indentation in copyright information.

Signed-off-by: Zhou Yanjie &lt;zhouyanjie@zoho.com&gt;
</content>
</entry>
<entry>
<title>sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation overflow.</title>
<updated>2019-07-19T13:18:56Z</updated>
<author>
<name>Zhou Yanjie</name>
<email>zhouyanjie@zoho.com</email>
</author>
<published>2019-07-18T11:57:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=976ea2411261287b605e39922bbde21d3f457045'/>
<id>urn:sha1:976ea2411261287b605e39922bbde21d3f457045</id>
<content type='text'>
修改“mmc_parse_ext_csd”函数，防止容量计算过程溢出。

Modify the "mmc_parse_ext_csd" function to prevent the capacity
calculation process from overflowing.

Signed-off-by: Zhou Yanjie &lt;zhouyanjie@zoho.com&gt;
</content>
</entry>
<entry>
<title>Update all of debug log definition to DBG_TAG and DBG_LVL.</title>
<updated>2019-04-12T02:18:57Z</updated>
<author>
<name>armink</name>
<email>armink.ztl@gmail.com</email>
</author>
<published>2019-04-12T02:18:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=fa4d4ab7cf774ccb701d01a6fd1371ce8d9474e9'/>
<id>urn:sha1:fa4d4ab7cf774ccb701d01a6fd1371ce8d9474e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the DBG_COLOR and DBG_ENABLE definition.</title>
<updated>2019-03-06T09:54:30Z</updated>
<author>
<name>armink</name>
<email>armink.ztl@gmail.com</email>
</author>
<published>2019-03-06T09:07:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0d7ba79219f939ad0dc55eb70872e11c950b0da8'/>
<id>urn:sha1:0d7ba79219f939ad0dc55eb70872e11c950b0da8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][DeviceDriver] Update log tag from [SDIO] to SDIO.</title>
<updated>2018-11-02T02:15:29Z</updated>
<author>
<name>armink</name>
<email>armink.ztl@gmail.com</email>
</author>
<published>2018-11-01T11:56:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5a70247898dc681534c75d88fd3f188a63888080'/>
<id>urn:sha1:5a70247898dc681534c75d88fd3f188a63888080</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[license] Change license to Apache.</title>
<updated>2018-10-14T11:37:18Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2018-10-14T11:37:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2c0640a17872cd0e2a4fc8dc8a301a77dae6cc0d'/>
<id>urn:sha1:2c0640a17872cd0e2a4fc8dc8a301a77dae6cc0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Components][SDIO]fix 'rocr' declared without an initial value</title>
<updated>2018-09-30T03:01:06Z</updated>
<author>
<name>ZYH</name>
<email>lymz@foxmail.com</email>
</author>
<published>2018-09-22T07:05:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2e74539130d41add6c729d231603ee2cb2e6729d'/>
<id>urn:sha1:2e74539130d41add6c729d231603ee2cb2e6729d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Components][SDIO][MMC] fix null point check</title>
<updated>2018-09-22T07:02:48Z</updated>
<author>
<name>ZYH</name>
<email>lymz@foxmail.com</email>
</author>
<published>2018-09-22T07:02:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=780f538525637eaed5315c66ee1c52228c16b1d6'/>
<id>urn:sha1:780f538525637eaed5315c66ee1c52228c16b1d6</id>
<content type='text'>
</content>
</entry>
</feed>
