Re: [U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-17 Thread Jean-Jacques Hiblot
On 17/05/2017 03:38, Simon Glass wrote: Hi Jean-Jacques, On 15 May 2017 at 09:49, Jean-Jacques Hiblot wrote: On 15/05/2017 05:28, Simon Glass wrote: On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: From: Vignesh R With certain SD cards like Kingston 8GB/16GB UHS card, it is seen tha

Re: [U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-16 Thread Simon Glass
Hi Jean-Jacques, On 15 May 2017 at 09:49, Jean-Jacques Hiblot wrote: > > > On 15/05/2017 05:28, Simon Glass wrote: >> >> On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: >>> >>> From: Vignesh R >>> >>> With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that >>> MMC_CMD_ALL_SEN

Re: [U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-15 Thread Jean-Jacques Hiblot
On 15/05/2017 05:28, Simon Glass wrote: On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: From: Vignesh R With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that MMC_CMD_ALL_SEND_CID cmd fails on first attempt, but succeeds subsequently. Therefore, retry MMC_CMD_ALL_SEND_CI

Re: [U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-14 Thread Simon Glass
On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: > From: Vignesh R > > With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that > MMC_CMD_ALL_SEND_CID cmd fails on first attempt, but succeeds > subsequently. Therefore, retry MMC_CMD_ALL_SEND_CID cmd at least thrice > as done in L

[U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-12 Thread Jean-Jacques Hiblot
From: Vignesh R With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that MMC_CMD_ALL_SEND_CID cmd fails on first attempt, but succeeds subsequently. Therefore, retry MMC_CMD_ALL_SEND_CID cmd at least thrice as done in Linux kernel. Similarly, it is seen that MMC_CMD_SET_BLOCKLEN may