diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2012-09-10 13:33:09 -0400 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2012-09-13 14:17:47 -0400 |
commit | 33fcb13dc543af610c7c930dbfeeed6e6ed02376 (patch) | |
tree | 92275c560c7b0eac06941ad7e82297618345a76c /arch/arm/mach-msm/Kconfig | |
parent | cb03af01c612ba97621a927225791a98357959c1 (diff) |
ARM: msm: Allow 8960 and 8660 to compile together
Modify the Kconfig to allow the MSM 8660 and MSM 8960 targets to
compile together in the same build. As long as one of these two
targets is selected the choice menu used to select which SoC to
support will be hidden. Deselecting both of these targets will
reintroduce the choice menu, and allow users to select targets
that must be compiled in isolation.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/Kconfig')
-rw-r--r-- | arch/arm/mach-msm/Kconfig | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig index 1cd40ad301d3..03c549369ce3 100644 --- a/arch/arm/mach-msm/Kconfig +++ b/arch/arm/mach-msm/Kconfig | |||
@@ -1,8 +1,12 @@ | |||
1 | if ARCH_MSM | 1 | if ARCH_MSM |
2 | 2 | ||
3 | comment "Qualcomm MSM SoC Type" | ||
4 | depends on (ARCH_MSM8X60 || ARCH_MSM8960) | ||
5 | |||
3 | choice | 6 | choice |
4 | prompt "Qualcomm MSM SoC Type" | 7 | prompt "Qualcomm MSM SoC Type" |
5 | default ARCH_MSM7X00A | 8 | default ARCH_MSM7X00A |
9 | depends on !(ARCH_MSM8X60 || ARCH_MSM8960) | ||
6 | 10 | ||
7 | config ARCH_MSM7X00A | 11 | config ARCH_MSM7X00A |
8 | bool "MSM7x00A / MSM7x01A" | 12 | bool "MSM7x00A / MSM7x01A" |
@@ -36,6 +40,8 @@ config ARCH_QSD8X50 | |||
36 | select GPIO_MSM_V1 | 40 | select GPIO_MSM_V1 |
37 | select MSM_PROC_COMM | 41 | select MSM_PROC_COMM |
38 | 42 | ||
43 | endchoice | ||
44 | |||
39 | config ARCH_MSM8X60 | 45 | config ARCH_MSM8X60 |
40 | bool "MSM8X60" | 46 | bool "MSM8X60" |
41 | select MACH_MSM8X60_SURF if (!MACH_MSM8X60_RUMI3 && !MACH_MSM8X60_SIM \ | 47 | select MACH_MSM8X60_SURF if (!MACH_MSM8X60_RUMI3 && !MACH_MSM8X60_SIM \ |
@@ -58,8 +64,6 @@ config ARCH_MSM8960 | |||
58 | select MSM_GPIOMUX | 64 | select MSM_GPIOMUX |
59 | select MSM_SCM if SMP | 65 | select MSM_SCM if SMP |
60 | 66 | ||
61 | endchoice | ||
62 | |||
63 | config MSM_HAS_DEBUG_UART_HS | 67 | config MSM_HAS_DEBUG_UART_HS |
64 | bool | 68 | bool |
65 | 69 | ||