ARM: debug: add HiP04 debug uart
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Fri, 20 Dec 2013 07:01:41 +0000 (15:01 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Wed, 3 Sep 2014 13:10:46 +0000 (14:10 +0100)
Add the support of Hisilicon HiP04 debug uart.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/Kconfig.debug

index b11ad54f8d17fa6bfcdc388cbba397814d349bed..59a6dabaf28d5a1157b0e61a4b316c7292811be0 100644 (file)
@@ -231,6 +231,14 @@ choice
                  Say Y here if you want kernel low-level debugging support
                  on Hix5hd2 UART.
 
+       config DEBUG_HIP04_UART
+               bool "Hisilicon HiP04 Debug UART"
+               depends on ARCH_HIP04
+               select DEBUG_UART_8250
+               help
+                 Say Y here if you want kernel low-level debugging support
+                 on HIP04 UART.
+
        config DEBUG_HIGHBANK_UART
                bool "Kernel low-level debugging messages via Highbank UART"
                depends on ARCH_HIGHBANK
@@ -1109,6 +1117,7 @@ config DEBUG_UART_PHYS
        default 0xd4017000 if DEBUG_MMP_UART2
        default 0xd4018000 if DEBUG_MMP_UART3
        default 0xe0000000 if ARCH_SPEAR13XX
+       default 0xe4007000 if DEBUG_HIP04_UART
        default 0xf0000be0 if ARCH_EBSA110
        default 0xf1012000 if DEBUG_MVEBU_UART_ALTERNATE
        default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \
@@ -1152,6 +1161,7 @@ config DEBUG_UART_VIRT
        default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
                                DEBUG_S3C2410_UART2)
        default 0xf7fc9000 if DEBUG_BERLIN_UART
+       default 0xf8007000 if DEBUG_HIP04_UART
        default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
        default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
        default 0xfa71e000 if DEBUG_QCOM_UARTDM