summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9x5ek/at91sam9x5ek.c
diff options
context:
space:
mode:
authorXu, Hong <Hong.Xu@atmel.com>2011-08-02 01:05:04 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 15:06:13 (GMT)
commit1f4faedd51ee72a57afb9edba2d71ba01a2ec20e (patch)
treeefe5bab5df41095ccbd183db051e9de26c6cfa45 /board/atmel/at91sam9x5ek/at91sam9x5ek.c
parent88461f164ed751b582998b28b93d5668d4afec56 (diff)
downloadu-boot-1f4faedd51ee72a57afb9edba2d71ba01a2ec20e.tar.xz
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>
Diffstat (limited to 'board/atmel/at91sam9x5ek/at91sam9x5ek.c')
0 files changed, 0 insertions, 0 deletions