]> git.sur5r.net Git - u-boot/commit
serial: serial_stm32: Rename status register flags
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 20 Apr 2018 06:59:07 +0000 (08:59 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 28 Apr 2018 22:32:24 +0000 (18:32 -0400)
commit8dc4e1fbf439d63082419640b6e797dfdfcc4720
tree2bb0083fd24aabfff0caf2591ed50f930eac1b3c
parent7b3b74d321279b8aaee448d136fa9d20f8fd0739
serial: serial_stm32: Rename status register flags

Uart status register is named USART_ISR on STM32F7, STM32H7
and STM32MP1 SoCs family, but USART_SR only on STM32F4 SoCs.

Use USART_ISR_ prefix instead of USART_SR_ .

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