<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mmc, branch v2015.01</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>MVEBUMMC : REMOVE unnecessary delay from init</title>
<updated>2015-01-06T08:10:28+00:00</updated>
<author>
<name>Gerald Kerma</name>
<email>drEagle@doukki.net</email>
</author>
<published>2014-12-13T20:35:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ac0b7298441d96043a2275d3c0fdafa59ca8f103'/>
<id>ac0b7298441d96043a2275d3c0fdafa59ca8f103</id>
<content type='text'>
Remove unnessecary delay from mvebu_mmc_initialize

Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove unnessecary delay from mvebu_mmc_initialize

Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MVEBUMMC : CLEAN code</title>
<updated>2015-01-06T08:10:23+00:00</updated>
<author>
<name>Gerald Kerma</name>
<email>drEagle@doukki.net</email>
</author>
<published>2014-12-13T20:35:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=02b2739e8fd90f3bc6945824d87ca1647cf95aef'/>
<id>02b2739e8fd90f3bc6945824d87ca1647cf95aef</id>
<content type='text'>
Clean mvebu_mmc_send_cmd

Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clean mvebu_mmc_send_cmd

Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MVEBUMMC : REMOVE unnecessary delays</title>
<updated>2015-01-06T08:10:16+00:00</updated>
<author>
<name>Gerald Kerma</name>
<email>drEagle@doukki.net</email>
</author>
<published>2014-12-13T20:35:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=86eeecafc24408822c1c8c329963e6f76751cae1'/>
<id>86eeecafc24408822c1c8c329963e6f76751cae1</id>
<content type='text'>
Remove delays in mvebu_mmc_set_bus and mvebu_mmc_set_clk

Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove delays in mvebu_mmc_set_bus and mvebu_mmc_set_clk

Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MVEBUMMC : FIX debug strings</title>
<updated>2015-01-06T08:10:12+00:00</updated>
<author>
<name>Gerald Kerma</name>
<email>drEagle@doukki.net</email>
</author>
<published>2014-12-13T20:35:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fc0f25f91948eef623999ab0874d6bd4604cb889'/>
<id>fc0f25f91948eef623999ab0874d6bd4604cb889</id>
<content type='text'>
Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MVEBUMMC : Speed up access time</title>
<updated>2015-01-06T08:10:04+00:00</updated>
<author>
<name>Gerald Kerma</name>
<email>drEagle@doukki.net</email>
</author>
<published>2014-12-13T20:35:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=28d27b79e33dea24b0fb29cf7ff6e88dfb18f030'/>
<id>28d27b79e33dea24b0fb29cf7ff6e88dfb18f030</id>
<content type='text'>
Get about 40x faster access on SHEEVAPLUG MMC
 Fix some SD type compatibility

 Changes in v3:
 - fix the HW_STATE (from linux mvsdio)
 - review delays and timeouts

 Changes in v2:
 - increase number of loops
 - remove initial delay

 Changes in v1:
 - review all loops, delays and timeouts

Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Get about 40x faster access on SHEEVAPLUG MMC
 Fix some SD type compatibility

 Changes in v3:
 - fix the HW_STATE (from linux mvsdio)
 - review delays and timeouts

 Changes in v2:
 - increase number of loops
 - remove initial delay

 Changes in v1:
 - review all loops, delays and timeouts

Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MVEBUMMC : Change copyright date</title>
<updated>2015-01-06T08:09:45+00:00</updated>
<author>
<name>Gerald Kerma</name>
<email>drEagle@doukki.net</email>
</author>
<published>2014-12-13T20:35:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2591fbdba3bbae92366d0a4f20fbaf4aa0f9f65c'/>
<id>2591fbdba3bbae92366d0a4f20fbaf4aa0f9f65c</id>
<content type='text'>
Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gérald Kerma &lt;drEagle@doukki.net&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: dw_mmc: Use active DDR mode flag</title>
<updated>2014-12-12T19:09:01+00:00</updated>
<author>
<name>Andrew Gabbasov</name>
<email>andrew_gabbasov@mentor.com</email>
</author>
<published>2014-12-01T12:59:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2b8a9692f9d8a744b6a93a9bed115ca46541ca1f'/>
<id>2b8a9692f9d8a744b6a93a9bed115ca46541ca1f</id>
<content type='text'>
The card_caps bit should denote the card capability to use DDR mode,
but we need the flag indicating that the DDR mode is active.

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The card_caps bit should denote the card capability to use DDR mode,
but we need the flag indicating that the DDR mode is active.

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: Fix block length for DDR mode</title>
<updated>2014-12-12T19:08:38+00:00</updated>
<author>
<name>Andrew Gabbasov</name>
<email>andrew_gabbasov@mentor.com</email>
</author>
<published>2014-12-01T12:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5af8f45cd049cf01790a17ff68e61303bc08abc3'/>
<id>5af8f45cd049cf01790a17ff68e61303bc08abc3</id>
<content type='text'>
Block length for write and read commands is fixed to 512 bytes
when the card is in Dual Data Rate mode. If block length read from CSD
is different, make sure the driver will use correct length
in all further calculations and settings.

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Block length for write and read commands is fixed to 512 bytes
when the card is in Dual Data Rate mode. If block length read from CSD
is different, make sure the driver will use correct length
in all further calculations and settings.

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: Fix Dual Data Rate capability recognition</title>
<updated>2014-12-12T19:08:21+00:00</updated>
<author>
<name>Andrew Gabbasov</name>
<email>andrew_gabbasov@mentor.com</email>
</author>
<published>2014-12-01T12:59:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=201d5ac4388d66bf7a78e71c32939b3fc5779207'/>
<id>201d5ac4388d66bf7a78e71c32939b3fc5779207</id>
<content type='text'>
Since the driver doesn't work in 1.2V or 1.8V signaling level modes,
Dual Data Rate mode can be supported by the driver only if it is supported
by the card in regular 3.3V mode. So, check for a particular single
bit in card type field.

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the driver doesn't work in 1.2V or 1.8V signaling level modes,
Dual Data Rate mode can be supported by the driver only if it is supported
by the card in regular 3.3V mode. So, check for a particular single
bit in card type field.

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: Fix handling of bus widths and DDR card capabilities</title>
<updated>2014-12-12T19:08:06+00:00</updated>
<author>
<name>Andrew Gabbasov</name>
<email>andrew_gabbasov@mentor.com</email>
</author>
<published>2014-12-01T12:59:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=786e8f818c25265d12d5d06e257fe2b1ba516134'/>
<id>786e8f818c25265d12d5d06e257fe2b1ba516134</id>
<content type='text'>
If the MMC_MODE_DDR_52MHz flag is set in card capabilities bitmask,
it is never cleared, even if switching to DDR mode fails, and if
the controller driver uses this flag to check the DDR mode, it can
take incorrect actions.

