diff options
author | Mans Rullgard <mans@mansr.com> | 2016-02-05 10:49:22 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2016-02-08 13:52:34 -0800 |
commit | 0c5325466d5d4816c9bd13c56746aa26ed66231d (patch) | |
tree | 15236f341438e6d89d0253d32738e57628a39e9a /arch/arm/include/debug/palmchip.S | |
parent | 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 (diff) |
ARM: debug: add support for Palmchip BK-310x UART
Some SoCs use a Palmchip BK-310x UART which is mostly 16550 compatible
but with a different register layout. While this UART has previously
only been supported in MIPS based chips (Alchemy, Ralink), the ARM based
SMP87xx series from Sigma Designs also uses it.
This patch allows the debug console to work with this type of UART.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/include/debug/palmchip.S')
-rw-r--r-- | arch/arm/include/debug/palmchip.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/debug/palmchip.S b/arch/arm/include/debug/palmchip.S new file mode 100644 index 000000000000..6824b2d1c38e --- /dev/null +++ b/arch/arm/include/debug/palmchip.S @@ -0,0 +1,11 @@ +#include <linux/serial_reg.h> + +#undef UART_TX +#undef UART_LSR +#undef UART_MSR + +#define UART_TX 1 +#define UART_LSR 7 +#define UART_MSR 8 + +#include <debug/8250.S> |