Re: [U-Boot] [PATCH] AT91: Small fix on AT91 USART initialization code

2011-08-01 Thread Reinhard Meyer
Dear Hong Xu, > Before reset dbgu transmitter, we just wait TXEMPTY to drain the > transmitter register. If not doing this, we may sometimes see several > weird characters from DBGU. > > A short delay is also added to make sure the new serial settings are > settled. > > Signed-off-by: Hong Xu > ---

[U-Boot] [PATCH] AT91: Small fix on AT91 USART initialization code

2011-08-01 Thread Hong Xu
Before reset dbgu transmitter, we just wait TXEMPTY to drain the transmitter register. If not doing this, we may sometimes see several weird characters from DBGU. A short delay is also added to make sure the new serial settings are settled. Signed-off-by: Hong Xu --- drivers/serial/atmel_usart.