<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mmc, branch v2011.03</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/'/>
<entry>
<title>S5P: mmc: Resolved interrupt error during mmc_init</title>
<updated>2011-03-27T17:20:26+00:00</updated>
<author>
<name>Chander Kashyap</name>
<email>chander.kashyap@linaro.org</email>
</author>
<published>2011-03-22T01:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=f69bb511455513a61c25783414240258f13f3371'/>
<id>f69bb511455513a61c25783414240258f13f3371</id>
<content type='text'>
Blocksize was hardcoded to 512 bytes. But the blocksize varies
depeding on various mmc subsystem commands (between 8 and 512).
This hardcoding was resulting in interrupt error during data
transfer.

It is now calculated based upon the request sent by mmc subsystem.

Signed-off-by: Chander Kashyap &lt;chander.kashyap@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Blocksize was hardcoded to 512 bytes. But the blocksize varies
depeding on various mmc subsystem commands (between 8 and 512).
This hardcoding was resulting in interrupt error during data
transfer.

It is now calculated based upon the request sent by mmc subsystem.

Signed-off-by: Chander Kashyap &lt;chander.kashyap@linaro.org&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fsl_esdhc: Correcting esdhc timeout counter calculation</title>
<updated>2011-03-07T14:49:28+00:00</updated>
<author>
<name>Priyanka Jain</name>
<email>Priyanka.Jain@freescale.com</email>
</author>
<published>2011-03-03T03:48:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=b71ea33699bb694964929e2cdced80ef794bde69'/>
<id>b71ea33699bb694964929e2cdced80ef794bde69</id>
<content type='text'>
- Timeout counter value is set as DTOCV bits in SYSCTL register
  For counter value set as timeout,
  Timeout period = (2^(timeout + 13)) SD Clock cycles

- As per 4.6.2.2 section of SD Card specification v2.00, host should
  cofigure timeout period value to minimum 0.25 sec.

- Number of SD Clock cycles for 0.25sec should be minimum
	(SD Clock/sec * 0.25 sec) SD Clock cycles
	= (mmc-&gt;tran_speed * 1/4) SD Clock cycles

- Calculating timeout based on
	(2^(timeout + 13)) &gt;=  mmc-&gt;tran_speed * 1/4
	Taking log2 both the sides and rounding up to next power of 2
	=&gt; timeout + 13 = log2(mmc-&gt;tran_speed/4) + 1

Signed-off-by: Priyanka Jain &lt;Priyanka.Jain@freescale.com&gt;
Signed-off-by: Andy Fleming &lt;afleming@freescale.com&gt;
Acked-by: Mingkai Hu &lt;Mingkai.Hu@freescale.com&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Timeout counter value is set as DTOCV bits in SYSCTL register
  For counter value set as timeout,
  Timeout period = (2^(timeout + 13)) SD Clock cycles

- As per 4.6.2.2 section of SD Card specification v2.00, host should
  cofigure timeout period value to minimum 0.25 sec.

- Number of SD Clock cycles for 0.25sec should be minimum
	(SD Clock/sec * 0.25 sec) SD Clock cycles
	= (mmc-&gt;tran_speed * 1/4) SD Clock cycles

- Calculating timeout based on
	(2^(timeout + 13)) &gt;=  mmc-&gt;tran_speed * 1/4
	Taking log2 both the sides and rounding up to next power of 2
	=&gt; timeout + 13 = log2(mmc-&gt;tran_speed/4) + 1

Signed-off-by: Priyanka Jain &lt;Priyanka.Jain@freescale.com&gt;
Signed-off-by: Andy Fleming &lt;afleming@freescale.com&gt;
Acked-by: Mingkai Hu &lt;Mingkai.Hu@freescale.com&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fsl_esdhc: Add the workaround for erratum ESDHC-A001 (enable on P2020)</title>
<updated>2011-02-03T08:46:12+00:00</updated>
<author>
<name>Kumar Gala</name>
<email>galak@kernel.crashing.org</email>
</author>
<published>2011-01-29T21:36:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=5103a03a0be2fd1a5270046d9f2bc77916e33a56'/>
<id>5103a03a0be2fd1a5270046d9f2bc77916e33a56</id>
<content type='text'>
Data timeout counter (SYSCTL[DTOCV]) is not reliable for values of 4, 8,
and 12. Program one more than the desired value: 4 -&gt; 5, 8 -&gt; 9, 12 -&gt; 13.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Data timeout counter (SYSCTL[DTOCV]) is not reliable for values of 4, 8,
and 12. Program one more than the desired value: 4 -&gt; 5, 8 -&gt; 9, 12 -&gt; 13.

Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor Coding Style Cleanup.</title>
<updated>2011-02-02T21:36:10+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-02-02T21:36:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=d1a24f061849ebe4f288d95e8ceb8380f762d323'/>
<id>d1a24f061849ebe4f288d95e8ceb8380f762d323</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Davinci MMCSD Support</title>
<updated>2011-02-01T23:54:44+00:00</updated>
<author>
<name>Sandeep Paulraj</name>
<email>s-paulraj@ti.com</email>
</author>
<published>2010-12-21T01:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=57418d2139f032f9dae8cea38917aa90fdd673d8'/>
<id>57418d2139f032f9dae8cea38917aa90fdd673d8</id>
<content type='text'>
Added support for MMC/SD cards for Davinci.  This feature is enabled by
CONFIG_DAVINCI_MMC and is dependant on CONFIG_MMC and CONFIG_GENERIC_MMC
options. This is tested on DM355 and DM365 EVMs with both the available mmc
controllers.

