Re: [U-Boot] [PATCH 1/2] serial_bcm283x_mu: Flush RX queue after setting baud rate

2018-03-07 Thread Peter Robinson
On Tue, Mar 6, 2018 at 1:13 PM, Alexander Graf wrote: > After the UART was initialized, we may still have bogus data in the > RX queue if it was enabled with incorrect pin muxing before. > > So let's flush the RX queue whenever we initialize baud rates. > > This fixes a regression with the dynamic

[U-Boot] [PATCH 1/2] serial_bcm283x_mu: Flush RX queue after setting baud rate

2018-03-06 Thread Alexander Graf
After the UART was initialized, we may still have bogus data in the RX queue if it was enabled with incorrect pin muxing before. So let's flush the RX queue whenever we initialize baud rates. This fixes a regression with the dynamic pinmuxing code when enable_uart=1 is not set in config.txt. Fix