firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_arch-arm-Kconfig.debug.p...

62 lines
2.1 KiB
Diff

--- linux-4.9.37/arch/arm/Kconfig.debug 2017-07-12 16:42:41.000000000 +0300
+++ linux-4.9.y/arch/arm/Kconfig.debug 2021-06-07 13:01:32.000000000 +0300
@@ -287,6 +287,38 @@
Say Y here if you want kernel low-level debugging support
on HI3620 UART.
+ config DEBUG_GK7205V200_UART
+ bool "Goke GK7205V200 Debug UART"
+ depends on ARCH_GK7205V200
+ select DEBUG_UART_PL01X
+ help
+ Say Y here if you want kernel low-level debugging support
+ on GK7205V200 UART.
+
+ config DEBUG_GK7205V300_UART
+ bool "Goke GK7205V300 Debug UART"
+ depends on ARCH_GK7205V300
+ select DEBUG_UART_PL01X
+ help
+ Say Y here if you want kernel low-level debugging support
+ on GK7205V300 UART.
+
+ config DEBUG_GK7202V300_UART
+ bool "Goke GK7202V300 Debug UART"
+ depends on ARCH_GK7202V300
+ select DEBUG_UART_PL01X
+ help
+ Say Y here if you want kernel low-level debugging support
+ on GK7202V300 UART.
+
+ config DEBUG_GK7605V100_UART
+ bool "Goke GK7605V100 Debug UART"
+ depends on ARCH_GK7605V100
+ select DEBUG_UART_PL01X
+ help
+ Say Y here if you want kernel low-level debugging support
+ on GK7605V100 UART.
+
config DEBUG_HIGHBANK_UART
bool "Kernel low-level debugging messages via Highbank UART"
depends on ARCH_HIGHBANK
@@ -1530,6 +1562,9 @@
default 0xf991e000 if DEBUG_QCOM_UARTDM
default 0xfc00c000 if DEBUG_AT91_SAMA5D4_USART3
default 0xfcb00000 if DEBUG_HI3620_UART
+ default 0x12040000 if DEBUG_GK7205V200_UART
+ default 0x12040000 if DEBUG_GK7205V300_UART
+ default 0x12040000 if DEBUG_GK7202V300_UART
default 0xfd883000 if DEBUG_ALPINE_UART0
default 0xfe800000 if ARCH_IOP32X
default 0xff690000 if DEBUG_RK32_UART2
@@ -1619,6 +1654,9 @@
default 0xfe300000 if DEBUG_BCM_KONA_UART
default 0xfe800000 if ARCH_IOP32X
default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
+ default 0xfe440000 if DEBUG_GK7205V200_UART
+ default 0xfe440000 if DEBUG_GK7205V300_UART
+ default 0xfe440000 if DEBUG_GK7202V300_UART
default 0xfeb24000 if DEBUG_RK3X_UART0
default 0xfeb26000 if DEBUG_RK3X_UART1
default 0xfeb30c00 if DEBUG_KEYSTONE_UART0