From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 3 Jan 2012 14:03:16 -0700 Subject: [U-Boot] [PATCH] omap: mmc: Raise timeout value to 20ms In-Reply-To: References: <1325622275-22622-1-git-send-email-trini@ti.com> Message-ID: <4F036D14.8020008@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/03/2012 01:50 PM, Peter Bigot wrote: > On Tue, Jan 3, 2012 at 2:24 PM, Tom Rini 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