[PATCH 1/2] serial: stm32: Wait TC bit before performing initialization
Patrice CHOTARD
patrice.chotard at foss.st.com
Fri Jun 16 13:34:49 CEST 2023
On 6/16/23 11:02, Patrick DELAUNAY wrote:
> Hi,
>
> On 5/31/23 08:01, Patrice Chotard wrote:
>> In case there is still chars from previous bootstage to transmit, wait
>> for TC (Transmission Complete) bit to be set which ensure that the last
>> data written in the USART_TDR has been transmitted out of the shift
>> register.
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
>> ---
>>
>> drivers/serial/serial_stm32.c | 15 +++++++++++++++
>> drivers/serial/serial_stm32.h | 1 +
>> 2 files changed, 16 insertions(+)
>>
>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
>
> Thanks
> Patrick
>
>
Applied to u-boot-stm/next
Thanks
Patrice
More information about the U-Boot
mailing list