Re: [U-Boot] [PATCH] mmc: fsl_esdhc: fix calculation of timeout for data transactions

2014-04-02 Thread Pantelis Antoniou
Hi Andrew, On Mar 24, 2014, at 9:40 AM, Andrew Gabbasov wrote: Calculation of the timeout value should be based on actual clock value, written to controller registers. Since mmc-tran_speed is either the maximum allowed speed, or the preliminary value, that is be not yet set to registers, the

[U-Boot] [PATCH] mmc: fsl_esdhc: fix calculation of timeout for data transactions

2014-03-24 Thread Andrew Gabbasov
Calculation of the timeout value should be based on actual clock value, written to controller registers. Since mmc-tran_speed is either the maximum allowed speed, or the preliminary value, that is be not yet set to registers, the actual timeout, taken by the controller, based on its clock