public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] omap: mmc: Raise timeout value to 20ms
Date: Tue, 3 Jan 2012 14:03:16 -0700	[thread overview]
Message-ID: <4F036D14.8020008@ti.com> (raw)
In-Reply-To: <CAPOJ94MgWVsRsEPs_bhZUNLXnFcR9sCxjzKEv5TY-XG3fHoVvw@mail.gmail.com>

On 01/03/2012 01:50 PM, Peter Bigot wrote:
> On Tue, Jan 3, 2012 at 2:24 PM, Tom Rini <trini@ti.com> wrote:
>> With certain SD cards the code detects a timeout when the hardware
>> has not timed out.  We change the timeout used to match the kernel
>> which gives software 20ms to detect a timeout.  We also define to
>> match the kernel and expand the previously incorrect comment.
>> Finally, we let get_timer() perform subtraction for us as it offers.
> 
> This doesn't work for me with the SanDisk 4GB card on the
> BeagleBoard-xM.  I updated the recipe to remove Andreas' original
> patch, substituted the new one, and I get the following, which is the
> behavior before I used Andreas' patch except that now it takes about
> 20 seconds for each timeout message to print.

Dang.  Is your card a class 6 card by chance?  I'm going to go and see
if I can pick one up locally real quick.

-- 
Tom

  reply	other threads:[~2012-01-03 21:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03 20:24 [U-Boot] [PATCH] omap: mmc: Raise timeout value to 20ms Tom Rini
2012-01-03 20:50 ` Peter Bigot
2012-01-03 21:03   ` Tom Rini [this message]
2012-01-03 21:06     ` Peter Bigot
2012-01-04  0:22   ` Peter Bigot
2012-01-04 13:47     ` Andreas Müller
  -- strict thread matches above, loose matches on Subject: below --
2012-01-11 15:31 Andreas Müller
2012-01-11 15:34 ` Tom Rini
2012-01-11 15:39 ` Peter Bigot
2012-01-25 10:35 Andreas Müller
2012-01-25 18:31 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F036D14.8020008@ti.com \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox