tty/serial: 8250_early: Add support for PXA UARTs
authorRob Herring <robh@kernel.org>
Tue, 27 Jan 2015 04:50:09 +0000 (22:50 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:28 +0000 (10:11 -0800)
commita4c639b04f301ddc3f71bc0f2600c3759846db43
treea361ab40820d46607a1d4d143934964f5b57bb13
parent6ad991b699b4e74af980d08086a99badcb175b37
tty/serial: 8250_early: Add support for PXA UARTs

The PXA variant of the 8250 UART adds a UART enable bit which must not
be cleared. Make the earlycon support maintain this bit if it is set.
This implies some initialization of the UART, but we cannot
unconditionally set the bit as some other variants require this bit to
be clear for other functions.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_early.c