diff options
author | Heiko Stuebner <heiko@sntech.de> | 2014-06-28 07:31:17 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-07-26 07:07:14 -0400 |
commit | efd02ee92b3efae6f4f1056640d407ac45c4051c (patch) | |
tree | a5bb984e9508e815e202654dae3bc312caf5aaca | |
parent | aa9c4f740d821b623eb5f313538ac2912ebcb2d0 (diff) |
ARM: rockchip: add debug uart used by rk3288
The uarts on rk3288 are still compatible with the dw_8250, but located
at a different position and need DEBUG_UART_8250_WORD enabled.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Tested-by: Will Deacon <will.deacon@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/Kconfig.debug | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index a8dbf5e51d11..8dcc00d44dab 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -613,6 +613,14 @@ choice | |||
613 | Say Y here if you want kernel low-level debugging support | 613 | Say Y here if you want kernel low-level debugging support |
614 | on Rockchip based platforms. | 614 | on Rockchip based platforms. |
615 | 615 | ||
616 | config DEBUG_RK32_UART2 | ||
617 | bool "Kernel low-level debugging messages via Rockchip RK32 UART2" | ||
618 | depends on ARCH_ROCKCHIP | ||
619 | select DEBUG_UART_8250 | ||
620 | help | ||
621 | Say Y here if you want kernel low-level debugging support | ||
622 | on Rockchip RK32xx based platforms. | ||
623 | |||
616 | config DEBUG_S3C_UART0 | 624 | config DEBUG_S3C_UART0 |
617 | depends on PLAT_SAMSUNG | 625 | depends on PLAT_SAMSUNG |
618 | select DEBUG_EXYNOS_UART if ARCH_EXYNOS | 626 | select DEBUG_EXYNOS_UART if ARCH_EXYNOS |
@@ -1096,6 +1104,7 @@ config DEBUG_UART_PHYS | |||
1096 | default 0xf991e000 if DEBUG_QCOM_UARTDM | 1104 | default 0xf991e000 if DEBUG_QCOM_UARTDM |
1097 | default 0xfcb00000 if DEBUG_HI3620_UART | 1105 | default 0xfcb00000 if DEBUG_HI3620_UART |
1098 | default 0xfe800000 if ARCH_IOP32X | 1106 | default 0xfe800000 if ARCH_IOP32X |
1107 | default 0xff690000 if DEBUG_RK32_UART2 | ||
1099 | default 0xffc02000 if DEBUG_SOCFPGA_UART | 1108 | default 0xffc02000 if DEBUG_SOCFPGA_UART |
1100 | default 0xffd82340 if ARCH_IOP13XX | 1109 | default 0xffd82340 if ARCH_IOP13XX |
1101 | default 0xfff36000 if DEBUG_HIGHBANK_UART | 1110 | default 0xfff36000 if DEBUG_HIGHBANK_UART |
@@ -1152,6 +1161,7 @@ config DEBUG_UART_VIRT | |||
1152 | default 0xfec02000 if DEBUG_SOCFPGA_UART | 1161 | default 0xfec02000 if DEBUG_SOCFPGA_UART |
1153 | default 0xfec12000 if DEBUG_MVEBU_UART || DEBUG_MVEBU_UART_ALTERNATE | 1162 | default 0xfec12000 if DEBUG_MVEBU_UART || DEBUG_MVEBU_UART_ALTERNATE |
1154 | default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0 | 1163 | default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0 |
1164 | default 0xfec90000 if DEBUG_RK32_UART2 | ||
1155 | default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1 | 1165 | default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1 |
1156 | default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 | 1166 | default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 |
1157 | default 0xfed12000 if ARCH_KIRKWOOD | 1167 | default 0xfed12000 if ARCH_KIRKWOOD |
@@ -1186,7 +1196,7 @@ config DEBUG_UART_8250_WORD | |||
1186 | ARCH_KEYSTONE || \ | 1196 | ARCH_KEYSTONE || \ |
1187 | DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \ | 1197 | DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \ |
1188 | DEBUG_DAVINCI_DA8XX_UART2 || \ | 1198 | DEBUG_DAVINCI_DA8XX_UART2 || \ |
1189 | DEBUG_BCM_KONA_UART | 1199 | DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 |
1190 | 1200 | ||
1191 | config DEBUG_UART_8250_FLOW_CONTROL | 1201 | config DEBUG_UART_8250_FLOW_CONTROL |
1192 | bool "Enable flow control for 8250 UART" | 1202 | bool "Enable flow control for 8250 UART" |