summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig.debug
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2016-02-05 04:49:22 -0500
committerOlof Johansson <olof@lixom.net>2016-02-08 16:52:34 -0500
commit0c5325466d5d4816c9bd13c56746aa26ed66231d (patch)
tree15236f341438e6d89d0253d32738e57628a39e9a /arch/arm/Kconfig.debug
parent388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 (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/Kconfig.debug')
-rw-r--r--arch/arm/Kconfig.debug9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index c6b6175d0203..1098e91d6d3f 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1368,6 +1368,7 @@ config DEBUG_SIRFSOC_UART
1368config DEBUG_LL_INCLUDE 1368config DEBUG_LL_INCLUDE
1369 string 1369 string
1370 default "debug/sa1100.S" if DEBUG_SA1100 1370 default "debug/sa1100.S" if DEBUG_SA1100
1371 default "debug/palmchip.S" if DEBUG_UART_8250_PALMCHIP
1371 default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 1372 default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
1372 default "debug/at91.S" if DEBUG_AT91_UART 1373 default "debug/at91.S" if DEBUG_AT91_UART
1373 default "debug/asm9260.S" if DEBUG_ASM9260_UART 1374 default "debug/asm9260.S" if DEBUG_ASM9260_UART
@@ -1656,6 +1657,14 @@ config DEBUG_UART_8250_WORD
1656 DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \ 1657 DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \
1657 DEBUG_BRCMSTB_UART 1658 DEBUG_BRCMSTB_UART
1658 1659
1660config DEBUG_UART_8250_PALMCHIP
1661 bool "8250 UART is Palmchip BK-310x"
1662 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
1663 help
1664 Palmchip provides a UART implementation compatible with 16550
1665 except for having a different register layout. Say Y here if
1666 the debug UART is of this type.
1667
1659config DEBUG_UART_8250_FLOW_CONTROL 1668config DEBUG_UART_8250_FLOW_CONTROL
1660 bool "Enable flow control for 8250 UART" 1669 bool "Enable flow control for 8250 UART"
1661 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 1670 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250