1if ARCH_MSM
2
3choice
4	prompt "Qualcomm MSM SoC Type"
5	default ARCH_MSM7X00A
6
7config ARCH_MSM7X00A
8	bool "MSM7x00A / MSM7x01A"
9	select MACH_TROUT if !MACH_HALIBUT
10	select ARCH_MSM_ARM11
11	select MSM_SMD
12	select MSM_SMD_PKG3
13	select CPU_V6
14	select MSM_PROC_COMM
15	select HAS_MSM_DEBUG_UART_PHYS
16
17config ARCH_MSM7X30
18	bool "MSM7x30"
19	select MACH_MSM7X30_SURF # if !
20	select ARCH_MSM_SCORPION
21	select MSM_SMD
22	select MSM_VIC
23	select CPU_V7
24	select MSM_GPIOMUX
25	select MSM_PROC_COMM
26	select HAS_MSM_DEBUG_UART_PHYS
27
28config ARCH_QSD8X50
29	bool "QSD8X50"
30	select MACH_QSD8X50_SURF if !MACH_QSD8X50A_ST1_5
31	select ARCH_MSM_SCORPION
32	select MSM_SMD
33	select MSM_VIC
34	select CPU_V7
35	select MSM_GPIOMUX
36	select MSM_PROC_COMM
37	select HAS_MSM_DEBUG_UART_PHYS
38
39config ARCH_MSM8X60
40	bool "MSM8X60"
41	select MACH_MSM8X60_SURF if (!MACH_MSM8X60_RUMI3 && !MACH_MSM8X60_SIM \
42				  && !MACH_MSM8X60_FFA)
43	select ARCH_MSM_SCORPIONMP
44	select ARM_GIC
45	select CPU_V7
46	select MSM_V2_TLMM
47	select MSM_GPIOMUX
48	select MSM_SCM if SMP
49
50config ARCH_MSM8960
51	bool "MSM8960"
52	select ARCH_MSM_SCORPIONMP
53	select MACH_MSM8960_SIM if (!MACH_MSM8960_RUMI3)
54	select ARM_GIC
55	select CPU_V7
56	select MSM_V2_TLMM
57	select MSM_GPIOMUX
58	select MSM_SCM if SMP
59
60endchoice
61
62config MSM_SOC_REV_A
63	bool
64config  ARCH_MSM_SCORPIONMP
65	bool
66
67config  ARCH_MSM_ARM11
68	bool
69config  ARCH_MSM_SCORPION
70	bool
71
72config HAS_MSM_DEBUG_UART_PHYS
73	bool
74
75config  MSM_VIC
76	bool
77
78menu "Qualcomm MSM Board Type"
79
80config MACH_HALIBUT
81	depends on ARCH_MSM
82	depends on ARCH_MSM7X00A
83	bool "Halibut Board (QCT SURF7201A)"
84	help
85	  Support for the Qualcomm SURF7201A eval board.
86
87config MACH_TROUT
88	depends on ARCH_MSM
89	depends on ARCH_MSM7X00A
90	bool "HTC Dream (aka trout)"
91	help
92	  Support for the HTC Dream, T-Mobile G1, Android ADP1 devices.
93
94config MACH_MSM7X30_SURF
95	depends on ARCH_MSM7X30
96	bool "MSM7x30 SURF"
97	help
98	  Support for the Qualcomm MSM7x30 SURF eval board.
99
100config MACH_QSD8X50_SURF
101	depends on ARCH_QSD8X50
102	bool "QSD8x50 SURF"
103	help
104	  Support for the Qualcomm QSD8x50 SURF eval board.
105
106config MACH_QSD8X50A_ST1_5
107	depends on ARCH_QSD8X50
108	select MSM_SOC_REV_A
109	bool "QSD8x50A ST1.5"
110	help
111	  Support for the Qualcomm ST1.5.
112
113config MACH_MSM8X60_RUMI3
114	depends on ARCH_MSM8X60
115	bool "MSM8x60 RUMI3"
116	help
117	  Support for the Qualcomm MSM8x60 RUMI3 emulator.
118
119config MACH_MSM8X60_SURF
120	depends on ARCH_MSM8X60
121	bool "MSM8x60 SURF"
122	help
123	  Support for the Qualcomm MSM8x60 SURF eval board.
124
125config MACH_MSM8X60_SIM
126	depends on ARCH_MSM8X60
127	bool "MSM8x60 Simulator"
128	help
129	  Support for the Qualcomm MSM8x60 simulator.
130
131config MACH_MSM8X60_FFA
132	depends on ARCH_MSM8X60
133	bool "MSM8x60 FFA"
134	help
135	  Support for the Qualcomm MSM8x60 FFA eval board.
136
137config MACH_MSM8960_SIM
138	depends on ARCH_MSM8960
139	bool "MSM8960 Simulator"
140	help
141	  Support for the Qualcomm MSM8960 simulator.
142
143config MACH_MSM8960_RUMI3
144	depends on ARCH_MSM8960
145	bool "MSM8960 RUMI3"
146	help
147	  Support for the Qualcomm MSM8960 RUMI3 emulator.
148
149endmenu
150
151config MSM_IOMMU
152	bool "MSM IOMMU Support"
153	depends on ARCH_MSM8X60 || ARCH_MSM8960
154	select IOMMU_API
155	default n
156	help
157	  Support for the IOMMUs found on certain Qualcomm SOCs.
158	  These IOMMUs allow virtualization of the address space used by most
159	  cores within the multimedia subsystem.
160
161	  If unsure, say N here.
162
163config IOMMU_PGTABLES_L2
164	def_bool y
165	depends on MSM_IOMMU && MMU && SMP && CPU_DCACHE_DISABLE=n
166
167config MSM_DEBUG_UART
168	int
169	default 1 if MSM_DEBUG_UART1
170	default 2 if MSM_DEBUG_UART2
171	default 3 if MSM_DEBUG_UART3
172
173if HAS_MSM_DEBUG_UART_PHYS
174choice
175	prompt "Debug UART"
176
177	default MSM_DEBUG_UART_NONE
178
179	config MSM_DEBUG_UART_NONE
180		bool "None"
181
182	config MSM_DEBUG_UART1
183		bool "UART1"
184
185	config MSM_DEBUG_UART2
186		bool "UART2"
187
188	config MSM_DEBUG_UART3
189		bool "UART3"
190endchoice
191endif
192
193config MSM_SMD_PKG3
194	bool
195
196config MSM_PROC_COMM
197	bool
198
199config MSM_SMD
200	bool
201
202config MSM_GPIOMUX
203	bool
204
205config MSM_V2_TLMM
206	bool
207
208config IOMMU_API
209	bool
210
211config MSM_SCM
212	bool
213endif
214