]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
ARM: EXYNOS: add UART3 to DEBUG_LL ports
authorOlof Johansson <olof@lixom.net>
Thu, 22 Nov 2012 05:24:04 +0000 (14:24 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 27 Nov 2012 23:04:21 +0000 (08:04 +0900)
Add support for using UART3 for DEBUG_LL on exynos.

[dianders: added depend on ARCH_EXYNOS.]

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/Kconfig.debug
arch/arm/plat-samsung/Kconfig

index b0f3857b3a4c647714a4d748726524e20f01bd4c..9d75ec26ae5235d95dc47ef1d5c2eba9237f24dc 100644 (file)
@@ -338,6 +338,17 @@ choice
                  The uncompressor code port configuration is now handled
                  by CONFIG_S3C_LOWLEVEL_UART_PORT.
 
+       config DEBUG_S3C_UART3
+               depends on PLAT_SAMSUNG && ARCH_EXYNOS
+               bool "Use S3C UART 3 for low-level debug"
+               help
+                 Say Y here if you want the debug print routines to direct
+                 their output to UART 3. The port must have been initialised
+                 by the boot-loader before use.
+
+                 The uncompressor code port configuration is now handled
+                 by CONFIG_S3C_LOWLEVEL_UART_PORT.
+
        config DEBUG_SOCFPGA_UART
                depends on ARCH_SOCFPGA
                bool "Use SOCFPGA UART for low-level debug"
index 59401e1cc530a5e6501905c29168b2ec20cb14fd..d342ed095c02cae820bc9f56aacbee4c617ed7d9 100644 (file)
@@ -502,5 +502,6 @@ config DEBUG_S3C_UART
        default "0" if DEBUG_S3C_UART0
        default "1" if DEBUG_S3C_UART1
        default "2" if DEBUG_S3C_UART2
+       default "3" if DEBUG_S3C_UART3
 
 endif