Files
u-boot/drivers
Marek Vasut 4e16f0a67d mmc: dw_mmc: Calculate timeout from transfer length
The current 4-minute data transfer timeout is misleading and broken.
Instead of such a long wait, calculate the timeout duration based on
the length of the data transfer. The current formula is the transfer
length in bits, divided by a multiplication of bus frequency in Hz,
bus width, DDR mode and converted the mSec. The value is bounded from
the bottom to 1000 mSec.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
2019-04-29 10:08:56 +02:00
..
2019-01-15 15:28:53 -05:00
2019-02-27 09:12:33 +08:00
2019-02-20 15:27:08 +08:00
2018-12-06 14:37:51 -08:00
2019-04-12 16:09:13 +02:00
2018-07-19 16:31:38 -04:00
2019-02-20 15:27:11 +08:00
2018-11-29 09:30:06 -07:00
2019-04-21 10:26:52 +02:00
2019-04-11 20:07:12 -04:00