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/plat-samsung/Kconfig | |
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/plat-samsung/Kconfig')
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index b3e10659e4b8..49b14b1a7abe 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -367,4 +367,11 @@ config SAMSUNG_PD | |||
367 | help | 367 | help |
368 | Say Y here if you want to control Power Domain by Runtime PM. | 368 | Say Y here if you want to control Power Domain by Runtime PM. |
369 | 369 | ||
370 | config DEBUG_S3C_UART | ||
371 | depends on PLAT_SAMSUNG | ||
372 | int | ||
373 | default "0" if DEBUG_S3C_UART0 | ||
374 | default "1" if DEBUG_S3C_UART1 | ||
375 | default "2" if DEBUG_S3C_UART2 | ||
376 | |||
370 | endif | 377 | endif |