[U-Boot] [PATCH V3] AT91: Small fix on AT91 USART initialization code
Reinhard Meyer
u-boot at emk-elektronik.de
Tue Aug 2 14:29:14 CEST 2011
Dear Hong Xu,
> 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 at atmel.com>
> ---
> Changes since V2,
> Using __udelay to avoid potential endless loop
>
> drivers/serial/atmel_usart.c | 11 ++++++++++-
> 1 files changed, 10 insertions(+), 1 deletions(-)
Applied to u-boot-atmel/next.
Thanks,
Reinhard
More information about the U-Boot
mailing list