]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
serial: pl01x: fix pl011 baud rate configuration
authorVikas Manocha <vikas.manocha@st.com>
Fri, 21 Nov 2014 18:34:20 +0000 (10:34 -0800)
committerTom Rini <trini@ti.com>
Mon, 8 Dec 2014 14:35:44 +0000 (09:35 -0500)
commit2df810717e8737b9c4a7d2a93b0100fcd7eae84f
tree8f67fc9aab3b18c3b04de0dfea7fe436b08c4543
parenta7deea691c5e85bdf8bc456dd41d5aadc1e49450
serial: pl01x: fix pl011 baud rate configuration

UART_IBRD, UART_FBRD, and UART_LCR_H form a single 30-bit wide register which
is updated on a single write strobe generated by a UART_LCR_H write. So, to
internally update the content of UART_IBRD or UART_FBRD, a write to UART_LCR_H
must always be performed at the end.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_pl01x.c