commit | 1f4faedd51ee72a57afb9edba2d71ba01a2ec20e | [log] [tgz] |
---|---|---|
author | Xu, Hong <Hong.Xu@atmel.com> | Tue Aug 02 01:05:04 2011 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Sat Sep 01 17:06:13 2012 +0200 |
tree | efe5bab5df41095ccbd183db051e9de26c6cfa45 | |
parent | 88461f164ed751b582998b28b93d5668d4afec56 [diff] |
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: Hong Xu <hong.xu@atmel.com> [cherry-picked from u-boot-atmel/old-next] Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>