Home
last modified time | relevance | path

Searched hist:b156d7b1cca1542f0c1c6f5d4354c43e048dc4a0 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/drivers/st/uart/aarch32/
H A Dstm32_console.Sb156d7b1cca1542f0c1c6f5d4354c43e048dc4a0 Wed Mar 29 12:23:49 UTC 2023 Yann Gautier <yann.gautier@foss.st.com> fix(st-uart): skip console flush if UART is disabled

Check the USART_CR1_UE bit and if it is 0, the UART is not enabled,
or not clocked (but the read won't freeze the bus and will return 0).
In this case skip the console flush.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Change-Id: I5d1ef7e51612b4795e314b2f2da04a514b6c96a0