1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-25 20:05:22 +01:00
Files
u-boot-megous/include
Heiko Stuebner 05fa06b960 mmc: dw_mmc: check fifo status with a timeout in fifo mode
While trying to enable the dw_mmc on rk3188 I managed to confuse
and hang the dw_mmc controller into not delivering further data.
The fifo state never became ready and the driver was iterating in
the while loop reading 0-byte packets forever.

So inspired by how other implementations handle this, check the fifo-
state beforhand and add a timeout to catch any glaring fifo issues
without hanging uboot altogether.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2018-10-02 09:35:09 +02:00
..
2018-09-30 18:16:51 -04:00
2018-09-28 18:27:01 +02:00
2018-09-29 11:49:35 -06:00
2018-09-10 20:48:16 -04:00
2018-09-18 08:12:21 -06:00
2018-07-26 14:08:22 -05:00
2018-09-23 21:55:30 +02:00
2018-09-23 21:55:30 +02:00
2018-06-13 07:49:12 -04:00
2018-04-06 17:04:33 -04:00
2018-09-10 20:48:19 -04:00
2018-09-18 00:01:18 -06:00
2018-09-23 21:55:30 +02:00
2018-08-01 18:03:58 +02:00
2018-07-26 14:08:22 -05:00
2018-09-10 20:48:12 -04:00
2018-07-19 16:31:37 -04:00
2018-09-25 21:48:43 -04:00
2018-07-20 15:55:05 -04:00
2018-09-18 00:01:18 -06:00
2018-09-28 18:26:32 +02:00
2018-09-28 20:22:36 -04:00