Also, DDR related checks in mmc_startup() incorrectly handle the case
when the host controller does not support some bus widths (e.g. can't
support 8 bits), since the host_caps is checked for DDR bit, but not
bus width bits.

This fix clearly separates using of card_caps bitmask, having there
the flags for the capabilities, that the card can support, and actual
operation mode, described outside of card_caps (i.e. bus_width and
ddr_mode fields in mmc structure). Separate host controller drivers
may need to be updated to use the actual flags. Respectively,
the capabilities checks in mmc_startup are made more correct and clear.

Also, some clean up is made with errors handling and code syntax layout.

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the MMC_MODE_DDR_52MHz flag is set in card capabilities bitmask,
it is never cleared, even if switching to DDR mode fails, and if
the controller driver uses this flag to check the DDR mode, it can
take incorrect actions.

Also, DDR related checks in mmc_startup() incorrectly handle the case
when the host controller does not support some bus widths (e.g. can't
support 8 bits), since the host_caps is checked for DDR bit, but not
bus width bits.

This fix clearly separates using of card_caps bitmask, having there
the flags for the capabilities, that the card can support, and actual
operation mode, described outside of card_caps (i.e. bus_width and
ddr_mode fields in mmc structure). Separate host controller drivers
may need to be updated to use the actual flags. Respectively,
the capabilities checks in mmc_startup are made more correct and clear.

Also, some clean up is made with errors handling and code syntax layout.

Signed-off-by: Andrew Gabbasov &lt;andrew_gabbasov@mentor.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
