aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-12-30 16:15:33 -0500
committerOlof Johansson <olof@lixom.net>2014-01-09 03:08:52 -0500
commit4f2041174d62d21ec46db48809a29d6517f6d006 (patch)
tree2c4c2d156cd2eb29fa426282abfcb9f050706a89 /arch/arm/mach-msm
parent301c5a993d62d74e98cb965fcb04eeffb0e1db32 (diff)
ARM: msm: Move MSM's DT based hardware to multi-platform support
The DT based MSM platforms can join the multi-platform builds, so introduce a DT based ARCH_MSM option. This option allows DT based MSM platforms to be built into the multi-platform kernel. Also introduce a hidden ARCH_MSM config that both the DT and non-DT platform support code select to avoid churn in places that depend on CONFIG_ARCH_MSM. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r--arch/arm/mach-msm/Kconfig80
1 files changed, 41 insertions, 39 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index ff69e1cf1dfe..9625cf378931 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -1,12 +1,50 @@
1config ARCH_MSM
2 bool
3
4config ARCH_MSM_DT
5 bool "Qualcomm MSM DT Support" if ARCH_MULTI_V7
6 select ARCH_MSM
7 select ARCH_REQUIRE_GPIOLIB
8 select CLKSRC_OF
9 select GENERIC_CLOCKEVENTS
10 help
11 Support for Qualcomm's devicetree based MSM systems.
12
1if ARCH_MSM 13if ARCH_MSM
2 14
3comment "Qualcomm MSM SoC Type" 15menu "Qualcomm MSM SoC Selection"
4 depends on ARCH_MSM_DT 16 depends on ARCH_MSM_DT
5 17
18config ARCH_MSM8X60
19 bool "Enable support for MSM8X60"
20 select ARM_GIC
21 select CPU_V7
22 select HAVE_SMP
23 select MSM_SCM if SMP
24 select MSM_TIMER
25
26config ARCH_MSM8960
27 bool "Enable support for MSM8960"
28 select ARM_GIC
29 select CPU_V7
30 select HAVE_SMP
31 select MSM_SCM if SMP
32 select MSM_TIMER
33
34config ARCH_MSM8974
35 bool "Enable support for MSM8974"
36 select ARM_GIC
37 select CPU_V7
38 select HAVE_ARM_ARCH_TIMER
39 select HAVE_SMP
40 select MSM_SCM if SMP
41
42endmenu
43
6choice 44choice
7 prompt "Qualcomm MSM SoC Type" 45 prompt "Qualcomm MSM SoC Type"
8 default ARCH_MSM7X00A 46 default ARCH_MSM7X00A
9 depends on !ARCH_MSM_DT 47 depends on ARCH_MSM_NODT
10 48
11config ARCH_MSM7X00A 49config ARCH_MSM7X00A
12 bool "MSM7x00A / MSM7x01A" 50 bool "MSM7x00A / MSM7x01A"
@@ -45,41 +83,6 @@ config ARCH_QSD8X50
45 83
46endchoice 84endchoice
47 85
48config ARCH_MSM8X60
49 bool "MSM8X60"
50 select ARCH_MSM_DT
51 select ARM_GIC
52 select CPU_V7
53 select GPIO_MSM_V2
54 select HAVE_SMP
55 select MSM_SCM if SMP
56 select MSM_TIMER
57
58config ARCH_MSM8960
59 bool "MSM8960"
60 select ARCH_MSM_DT
61 select ARM_GIC
62 select CPU_V7
63 select HAVE_SMP
64 select GPIO_MSM_V2
65 select MSM_SCM if SMP
66 select MSM_TIMER
67
68config ARCH_MSM8974
69 bool "MSM8974"
70 select ARCH_MSM_DT
71 select ARM_GIC
72 select CPU_V7
73 select HAVE_ARM_ARCH_TIMER
74 select HAVE_SMP
75 select MSM_SCM if SMP
76 select USE_OF
77
78config ARCH_MSM_DT
79 bool
80 select SPARSE_IRQ
81 select USE_OF
82
83config MSM_HAS_DEBUG_UART_HS 86config MSM_HAS_DEBUG_UART_HS
84 bool 87 bool
85 88
@@ -96,7 +99,7 @@ config MSM_VIC
96 bool 99 bool
97 100
98menu "Qualcomm MSM Board Type" 101menu "Qualcomm MSM Board Type"
99 depends on !ARCH_MSM_DT 102 depends on ARCH_MSM_NODT
100 103
101config MACH_HALIBUT 104config MACH_HALIBUT
102 depends on ARCH_MSM 105 depends on ARCH_MSM
@@ -144,7 +147,6 @@ config MSM_SMD
144 147
145config MSM_GPIOMUX 148config MSM_GPIOMUX
146 bool 149 bool
147 depends on !ARCH_MSM_DT
148 help 150 help
149 Support for MSM V1 TLMM GPIOMUX architecture. 151 Support for MSM V1 TLMM GPIOMUX architecture.
150 152