serial: stm32x7: add fifo support for STM32H7
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 27 Sep 2017 13:44:51 +0000 (15:44 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
commit2a7ecc536019066f77ff7b6e24cb3194ee0f65c0
treedb56364189fb5b9e7922ce677f75642162b47121
parent60a996bacb74052f7e3966a875dfdebee036d446
serial: stm32x7: add fifo support for STM32H7

Add fifo mode support for rx and tx.
As only STM32H7 supports this feature, add has_fifo flag
to uart configuration to use fifo only when possible.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/serial/serial_stm32x7.c
drivers/serial/serial_stm32x7.h