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

2011-03-11 Thread Raffaele Recalcati
Hi Gururaja, On Fri, Mar 11, 2011 at 9:57 AM, Hebbar, Gururaja wrote: > Hi, > > On Fri, Mar 11, 2011 at 14:08:14, Raffaele Recalcati wrote: >> From: Raffaele Recalcati >> > [...] > [...] it means the lines are ok? >> @@ -48,6 +48,36 @@ int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, >>

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

2011-03-11 Thread Hebbar, Gururaja
Hi, On Fri, Mar 11, 2011 at 14:08:14, Raffaele Recalcati wrote: > From: Raffaele Recalcati > [...] [...] > @@ -48,6 +48,36 @@ int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, > struct mmc_data *data) > return mmc->send_cmd(mmc, cmd, data); > } > > +int mmc_send_status(struct mmc

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

2011-03-11 Thread Raffaele Recalcati
From: Raffaele Recalcati It is a recommended to check card status after these kind of commands. This is done using CMD13 (SEND_STATUS) JEDEC command. In case of error the card status field is displayed. Signed-off-by: Raffaele Recalcati --- It is not clear what should nice to do in case of stat