Skip to contentSkip to conversation

ARM: exynos: add UART3 to DEBUG_LL ports

PATCH New Olof Johansson 2 participants 2 messages Jun 4, 2012 – Jun 19, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: exynos: add UART3 to DEBUG_LL ports

Add support for using UART3 for DEBUG_LL on exynos.

---
 arch/arm/Kconfig.debug        | 11 +++++++++++
 arch/arm/plat-samsung/Kconfig |  1 +
 2 files changed, 12 insertions(+)
arch/arm/Kconfig.debug +11 -0
index 01a1341..da84061 100644
@@ -310,6 +310,17 @@ choice
 		  The uncompressor code port configuration is now handled
 		  by CONFIG_S3C_LOWLEVEL_UART_PORT.
 
+	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_LL_UART_NONE
 		bool "No low-level debugging UART"
 		help
arch/arm/plat-samsung/Kconfig +1 -0
index a2fae4e..ed0b695 100644
@@ -505,5 +505,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
Signature · 1 line
1.7.10.1.488.g05fbf7a
#1 lore raw

PATCH 1/1 ARM: exynos: add UART3 to DEBUG_LL ports

Quoted 14 lines · Olof Johansson

Add support for using UART3 for DEBUG_LL on exynos.

---
 arch/arm/Kconfig.debug        | 11 +++++++++++
 arch/arm/plat-samsung/Kconfig |  1 +
 2 files changed, 12 insertions(+)
arch/arm/Kconfig.debug +0 -0
index 01a1341..da84061 100644

arch/arm/Kconfig.debug choice · line 318

Quoted 9 lines
arch/arm/Kconfig.debug +6 -0
@@ -310,6 +310,17 @@ choice
 		  The uncompressor code port configuration is now handled
 		  by CONFIG_S3C_LOWLEVEL_UART_PORT.
 
+	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

Quoted 20 lines
arch/arm/Kconfig.debug +5 -0
+		  by the boot-loader before use.
+
+		  The uncompressor code port configuration is now handled
+		  by CONFIG_S3C_LOWLEVEL_UART_PORT.
+
 	config DEBUG_LL_UART_NONE
 		bool "No low-level debugging UART"
 		help
arch/arm/plat-samsung/Kconfig +1 -1
index a2fae4e..ed0b695 100644
@@ -505,5 +505,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
--
Quoted 1 line

1.7.10.1.488.g05fbf7a

Basically, looks ok to me, but don't we need to protect this config for 3 UARTs' Samsung SoC?

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.