9
0
Fork 0
barebox/drivers/serial
Antony Pavlov cb76204fa8 ns16550: fix ier selection
The document "PC16550D Universal Asynchronous
Receiver Transmitter with FIFOs" (vers. June 1995,
http://www.national.com/ds/PC/PC16550D.pdf) states
that IER (Interrupt Enable Register) is accessible
if the bit DLAB = 0 (DLAB is bit 7 in LCR; in barebox
DLAB known as LCR_BKSE).

So before IER access we need set DLAB to 0.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-19 09:46:02 +01:00
..
Kconfig MACH SAMSUNG/S3C: Unify the UART driver for the S3C family of CPUs 2012-01-02 13:32:13 +01:00
Makefile MACH SAMSUNG/S3C: Unify the UART driver for the S3C family of CPUs 2012-01-02 13:32:13 +01:00
amba-pl011.c uart drivers: use xzalloc instead of xmalloc 2011-12-23 11:15:44 +01:00
arm_dcc.c arm_dcc: fix missing switch to resource 2011-08-10 14:53:06 +02:00
atmel.c uart drivers: use xzalloc instead of xmalloc 2011-12-23 11:15:44 +01:00
linux_console.c [SANDBOX] Move include/asm-sandbox/arch-* to arch/sandbox/*/include/mach 2009-10-22 14:21:29 +02:00
serial_altera.c uart drivers: use xzalloc instead of xmalloc 2011-12-23 11:15:44 +01:00
serial_altera_jtag.c uart drivers: use xzalloc instead of xmalloc 2011-12-23 11:15:44 +01:00
serial_blackfin.c uart drivers: use xzalloc instead of xmalloc 2011-12-23 11:15:44 +01:00
serial_imx.c uart drivers: use xzalloc instead of xmalloc 2011-12-23 11:15:44 +01:00
serial_mpc5xxx.c remove EARLY_INIT and EARLY_CONSOLE support 2011-09-27 10:27:18 +02:00
serial_netx.c uart drivers: use xzalloc instead of xmalloc 2011-12-23 11:15:44 +01:00
serial_ns16550.c ns16550: fix ier selection 2012-01-19 09:46:02 +01:00
serial_ns16550.h serial_ns16550: remove legacy code copied from U-Boot v1 2011-07-17 17:42:21 +02:00
serial_pl010.c uart drivers: use xzalloc instead of xmalloc 2011-12-23 11:15:44 +01:00
serial_pl010.h Add PrimeCell PL010 serial driver 2010-01-14 10:04:13 +01:00
serial_pxa.c arm/mach-pxa: Initial Intel/Marvell PXA support 2011-12-05 09:30:27 +01:00
serial_s3c.c MACH SAMSUNG/S3C: Unify the UART driver for the S3C family of CPUs 2012-01-02 13:32:13 +01:00
stm-serial.c introduce io.h 2011-09-22 19:03:05 +02:00