diff options
author | Will Deacon <will.deacon@arm.com> | 2011-08-16 17:28:54 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2011-10-17 05:02:52 -0400 |
commit | 952aeeb2880a6fd14e15a0dc402a3ffd25f8e689 (patch) | |
tree | 8c9194d5ad0283e890f911e3cd02c2c46f43b2d6 /arch/arm/Kconfig.debug | |
parent | f73765fcb8bb79e80af58059441eb931679e68c0 (diff) |
ARM: plat-samsung: use Kconfig choice for debug UART selection
Now that the DEBUG_LL UART can be selected by a Kconfig choice, convert
the Samsung UART selection to use a set of bools rather than an int.
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 45 |
1 files changed, 33 insertions, 12 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index b3dc1fa30848..caf16e7030f9 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -128,6 +128,39 @@ choice | |||
128 | Say Y here if you want the debug print routines to direct | 128 | Say Y here if you want the debug print routines to direct |
129 | their output to the second serial port on these devices. | 129 | their output to the second serial port on these devices. |
130 | 130 | ||
131 | config DEBUG_S3C_UART0 | ||
132 | depends on PLAT_SAMSUNG | ||
133 | bool "Use S3C UART 0 for low-level debug" | ||
134 | help | ||
135 | Say Y here if you want the debug print routines to direct | ||
136 | their output to UART 0. The port must have been initialised | ||
137 | by the boot-loader before use. | ||
138 | |||
139 | The uncompressor code port configuration is now handled | ||
140 | by CONFIG_S3C_LOWLEVEL_UART_PORT. | ||
141 | |||
142 | config DEBUG_S3C_UART1 | ||
143 | depends on PLAT_SAMSUNG | ||
144 | bool "Use S3C UART 1 for low-level debug" | ||
145 | help | ||
146 | Say Y here if you want the debug print routines to direct | ||
147 | their output to UART 1. The port must have been initialised | ||
148 | by the boot-loader before use. | ||
149 | |||
150 | The uncompressor code port configuration is now handled | ||
151 | by CONFIG_S3C_LOWLEVEL_UART_PORT. | ||
152 | |||
153 | config DEBUG_S3C_UART2 | ||
154 | depends on PLAT_SAMSUNG | ||
155 | bool "Use S3C UART 2 for low-level debug" | ||
156 | help | ||
157 | Say Y here if you want the debug print routines to direct | ||
158 | their output to UART 2. The port must have been initialised | ||
159 | by the boot-loader before use. | ||
160 | |||
161 | The uncompressor code port configuration is now handled | ||
162 | by CONFIG_S3C_LOWLEVEL_UART_PORT. | ||
163 | |||
131 | endchoice | 164 | endchoice |
132 | 165 | ||
133 | config EARLY_PRINTK | 166 | config EARLY_PRINTK |
@@ -146,16 +179,4 @@ config OC_ETM | |||
146 | buffer driver that will allow you to collect traces of the | 179 | buffer driver that will allow you to collect traces of the |
147 | kernel code. | 180 | kernel code. |
148 | 181 | ||
149 | config DEBUG_S3C_UART | ||
150 | depends on PLAT_SAMSUNG | ||
151 | int "S3C UART to use for low-level debug" | ||
152 | default "0" | ||
153 | help | ||
154 | Choice for UART for kernel low-level using S3C UARTS, | ||
155 | should be between zero and two. The port must have been | ||
156 | initialised by the boot-loader before use. | ||
157 | |||
158 | The uncompressor code port configuration is now handled | ||
159 | by CONFIG_S3C_LOWLEVEL_UART_PORT. | ||
160 | |||
161 | endmenu | 182 | endmenu |