mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 18:56:24 +00:00
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>
This commit is contained in:
parent
728fae6f6f
commit
c527c3b939
@ -318,6 +318,7 @@ choice
|
|||||||
config DEBUG_MSM_UART1
|
config DEBUG_MSM_UART1
|
||||||
bool "Kernel low-level debugging messages via MSM UART1"
|
bool "Kernel low-level debugging messages via MSM UART1"
|
||||||
depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
|
depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
|
||||||
|
select DEBUG_MSM_UART
|
||||||
help
|
help
|
||||||
Say Y here if you want the debug print routines to direct
|
Say Y here if you want the debug print routines to direct
|
||||||
their output to the first serial port on MSM devices.
|
their output to the first serial port on MSM devices.
|
||||||
@ -325,6 +326,7 @@ choice
|
|||||||
config DEBUG_MSM_UART2
|
config DEBUG_MSM_UART2
|
||||||
bool "Kernel low-level debugging messages via MSM UART2"
|
bool "Kernel low-level debugging messages via MSM UART2"
|
||||||
depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
|
depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
|
||||||
|
select DEBUG_MSM_UART
|
||||||
help
|
help
|
||||||
Say Y here if you want the debug print routines to direct
|
Say Y here if you want the debug print routines to direct
|
||||||
their output to the second serial port on MSM devices.
|
their output to the second serial port on MSM devices.
|
||||||
@ -332,6 +334,7 @@ choice
|
|||||||
config DEBUG_MSM_UART3
|
config DEBUG_MSM_UART3
|
||||||
bool "Kernel low-level debugging messages via MSM UART3"
|
bool "Kernel low-level debugging messages via MSM UART3"
|
||||||
depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
|
depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
|
||||||
|
select DEBUG_MSM_UART
|
||||||
help
|
help
|
||||||
Say Y here if you want the debug print routines to direct
|
Say Y here if you want the debug print routines to direct
|
||||||
their output to the third serial port on MSM devices.
|
their output to the third serial port on MSM devices.
|
||||||
@ -340,6 +343,7 @@ choice
|
|||||||
bool "Kernel low-level debugging messages via MSM 8660 UART"
|
bool "Kernel low-level debugging messages via MSM 8660 UART"
|
||||||
depends on ARCH_MSM8X60
|
depends on ARCH_MSM8X60
|
||||||
select MSM_HAS_DEBUG_UART_HS
|
select MSM_HAS_DEBUG_UART_HS
|
||||||
|
select DEBUG_MSM_UART
|
||||||
help
|
help
|
||||||
Say Y here if you want the debug print routines to direct
|
Say Y here if you want the debug print routines to direct
|
||||||
their output to the serial port on MSM 8660 devices.
|
their output to the serial port on MSM 8660 devices.
|
||||||
@ -348,6 +352,7 @@ choice
|
|||||||
bool "Kernel low-level debugging messages via MSM 8960 UART"
|
bool "Kernel low-level debugging messages via MSM 8960 UART"
|
||||||
depends on ARCH_MSM8960
|
depends on ARCH_MSM8960
|
||||||
select MSM_HAS_DEBUG_UART_HS
|
select MSM_HAS_DEBUG_UART_HS
|
||||||
|
select DEBUG_MSM_UART
|
||||||
help
|
help
|
||||||
Say Y here if you want the debug print routines to direct
|
Say Y here if you want the debug print routines to direct
|
||||||
their output to the serial port on MSM 8960 devices.
|
their output to the serial port on MSM 8960 devices.
|
||||||
@ -894,6 +899,10 @@ config DEBUG_STI_UART
|
|||||||
bool
|
bool
|
||||||
depends on ARCH_STI
|
depends on ARCH_STI
|
||||||
|
|
||||||
|
config DEBUG_MSM_UART
|
||||||
|
bool
|
||||||
|
depends on ARCH_MSM
|
||||||
|
|
||||||
config DEBUG_LL_INCLUDE
|
config DEBUG_LL_INCLUDE
|
||||||
string
|
string
|
||||||
default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
|
default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
|
||||||
@ -910,11 +919,7 @@ config DEBUG_LL_INCLUDE
|
|||||||
DEBUG_IMX53_UART ||\
|
DEBUG_IMX53_UART ||\
|
||||||
DEBUG_IMX6Q_UART || \
|
DEBUG_IMX6Q_UART || \
|
||||||
DEBUG_IMX6SL_UART
|
DEBUG_IMX6SL_UART
|
||||||
default "debug/msm.S" if DEBUG_MSM_UART1 || \
|
default "debug/msm.S" if DEBUG_MSM_UART
|
||||||
DEBUG_MSM_UART2 || \
|
|
||||||
DEBUG_MSM_UART3 || \
|
|
||||||
DEBUG_MSM8660_UART || \
|
|
||||||
DEBUG_MSM8960_UART
|
|
||||||
default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
|
default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
|
||||||
default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1
|
default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1
|
||||||
default "debug/sti.S" if DEBUG_STI_UART
|
default "debug/sti.S" if DEBUG_STI_UART
|
||||||
|
Loading…
x
Reference in New Issue
Block a user