Re: [U-Boot] [PATCH 1/4] mmc: dw_mmc: check fifo status with a timeout in fifo mode

2018-09-21 Thread Philipp Tomsich
> On 21.09.2018, at 10:59, Heiko Stuebner wrote: > > 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 for

[U-Boot] [PATCH 1/4] mmc: dw_mmc: check fifo status with a timeout in fifo mode

2018-09-21 Thread Heiko Stuebner
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, c