[U-Boot] [PATCH v2] mmc: increase MMC SDHCI read status timeout

Jaehoon Chung jh80.chung at samsung.com
Fri Jul 1 13:30:14 CEST 2016


On 06/30/2016 10:41 AM, Masahiro Yamada wrote:
> 2016-06-30 5:42 GMT+09:00 Steve Rae <steve.rae at raedomain.com>:
>> Otherwise,  ocassionally see errors like this:
>>   Flashing sparse image at offset 2078720
>>   Flashing Sparse Image
>>   sdhci_send_command: Timeout for status update!
>>   mmc fail to send stop cmd
>>   write_sparse_image: Write failed, block #2181088 [0]
>>
>> This does not affect the actual writing speed, which is controlled by
>> the default value:
>>   CONFIG_SDHCI_CMD_DEFAULT_TIMEOUT
>>
>> It only increases the retries when reading:
>>   SDHCI_INT_STATUS
>> to avoid the timeout error.
>>
>> Signed-off-by: Steve Rae <steve.rae at raedomain.com>
>> Reviewed-by: Stefan Roese <sr at denx.de>
>> Tested-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Tested-by: Jaehoon Chung <jh80.chung at samsung.com>

Best Regards,
Jaehoon Chung

> 
> 
> Looks good to me.   Thanks!
> 
> 
> 
> 



More information about the U-Boot mailing list