]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
OMAP5912: fix FIFO handling in UART driver
authorWolfgang Denk <wd@denx.de>
Thu, 27 Dec 2007 09:56:54 +0000 (10:56 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 4 Feb 2008 23:04:15 +0000 (00:04 +0100)
commit7ec8bb15ee368ea54d48d64867767a704d9ab4c2
tree4e2df3fe3e56fca089d31ac9d3f4b17bd82115cd
parent16158778b5f52f201e95ded2d2d9084b0ed5670d
OMAP5912: fix FIFO handling in UART driver

According to the OMAP5912 Serial Interfaces Reference Guide (see
http://focus.ti.com/lit/ug/spru760c/spru760c.pdf, page 150), the
FIFO_EN enable bit in the FIFO Control Register (FCR) can only be
changed when the baud clock is not running, i. e. when both DLL and
DLH are set to 0.

Thus make sure that DLL and DLH are 0 when writing the FCR.

Signed-off-by: Wolfgang Denk <wd@denx.de>
drivers/serial/ns16550.c