On Tue, Jan 11, 2011 at 10:17 PM, Ghorai, Sukumar <s-gho...@ti.com> wrote:

> [Ghorai]
> We also experienced the same issue using 32GB SD card for omap3 and omap4.
> And the problem is seen is that DTO value (in SYSCTL) is not current
> in following function.
>
> So add the following modification and please update the status.
> And we will submit proper patch towards the same.
>
> static void set_data_timeout(..){
> ...
>      cycle_ns = 1000000000 / (clk_get_rate(host->fclk) / clkd);
>        timeout = timeout_ns / cycle_ns;
>        timeout += timeout_clks;
> + timeout *=2;
>      if (timeout) {
> ...
> }

I tried this change.  While it seemed to improve things a bit for the
ADATA card I tested, I was still not able to boot successfully.

I will investigate further.  Forcing a value of 14 makes the card
work.  I'll add a printk to see what dto value is computed by your
patch.

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to