Skip to content

Commit c5fdb66

Browse files
Kefeng Wangjoyxu
authored andcommitted
ARM: debug: add UART early console support for SD5203
Add support of early console for SD5203. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
1 parent c083144 commit c5fdb66

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

arch/arm/Kconfig.debug

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,14 @@ choice
10861086
on SA-11x0 UART ports. The kernel will check for the first
10871087
enabled UART in a sequence 3-1-2.
10881088

1089+
config DEBUG_SD5203_UART
1090+
bool "Hisilicon SD5203 Debug UART"
1091+
depends on ARCH_SD5203
1092+
select DEBUG_UART_8250
1093+
help
1094+
Say Y here if you want kernel low-level debugging support
1095+
on SD5203 UART.
1096+
10891097
config DEBUG_SOCFPGA_UART0
10901098
depends on ARCH_SOCFPGA
10911099
bool "Use SOCFPGA UART0 for low-level debug"
@@ -1639,6 +1647,7 @@ config DEBUG_UART_PHYS
16391647
default 0x11006000 if DEBUG_MT6589_UART0
16401648
default 0x11009000 if DEBUG_MT8135_UART3
16411649
default 0x16000000 if DEBUG_INTEGRATOR
1650+
default 0x1600d000 if DEBUG_SD5203_UART
16421651
default 0x18000300 if DEBUG_BCM_5301X
16431652
default 0x18000400 if DEBUG_BCM_HR2
16441653
default 0x18010000 if DEBUG_SIRFATLAS7_UART0
@@ -1841,7 +1850,7 @@ config DEBUG_UART_VIRT
18411850
default 0xfec60000 if DEBUG_SIRFPRIMA2_UART1
18421851
default 0xfec90000 if DEBUG_RK32_UART2
18431852
default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
1844-
default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2
1853+
default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_SD5203_UART
18451854
default 0xfed60000 if DEBUG_RK29_UART0
18461855
default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
18471856
default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3

0 commit comments

Comments
 (0)