aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig.debug
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-06-20 10:52:51 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-06-23 12:01:19 -0400
commitc47185433ec38f38e94480bb9d731fcaa205e128 (patch)
tree6bf910ab8ef9cf4e641f94f80b41061ac9619920 /arch/arm/Kconfig.debug
parentac84b79fbd97117de54531efad2c526896be7d19 (diff)
ARM: sunxi: Add earlyprintk support using R_UART (sun6i/sun8i)
sun6i/sun8i have a UART in the RTC block group, which can be used as an early console. This is most useful on sun8i as UART0 is muxed with MMC0, which is not available if we boot from MMC. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-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 8f90595069a1..3548612b0bfe 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -715,6 +715,14 @@ choice
715 Say Y here if you want kernel low-level debugging support 715 Say Y here if you want kernel low-level debugging support
716 on Allwinner A1X based platforms on the UART1. 716 on Allwinner A1X based platforms on the UART1.
717 717
718 config DEBUG_SUNXI_R_UART
719 bool "Kernel low-level debugging messages via sunXi R_UART"
720 depends on MACH_SUN6I || MACH_SUN8I
721 select DEBUG_UART_8250
722 help
723 Say Y here if you want kernel low-level debugging support
724 on Allwinner A31/A23 based platforms on the R_UART.
725
718 config TEGRA_DEBUG_UART_AUTO_ODMDATA 726 config TEGRA_DEBUG_UART_AUTO_ODMDATA
719 bool "Kernel low-level debugging messages via Tegra UART via ODMDATA" 727 bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
720 depends on ARCH_TEGRA 728 depends on ARCH_TEGRA
@@ -1043,6 +1051,7 @@ config DEBUG_UART_PHYS
1043 default 0x01c28400 if DEBUG_SUNXI_UART1 1051 default 0x01c28400 if DEBUG_SUNXI_UART1
1044 default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1 1052 default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
1045 default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2 1053 default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
1054 default 0x01f02800 if DEBUG_SUNXI_R_UART
1046 default 0x02530c00 if DEBUG_KEYSTONE_UART0 1055 default 0x02530c00 if DEBUG_KEYSTONE_UART0
1047 default 0x02531000 if DEBUG_KEYSTONE_UART1 1056 default 0x02531000 if DEBUG_KEYSTONE_UART1
1048 default 0x03010fe0 if ARCH_RPC 1057 default 0x03010fe0 if ARCH_RPC
@@ -1118,6 +1127,7 @@ config DEBUG_UART_VIRT
1118 default 0xf1600000 if ARCH_INTEGRATOR 1127 default 0xf1600000 if ARCH_INTEGRATOR
1119 default 0xf1c28000 if DEBUG_SUNXI_UART0 1128 default 0xf1c28000 if DEBUG_SUNXI_UART0
1120 default 0xf1c28400 if DEBUG_SUNXI_UART1 1129 default 0xf1c28400 if DEBUG_SUNXI_UART1
1130 default 0xf1f02800 if DEBUG_SUNXI_R_UART
1121 default 0xf2100000 if DEBUG_PXA_UART1 1131 default 0xf2100000 if DEBUG_PXA_UART1
1122 default 0xf4090000 if ARCH_LPC32XX 1132 default 0xf4090000 if ARCH_LPC32XX
1123 default 0xf4200000 if ARCH_GEMINI 1133 default 0xf4200000 if ARCH_GEMINI