Re: [U-Boot] [RFC 1/3][v4] mmc: checking status after commands with R1b response

2011-08-06 Thread Lei Wen
On Sat, Aug 6, 2011 at 8:07 PM, Marek Vasut wrote: > On Friday, March 11, 2011 01:18:15 PM Lei Wen wrote: >> On Fri, Mar 11, 2011 at 8:01 PM, Raffaele Recalcati >> >> wrote: >> > From: Raffaele Recalcati >> > >> > It is recommended to check card status after these kind of commands. >> > This is

Re: [U-Boot] [RFC 1/3][v4] mmc: checking status after commands with R1b response

2011-08-06 Thread Marek Vasut
On Friday, March 11, 2011 01:18:15 PM Lei Wen wrote: > On Fri, Mar 11, 2011 at 8:01 PM, Raffaele Recalcati > > wrote: > > From: Raffaele Recalcati > > > > It is recommended to check card status after these kind of commands. > > This is done using CMD13 (SEND_STATUS) JEDEC command until > > the

Re: [U-Boot] [RFC 1/3][v4] mmc: checking status after commands with R1b response

2011-03-11 Thread Lei Wen
On Fri, Mar 11, 2011 at 8:01 PM, Raffaele Recalcati wrote: > From: Raffaele Recalcati > > It is recommended to check card status after these kind of commands. > This is done using CMD13 (SEND_STATUS) JEDEC command until > the card is ready. > In case of error the card status field is displayed. >

[U-Boot] [RFC 1/3][v4] mmc: checking status after commands with R1b response

2011-03-11 Thread Raffaele Recalcati
From: Raffaele Recalcati It is recommended to check card status after these kind of commands. This is done using CMD13 (SEND_STATUS) JEDEC command until the card is ready. In case of error the card status field is displayed. Signed-off-by: Raffaele Recalcati --- drivers/mmc/mmc.c | 60 ++