[U-Boot] [PATCH v3 2/4] serial: stm32: Replace setparity by setconfig

Simon Glass sjg at chromium.org
Wed Aug 8 09:55:30 UTC 2018


On 3 August 2018 at 07:07, Patrice Chotard <patrice.chotard at st.com> wrote:
> 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 at st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>
> Changes in v3:
>   - Replace u8 by uint for parity/bits/stop in stm32_serial_setconfig()
>
> Changes in v2:
>   - Update stm32_serial_setconfig prototype
>
>  drivers/serial/serial_stm32.c | 21 +++++++++++++++------
>  1 file changed, 15 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list