diff options
author | Rohit Vaswani <rvaswani@codeaurora.org> | 2013-10-17 17:07:27 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-29 07:06:19 -0400 |
commit | c527c3b939cdb2e75777fe690e067b6e199c44fc (patch) | |
tree | 513d4614d115a6c92e12e5bfe484359a895a2e8f /arch | |
parent | 728fae6f6f73b34cf94afe6c87ce102889abc786 (diff) |
ARM: 7859/1: debug: Create CONFIG_DEBUG_MSM_UART and re-organize the selects for MSM
Create the hidden config DEBUG_MSM_UART and clean-up
the default selection for CONFIG_DEBUG_LL_INCLUDE.
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig.debug | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 2b3206824353..8e9665d5fed3 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -318,6 +318,7 @@ choice | |||
318 | config DEBUG_MSM_UART1 | 318 | config DEBUG_MSM_UART1 |
319 | bool "Kernel low-level debugging messages via MSM UART1" | 319 | bool "Kernel low-level debugging messages via MSM UART1" |
320 | depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50 | 320 | depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50 |
321 | select DEBUG_MSM_UART | ||
321 | help | 322 | help |
322 | Say Y here if you want the debug print routines to direct | 323 | Say Y here if you want the debug print routines to direct |
323 | their output to the first serial port on MSM devices. | 324 | their output to the first serial port on MSM devices. |
@@ -325,6 +326,7 @@ choice | |||
325 | config DEBUG_MSM_UART2 | 326 | config DEBUG_MSM_UART2 |
326 | bool "Kernel low-level debugging messages via MSM UART2" | 327 | bool "Kernel low-level debugging messages via MSM UART2" |
327 | depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50 | 328 | depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50 |
329 | select DEBUG_MSM_UART | ||
328 | help | 330 | help |
329 | Say Y here if you want the debug print routines to direct | 331 | Say Y here if you want the debug print routines to direct |
330 | their output to the second serial port on MSM devices. | 332 | their output to the second serial port on MSM devices. |
@@ -332,6 +334,7 @@ choice | |||
332 | config DEBUG_MSM_UART3 | 334 | config DEBUG_MSM_UART3 |
333 | bool "Kernel low-level debugging messages via MSM UART3" | 335 | bool "Kernel low-level debugging messages via MSM UART3" |
334 | depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50 | 336 | depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50 |
337 | select DEBUG_MSM_UART | ||
335 | help | 338 | help |
336 | Say Y here if you want the debug print routines to direct | 339 | Say Y here if you want the debug print routines to direct |
337 | their output to the third serial port on MSM devices. | 340 | their output to the third serial port on MSM devices. |
@@ -340,6 +343,7 @@ choice | |||
340 | bool "Kernel low-level debugging messages via MSM 8660 UART" | 343 | bool "Kernel low-level debugging messages via MSM 8660 UART" |
341 | depends on ARCH_MSM8X60 | 344 | depends on ARCH_MSM8X60 |
342 | select MSM_HAS_DEBUG_UART_HS | 345 | select MSM_HAS_DEBUG_UART_HS |
346 | select DEBUG_MSM_UART | ||
343 | help | 347 | help |
344 | Say Y here if you want the debug print routines to direct | 348 | Say Y here if you want the debug print routines to direct |
345 | their output to the serial port on MSM 8660 devices. | 349 | their output to the serial port on MSM 8660 devices. |
@@ -348,6 +352,7 @@ choice | |||
348 | bool "Kernel low-level debugging messages via MSM 8960 UART" | 352 | bool "Kernel low-level debugging messages via MSM 8960 UART" |
349 | depends on ARCH_MSM8960 | 353 | depends on ARCH_MSM8960 |
350 | select MSM_HAS_DEBUG_UART_HS | 354 | select MSM_HAS_DEBUG_UART_HS |
355 | select DEBUG_MSM_UART | ||
351 | help | 356 | help |
352 | Say Y here if you want the debug print routines to direct | 357 | Say Y here if you want the debug print routines to direct |
353 | their output to the serial port on MSM 8960 devices. | 358 | their output to the serial port on MSM 8960 devices. |
@@ -894,6 +899,10 @@ config DEBUG_STI_UART | |||
894 | bool | 899 | bool |
895 | depends on ARCH_STI | 900 | depends on ARCH_STI |
896 | 901 | ||
902 | config DEBUG_MSM_UART | ||
903 | bool | ||
904 | depends on ARCH_MSM | ||
905 | |||
897 | config DEBUG_LL_INCLUDE | 906 | config DEBUG_LL_INCLUDE |
898 | string | 907 | string |
899 | default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 | 908 | default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 |
@@ -910,11 +919,7 @@ config DEBUG_LL_INCLUDE | |||
910 | DEBUG_IMX53_UART ||\ | 919 | DEBUG_IMX53_UART ||\ |
911 | DEBUG_IMX6Q_UART || \ | 920 | DEBUG_IMX6Q_UART || \ |
912 | DEBUG_IMX6SL_UART | 921 | DEBUG_IMX6SL_UART |
913 | default "debug/msm.S" if DEBUG_MSM_UART1 || \ | 922 | default "debug/msm.S" if DEBUG_MSM_UART |
914 | DEBUG_MSM_UART2 || \ | ||
915 | DEBUG_MSM_UART3 || \ | ||
916 | DEBUG_MSM8660_UART || \ | ||
917 | DEBUG_MSM8960_UART | ||
918 | default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART | 923 | default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART |
919 | default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1 | 924 | default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1 |
920 | default "debug/sti.S" if DEBUG_STI_UART | 925 | default "debug/sti.S" if DEBUG_STI_UART |