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

2017-10-02 Thread Jean-Jacques Hiblot
On 22/09/2017 15:54, Jaehoon Chung wrote: On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: From: Kishon Vijay Abraham I 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_CM

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

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > 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 a few time > as do

[U-Boot] [PATCH v2 23/26] mmc: Retry some MMC cmds on failure

2017-09-21 Thread Jean-Jacques Hiblot
From: Kishon Vijay Abraham I 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 a few time as done in Linux kernel. Similarly, it is seen that MMC_CMD_SET_BLOC