]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: msm: Allow 8960 and 8660 to compile together
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 10 Sep 2012 17:33:09 +0000 (10:33 -0700)
committerDavid Brown <davidb@codeaurora.org>
Wed, 12 Sep 2012 16:31:56 +0000 (09:31 -0700)
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>
arch/arm/mach-msm/Kconfig

index b2740c800e8cb934869f88142bbcb3ccf343a9e1..7902de151cc5bedf339b2f5d75e694f5ad70cd78 100644 (file)
@@ -1,8 +1,12 @@
 if ARCH_MSM
 
+comment "Qualcomm MSM SoC Type"
+       depends on (ARCH_MSM8X60 || ARCH_MSM8960)
+
 choice
        prompt "Qualcomm MSM SoC Type"
        default ARCH_MSM7X00A
+       depends on !(ARCH_MSM8X60 || ARCH_MSM8960)
 
 config ARCH_MSM7X00A
        bool "MSM7x00A / MSM7x01A"
@@ -36,6 +40,8 @@ config ARCH_QSD8X50
        select GPIO_MSM_V1
        select MSM_PROC_COMM
 
+endchoice
+
 config ARCH_MSM8X60
        bool "MSM8X60"
        select ARCH_MSM_SCORPIONMP
@@ -57,8 +63,6 @@ config ARCH_MSM8960
        select MSM_SCM if SMP
        select USE_OF
 
-endchoice
-
 config MSM_HAS_DEBUG_UART_HS
        bool