Signed-off-by: Alagu Sankar &lt;alagusankar@embwise.com&gt;
Signed-off-by: Sandeep Paulraj &lt;s-paulraj@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added support for MMC/SD cards for Davinci.  This feature is enabled by
CONFIG_DAVINCI_MMC and is dependant on CONFIG_MMC and CONFIG_GENERIC_MMC
options. This is tested on DM355 and DM365 EVMs with both the available mmc
controllers.

Signed-off-by: Alagu Sankar &lt;alagusankar@embwise.com&gt;
Signed-off-by: Sandeep Paulraj &lt;s-paulraj@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fsl_esdhc: Add the workaround for erratum ESDHC135 (enable on P4080)</title>
<updated>2011-01-14T07:32:22+00:00</updated>
<author>
<name>Roy Zang</name>
<email>tie-fei.zang@freescale.com</email>
</author>
<published>2011-01-07T06:06:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=3b4456ec391877a950dd5e98ee20df6560f0e1af'/>
<id>3b4456ec391877a950dd5e98ee20df6560f0e1af</id>
<content type='text'>
The default value of the SRS, VS18 and VS30 and ADMAS fields in the host
controller capabilities register (HOSTCAPBLT) are incorrect. The default
of these bits should be zero instead of one.

Clear these bits out when we read HOSTCAPBLT.

Signed-off-by: Roy Zang &lt;tie-fei.zang@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default value of the SRS, VS18 and VS30 and ADMAS fields in the host
controller capabilities register (HOSTCAPBLT) are incorrect. The default
of these bits should be zero instead of one.

Clear these bits out when we read HOSTCAPBLT.

Signed-off-by: Roy Zang &lt;tie-fei.zang@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fsl_esdhc: Add the workaround for erratum ESDHC111 (enable on P4080)</title>
<updated>2011-01-14T07:32:22+00:00</updated>
<author>
<name>Jerry Huang</name>
<email>Chang-Ming.Huang@freescale.com</email>
</author>
<published>2011-01-07T05:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=d621da0066dff92a76ca3c6fb031a7f823a811f3'/>
<id>d621da0066dff92a76ca3c6fb031a7f823a811f3</id>
<content type='text'>
Do not issue a manual asynchronous CMD12. Instead, use a (software)
synchronous CMD12 or AUTOCMD12 to abort data transfer.

Signed-off-by: Jerry Huang &lt;Chang-Ming.Huang@freescale.com&gt;
Signed-off-by: Roy Zang &lt;tie-fei.zang@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not issue a manual asynchronous CMD12. Instead, use a (software)
synchronous CMD12 or AUTOCMD12 to abort data transfer.

Signed-off-by: Jerry Huang &lt;Chang-Ming.Huang@freescale.com&gt;
Signed-off-by: Roy Zang &lt;tie-fei.zang@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fsl_esdhc: Fix esdhc disabled problem on some platforms</title>
<updated>2011-01-14T07:32:19+00:00</updated>
<author>
<name>Chenhui Zhao</name>
<email>b26998@freescale.com</email>
</author>
<published>2011-01-04T09:23:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=a6da8b8195f47a70106f743948f2729d94157b32'/>
<id>a6da8b8195f47a70106f743948f2729d94157b32</id>
<content type='text'>
Some new platform's esdhc pins don't share with other function.
The eSDHC shouldn't be disabled, even if "esdhc" isn't defined
in hwconfig env variable.

Use CONFIG_FSL_ESDHC_PIN_MUX to fix this problem.

Signed-off-by: Chenhui Zhao &lt;b26998@freescale.com&gt;
Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some new platform's esdhc pins don't share with other function.
The eSDHC shouldn't be disabled, even if "esdhc" isn't defined
in hwconfig env variable.

Use CONFIG_FSL_ESDHC_PIN_MUX to fix this problem.

Signed-off-by: Chenhui Zhao &lt;b26998@freescale.com&gt;
Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fsl_esdhc: Fix the voltage validation process</title>
<updated>2010-12-18T22:15:24+00:00</updated>
<author>
<name>Li Yang</name>
<email>leoli@freescale.com</email>
</author>
<published>2010-11-25T17:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=030955c2cad511e678b3804c7de650db6920de4e'/>
<id>030955c2cad511e678b3804c7de650db6920de4e</id>
<content type='text'>
The current code use all the voltage range support by the host
controller to do the validation.  This will cause problem when
the host supports Low Voltage Range.  Change the validation
voltage to be based on board setup.

Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code use all the voltage range support by the host
controller to do the validation.  This will cause problem when
the host supports Low Voltage Range.  Change the validation
voltage to be based on board setup.

Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fsl_esdhc: Fix max clock frequency</title>
<updated>2010-12-18T22:15:24+00:00</updated>
<author>
<name>Jerry Huang</name>
<email>Changm-Ming.Huang@freescale.com</email>
</author>
<published>2010-11-25T17:06:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=63786d299defb7248932d551b38575d36c1f6a84'/>
<id>63786d299defb7248932d551b38575d36c1f6a84</id>
<content type='text'>
The max clock of MMC is 52MHz

Signed-off-by: Jerry Huang &lt;Changm-Ming.Huang@freescale.com&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The max clock of MMC is 52MHz

Signed-off-by: Jerry Huang &lt;Changm-Ming.Huang@freescale.com&gt;
Tested-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
