diff options
author | Jun Nie <jun.nie@linaro.org> | 2015-04-28 05:18:07 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-05-15 15:49:27 -0400 |
commit | 58d0398535647e1bb03e552d2f571d1dee55398c (patch) | |
tree | 355fbefe78f9f3ef8681abfb2002fbfc5470ae1c /arch/arm/Kconfig.debug | |
parent | acede515b3a5997becc5736657e11f4f410a8235 (diff) |
ARM: zx: add low level debug support for zx296702
Use the UART0 peripheral for low level debug. Only the UART port 0 is
currently supported.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 8e354a710d0b..1515cb642372 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -1166,6 +1166,18 @@ choice | |||
1166 | For more details about semihosting, please see | 1166 | For more details about semihosting, please see |
1167 | chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd. | 1167 | chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd. |
1168 | 1168 | ||
1169 | config DEBUG_ZTE_ZX | ||
1170 | bool "Use ZTE ZX UART" | ||
1171 | select DEBUG_UART_PL01X | ||
1172 | depends on ARCH_ZX | ||
1173 | help | ||
1174 | Say Y here if you are enabling ZTE ZX296702 SOC and need | ||
1175 | debug uart support. | ||
1176 | |||
1177 | This option is preferred over the platform specific | ||
1178 | options; the platform specific options are deprecated | ||
1179 | and will be soon removed. | ||
1180 | |||
1169 | config DEBUG_LL_UART_8250 | 1181 | config DEBUG_LL_UART_8250 |
1170 | bool "Kernel low-level debugging via 8250 UART" | 1182 | bool "Kernel low-level debugging via 8250 UART" |
1171 | help | 1183 | help |
@@ -1346,6 +1358,7 @@ config DEBUG_UART_PHYS | |||
1346 | default 0x02531000 if DEBUG_KEYSTONE_UART1 | 1358 | default 0x02531000 if DEBUG_KEYSTONE_UART1 |
1347 | default 0x03010fe0 if ARCH_RPC | 1359 | default 0x03010fe0 if ARCH_RPC |
1348 | default 0x07000000 if DEBUG_SUN9I_UART0 | 1360 | default 0x07000000 if DEBUG_SUN9I_UART0 |
1361 | default 0x09405000 if DEBUG_ZTE_ZX | ||
1349 | default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \ | 1362 | default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \ |
1350 | DEBUG_VEXPRESS_UART0_CA9 | 1363 | DEBUG_VEXPRESS_UART0_CA9 |
1351 | default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT | 1364 | default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT |
@@ -1477,6 +1490,7 @@ config DEBUG_UART_VIRT | |||
1477 | default 0xfb009000 if DEBUG_REALVIEW_STD_PORT | 1490 | default 0xfb009000 if DEBUG_REALVIEW_STD_PORT |
1478 | default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT | 1491 | default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT |
1479 | default 0xfc40ab00 if DEBUG_BRCMSTB_UART | 1492 | default 0xfc40ab00 if DEBUG_BRCMSTB_UART |
1493 | default 0xfc705000 if DEBUG_ZTE_ZX | ||
1480 | default 0xfcfe8600 if DEBUG_UART_BCM63XX | 1494 | default 0xfcfe8600 if DEBUG_UART_BCM63XX |
1481 | default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX | 1495 | default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX |
1482 | default 0xfd000000 if ARCH_SPEAR13XX | 1496 | default 0xfd000000 if ARCH_SPEAR13XX |