]> git.sur5r.net Git - u-boot/commit
mmc: stm32: sdmmc2: add hardware flow control support
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 7 Feb 2018 16:19:58 +0000 (17:19 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:45:37 +0000 (21:45 -0400)
commita72dd8ed95992be67a03073dd28dad27618e5a39
tree6a6322b3be4e51d4195d8b6f4a70e51fbd0b33c0
parentaa5e3e22f4d648c09b6b63eac8eec8d7a2fc2994
mmc: stm32: sdmmc2: add hardware flow control support

The hardware flow control functionality is used to avoid
FIFO underrun (TX mode) and overrun (RX mode) errors.
The behavior is to stop SDMMC_CK during data transfer and
freeze the SDMMC state machines.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/mmc/stm32_sdmmc2.c