aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig.debug
diff options
context:
space:
mode:
authorCarlo Caione <carlo@caione.org>2014-09-09 15:38:00 -0400
committerArnd Bergmann <arnd@arndb.de>2014-09-25 11:31:53 -0400
commitd8a00916b30313879c814144c18f27b8100bc401 (patch)
treee4ebab5a6f96f7b8c6e9e464e8bc6e9bfeb96e7b /arch/arm/Kconfig.debug
parent4fdea26762c6095b18c22ca19bc3857064620ae4 (diff)
ARM: meson: debug: add debug UART for earlyprintk support
Add the UART definitions needed to support earlyprintk for MesonX SoCs on UARTAO. Signed-off-by: Carlo Caione <carlo@caione.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r--arch/arm/Kconfig.debug14
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index eb3913fd07e7..2dc9f6cd3c38 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -356,6 +356,13 @@ choice
356 Say Y here if you want the debug print routines to direct 356 Say Y here if you want the debug print routines to direct
357 their output to UART1 serial port on KEYSTONE2 devices. 357 their output to UART1 serial port on KEYSTONE2 devices.
358 358
359 config DEBUG_MESON_UARTAO
360 bool "Kernel low-level debugging via Meson6 UARTAO"
361 depends on ARCH_MESON
362 help
363 Say Y here if you want kernel low-lever debugging support
364 on Amlogic Meson6 based platforms on the UARTAO.
365
359 config DEBUG_MMP_UART2 366 config DEBUG_MMP_UART2
360 bool "Kernel low-level debugging message via MMP UART2" 367 bool "Kernel low-level debugging message via MMP UART2"
361 depends on ARCH_MMP 368 depends on ARCH_MMP
@@ -1027,6 +1034,7 @@ config DEBUG_LL_INCLUDE
1027 string 1034 string
1028 default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 1035 default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
1029 default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2 1036 default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
1037 default "debug/meson.S" if DEBUG_MESON_UARTAO
1030 default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X 1038 default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
1031 default "debug/exynos.S" if DEBUG_EXYNOS_UART 1039 default "debug/exynos.S" if DEBUG_EXYNOS_UART
1032 default "debug/efm32.S" if DEBUG_LL_UART_EFM32 1040 default "debug/efm32.S" if DEBUG_LL_UART_EFM32
@@ -1123,6 +1131,7 @@ config DEBUG_UART_PHYS
1123 default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN 1131 default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
1124 default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX 1132 default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
1125 default 0xd0012000 if DEBUG_MVEBU_UART 1133 default 0xd0012000 if DEBUG_MVEBU_UART
1134 default 0xc81004c0 if DEBUG_MESON_UARTAO
1126 default 0xd4017000 if DEBUG_MMP_UART2 1135 default 0xd4017000 if DEBUG_MMP_UART2
1127 default 0xd4018000 if DEBUG_MMP_UART3 1136 default 0xd4018000 if DEBUG_MMP_UART3
1128 default 0xe0000000 if ARCH_SPEAR13XX 1137 default 0xe0000000 if ARCH_SPEAR13XX
@@ -1143,7 +1152,7 @@ config DEBUG_UART_PHYS
1143 default 0xfffff700 if ARCH_IOP33X 1152 default 0xfffff700 if ARCH_IOP33X
1144 depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ 1153 depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
1145 DEBUG_LL_UART_EFM32 || \ 1154 DEBUG_LL_UART_EFM32 || \
1146 DEBUG_UART_8250 || DEBUG_UART_PL01X || \ 1155 DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
1147 DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART 1156 DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART
1148 1157
1149config DEBUG_UART_VIRT 1158config DEBUG_UART_VIRT
@@ -1182,6 +1191,7 @@ config DEBUG_UART_VIRT
1182 default 0xfd012000 if ARCH_MV78XX0 1191 default 0xfd012000 if ARCH_MV78XX0
1183 default 0xfde12000 if ARCH_DOVE 1192 default 0xfde12000 if ARCH_DOVE
1184 default 0xfe012000 if ARCH_ORION5X 1193 default 0xfe012000 if ARCH_ORION5X
1194 default 0xf31004c0 if DEBUG_MESON_UARTAO
1185 default 0xfe017000 if DEBUG_MMP_UART2 1195 default 0xfe017000 if DEBUG_MMP_UART2
1186 default 0xfe018000 if DEBUG_MMP_UART3 1196 default 0xfe018000 if DEBUG_MMP_UART3
1187 default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART 1197 default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
@@ -1213,7 +1223,7 @@ config DEBUG_UART_VIRT
1213 default 0xff003000 if DEBUG_U300_UART 1223 default 0xff003000 if DEBUG_U300_UART
1214 default DEBUG_UART_PHYS if !MMU 1224 default DEBUG_UART_PHYS if !MMU
1215 depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ 1225 depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
1216 DEBUG_UART_8250 || DEBUG_UART_PL01X || \ 1226 DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
1217 DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART 1227 DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART
1218 1228
1219config DEBUG_UART_8250_SHIFT 1229config DEBUG_UART_8250_SHIFT