mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
serial: stm32: Fix bits defines name
Rename USART_ISR_FLAG_xxx bits to USART_ISR_xxx bits and USART_ICR_OREF to USART_ICR_ORECF in order to match datasheets. Sort defines by descendant order. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Tom Rini
parent
215c8bed12
commit
be1a6f775e
@@ -59,13 +59,13 @@ struct stm32x7_serial_platdata {
|
||||
|
||||
#define USART_CR3_OVRDIS BIT(12)
|
||||
|
||||
#define USART_ISR_FLAG_ORE BIT(3)
|
||||
#define USART_ISR_FLAG_RXNE BIT(5)
|
||||
#define USART_ISR_FLAG_TXE BIT(7)
|
||||
#define USART_ISR_TXE BIT(7)
|
||||
#define USART_ISR_RXNE BIT(5)
|
||||
#define USART_ISR_ORE BIT(3)
|
||||
|
||||
#define USART_BRR_F_MASK GENMASK(7, 0)
|
||||
#define USART_BRR_M_SHIFT 4
|
||||
#define USART_BRR_M_MASK GENMASK(15, 4)
|
||||
|
||||
#define USART_ICR_OREF BIT(3)
|
||||
#define USART_ICR_ORECF BIT(3)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user