]> git.baikalelectronics.ru Git - uboot.git/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)
commit8f49cbf8b1a198eafecb2e97304addd566fb26bd
tree6a6322b3be4e51d4195d8b6f4a70e51fbd0b33c0
parent06b30818f9eed518749f58ad7122f3d6be6b8be3
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