diff mbox

[v5,4/6] ARM: debug: add hi3519 debug uart

Message ID 1452219400-32478-5-git-send-email-xuejiancheng@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jiancheng Xue Jan. 8, 2016, 2:16 a.m. UTC
add hi3519 debug uart.

Signed-off-by: Jiancheng Xue <xuejiancheng@huawei.com>
---
 arch/arm/Kconfig.debug | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Russell King - ARM Linux Jan. 8, 2016, 3:08 p.m. UTC | #1
On Fri, Jan 08, 2016 at 10:16:38AM +0800, Jiancheng Xue wrote:
> @@ -1449,6 +1457,7 @@ config DEBUG_UART_PHYS
>  	default 0xf7fc9000 if DEBUG_BERLIN_UART
>  	default 0xf8b00000 if DEBUG_HIX5HD2_UART
>  	default 0xf991e000 if DEBUG_QCOM_UARTDM
> +	default 0x12100000 if DEBUG_HI3519_UART
>  	default 0xfcb00000 if DEBUG_HI3620_UART
>  	default 0xfd883000 if DEBUG_ALPINE_UART0
>  	default 0xfe800000 if ARCH_IOP32X

Please insert at the appropriate location - examination of the list
of defaults will show that it's sorted numerically, please keep this
sorted numerically.

> @@ -1529,6 +1538,7 @@ config DEBUG_UART_VIRT
>  	default 0xfe230000 if DEBUG_PICOXCELL_UART
>  	default 0xfe300000 if DEBUG_BCM_KONA_UART
>  	default 0xfe800000 if ARCH_IOP32X
> +	default 0xfef00000 if DEBUG_HI3519_UART
>  	default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
>  	default 0xfeb24000 if DEBUG_RK3X_UART0
>  	default 0xfeb26000 if DEBUG_RK3X_UART1

Same for here.

Thanks.
Jiancheng Xue Jan. 11, 2016, 2:32 a.m. UTC | #2
Hello Russell,

On 2016/1/8 23:08, Russell King - ARM Linux wrote:
> On Fri, Jan 08, 2016 at 10:16:38AM +0800, Jiancheng Xue wrote:
>> @@ -1449,6 +1457,7 @@ config DEBUG_UART_PHYS
>>  	default 0xf7fc9000 if DEBUG_BERLIN_UART
>>  	default 0xf8b00000 if DEBUG_HIX5HD2_UART
>>  	default 0xf991e000 if DEBUG_QCOM_UARTDM
>> +	default 0x12100000 if DEBUG_HI3519_UART
>>  	default 0xfcb00000 if DEBUG_HI3620_UART
>>  	default 0xfd883000 if DEBUG_ALPINE_UART0
>>  	default 0xfe800000 if ARCH_IOP32X
> 
> Please insert at the appropriate location - examination of the list
> of defaults will show that it's sorted numerically, please keep this
> sorted numerically.
> 

OK. Thank you!

>> @@ -1529,6 +1538,7 @@ config DEBUG_UART_VIRT
>>  	default 0xfe230000 if DEBUG_PICOXCELL_UART
>>  	default 0xfe300000 if DEBUG_BCM_KONA_UART
>>  	default 0xfe800000 if ARCH_IOP32X
>> +	default 0xfef00000 if DEBUG_HI3519_UART
>>  	default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
>>  	default 0xfeb24000 if DEBUG_RK3X_UART0
>>  	default 0xfeb26000 if DEBUG_RK3X_UART1
> 
> Same for here.
> 
> Thanks.
>
diff mbox

Patch

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 259c0ca..29af057 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -270,6 +270,14 @@  choice
 		  Say Y here if you want the debug print routines to direct
 		  their output to the 8250 at PCI COM1.
 
+	config DEBUG_HI3519_UART
+		bool "Hisilicon Hi3519 Debug UART"
+		depends on ARCH_HISI
+		select DEBUG_UART_PL01X
+		help
+		  Say Y here if you want kernel low-level debugging support
+		  on HI3519 UART.
+
 	config DEBUG_HI3620_UART
 		bool "Hisilicon HI3620 Debug UART"
 		depends on ARCH_HI3xxx
@@ -1449,6 +1457,7 @@  config DEBUG_UART_PHYS
 	default 0xf7fc9000 if DEBUG_BERLIN_UART
 	default 0xf8b00000 if DEBUG_HIX5HD2_UART
 	default 0xf991e000 if DEBUG_QCOM_UARTDM
+	default 0x12100000 if DEBUG_HI3519_UART
 	default 0xfcb00000 if DEBUG_HI3620_UART
 	default 0xfd883000 if DEBUG_ALPINE_UART0
 	default 0xfe800000 if ARCH_IOP32X
@@ -1529,6 +1538,7 @@  config DEBUG_UART_VIRT
 	default 0xfe230000 if DEBUG_PICOXCELL_UART
 	default 0xfe300000 if DEBUG_BCM_KONA_UART
 	default 0xfe800000 if ARCH_IOP32X
+	default 0xfef00000 if DEBUG_HI3519_UART
 	default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
 	default 0xfeb24000 if DEBUG_RK3X_UART0
 	default 0xfeb26000 if DEBUG_RK3X_UART1