]> git.baikalelectronics.ru Git - uboot.git/commit
serial: stm32: Replace setparity by setconfig
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 3 Aug 2018 13:07:39 +0000 (15:07 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 00:20:38 +0000 (20:20 -0400)
commit21ed5ff7d4ffa280462c135b751a5eb22cdc2141
tree7445cd6630152c118048b68a412308768be95634
parente0d2366c591bd4dc388242aaa78721790f4c79d9
serial: stm32: Replace setparity by setconfig

Replace stm32_serial_setparity by stm32_serial_setconfig
which allows to set serial bits number, parity and stop
bits number.
Only parity setting is implemented.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_stm32.c