From 0c5325466d5d4816c9bd13c56746aa26ed66231d Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Fri, 5 Feb 2016 10:49:22 +0100 Subject: 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 Signed-off-by: Marc Gonzalez Acked-by: Arnd Bergmann Acked-by: Kevin Hilman Signed-off-by: Olof Johansson --- arch/arm/include/debug/palmchip.S | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 arch/arm/include/debug/palmchip.S (limited to 'arch/arm/include/debug') 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 + +#undef UART_TX +#undef UART_LSR +#undef UART_MSR + +#define UART_TX 1 +#define UART_LSR 7 +#define UART_MSR 8 + +#include -- cgit