Skip to content
Snippets Groups Projects
Commit 1f4faedd authored by Xu, Hong's avatar Xu, Hong Committed by Albert ARIBAUD
Browse files

AT91: Small fix on AT91 USART initialization code


Before reset dbgu transmitter, we just wait TXEMPTY to drain the
transmitter register(Just in case). 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: default avatarHong Xu <hong.xu@atmel.com>
[cherry-picked from u-boot-atmel/old-next]
Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent 88461f16
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment