From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Tue, 02 Aug 2011 12:29:14 +0000 Subject: [U-Boot] [PATCH V3] AT91: Small fix on AT91 USART initialization code In-Reply-To: <1312283104-15060-1-git-send-email-hong.xu@atmel.com> References: <1312283104-15060-1-git-send-email-hong.xu@atmel.com> Message-ID: <1312288154.31913.60.camel@ubuntu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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