CHROMIUM: ARM: exynos: add UART3 to DEBUG_LL ports
authorOlof Johansson <olofj@chromium.org>
Fri, 13 Apr 2012 17:47:20 +0000 (10:47 -0700)
committerOlof Johansson <olofj@chromium.org>
Wed, 20 Jun 2012 18:49:57 +0000 (11:49 -0700)
Turns out that the uart we're using is not supported for DEBUG_LL on
the samsung platform port. I'll upstream this as well.

BUG=none
TEST=boot with DEBUG_LL, see output on serial

Change-Id: Ia8e1d8243205a990acb2ed75a33c2e65c913969d
Signed-off-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: https://gerrit-int.chromium.org/15740
Reviewed-by: Doug Anderson <dianders@google.com>
Commit-Ready: Olof Johansson <olofj@google.com>
Tested-by: Olof Johansson <olofj@google.com>
arch/arm/Kconfig.debug
arch/arm/plat-samsung/Kconfig

index 85348a0..00dc068 100644 (file)
@@ -224,6 +224,17 @@ choice
                  Say Y here if you want the debug print routines to direct
                  their output to the serial port on MSM 8960 devices.
 
+       config DEBUG_S3C_UART3
+               depends on PLAT_SAMSUNG
+               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_REALVIEW_STD_PORT
                bool "RealView Default UART"
                depends on ARCH_REALVIEW
index 77e65b4..cae31b4 100644 (file)
@@ -365,5 +365,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