aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-09-24 10:48:56 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-10-20 08:48:59 -0400
commitd4da889a53d9dabe1c75384f3175dab7ff06c4ee (patch)
tree6e5229e6c20f94691eb28ec1b1b80de7d6b3467a
parent0da6e72504f327c051979745843b5c614565e2ed (diff)
ARM: sunxi: Add debug uart used by sun9i (Allwinner A80)
The uarts on sun9i are still compatible with the dw_8250, but are located at different addresses. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/Kconfig.debug10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 03dc4c1a8736..0bc06ab9fb86 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -731,6 +731,14 @@ choice
731 Say Y here if you want kernel low-level debugging support 731 Say Y here if you want kernel low-level debugging support
732 on SOCFPGA based platforms. 732 on SOCFPGA based platforms.
733 733
734 config DEBUG_SUN9I_UART0
735 bool "Kernel low-level debugging messages via sun9i UART0"
736 depends on MACH_SUN9I
737 select DEBUG_UART_8250
738 help
739 Say Y here if you want kernel low-level debugging support
740 on Allwinner A80 based platforms on the UART0.
741
734 config DEBUG_SUNXI_UART0 742 config DEBUG_SUNXI_UART0
735 bool "Kernel low-level debugging messages via sunXi UART0" 743 bool "Kernel low-level debugging messages via sunXi UART0"
736 depends on ARCH_SUNXI 744 depends on ARCH_SUNXI
@@ -1106,6 +1114,7 @@ config DEBUG_UART_PHYS
1106 default 0x02530c00 if DEBUG_KEYSTONE_UART0 1114 default 0x02530c00 if DEBUG_KEYSTONE_UART0
1107 default 0x02531000 if DEBUG_KEYSTONE_UART1 1115 default 0x02531000 if DEBUG_KEYSTONE_UART1
1108 default 0x03010fe0 if ARCH_RPC 1116 default 0x03010fe0 if ARCH_RPC
1117 default 0x07000000 if DEBUG_SUN9I_UART0
1109 default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \ 1118 default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
1110 DEBUG_VEXPRESS_UART0_CA9 1119 DEBUG_VEXPRESS_UART0_CA9
1111 default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT 1120 default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
@@ -1190,6 +1199,7 @@ config DEBUG_UART_VIRT
1190 default 0xf2100000 if DEBUG_PXA_UART1 1199 default 0xf2100000 if DEBUG_PXA_UART1
1191 default 0xf4090000 if ARCH_LPC32XX 1200 default 0xf4090000 if ARCH_LPC32XX
1192 default 0xf4200000 if ARCH_GEMINI 1201 default 0xf4200000 if ARCH_GEMINI
1202 default 0xf7000000 if DEBUG_SUN9I_UART0
1193 default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \ 1203 default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
1194 DEBUG_S3C2410_UART0) 1204 DEBUG_S3C2410_UART0)
1195 default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \ 1205 default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \