blob: 1516896e8d177d53d1bff8a6c0ed0b1d7cb0eeee [file] [log] [blame]
Brian Swetland1637de02008-09-09 07:13:33 -07001if ARCH_MSM
Brian Swetland9e73c842007-11-26 04:12:13 -08002
Daniel Walkerbf83de42010-03-16 16:29:44 -07003choice
4 prompt "Qualcomm MSM SoC Type"
5 default ARCH_MSM7X00A
6
7config ARCH_MSM7X00A
8 bool "MSM7x00A / MSM7x01A"
Daniel Walkerefdfb2b2010-10-12 11:52:14 -07009 select MACH_TROUT if !MACH_HALIBUT
Daniel Walkerbf83de42010-03-16 16:29:44 -070010 select ARCH_MSM_ARM11
Daniel Walker3a9f3462010-04-22 14:16:46 -070011 select MSM_SMD
Daniel Walkerbf83de42010-03-16 16:29:44 -070012 select MSM_SMD_PKG3
13 select CPU_V6
Steve Mucklec8aabae2010-04-21 16:20:27 -070014 select MSM_PROC_COMM
Daniel Walker46fe5f22010-08-18 11:00:25 -070015 select HAS_MSM_DEBUG_UART_PHYS
Daniel Walkerbf83de42010-03-16 16:29:44 -070016
Daniel Walker7b521612010-05-06 12:44:57 -070017config ARCH_MSM7X30
18 bool "MSM7x30"
Daniel Walkerefdfb2b2010-10-12 11:52:14 -070019 select MACH_MSM7X30_SURF # if !
Daniel Walker7b521612010-05-06 12:44:57 -070020 select ARCH_MSM_SCORPION
21 select MSM_SMD
22 select MSM_VIC
23 select CPU_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070024 select MSM_GPIOMUX
Steve Mucklec8aabae2010-04-21 16:20:27 -070025 select MSM_PROC_COMM
Daniel Walker46fe5f22010-08-18 11:00:25 -070026 select HAS_MSM_DEBUG_UART_PHYS
Daniel Walker7b521612010-05-06 12:44:57 -070027
Daniel Walker4ad15e62010-05-06 13:54:17 -070028config ARCH_QSD8X50
29 bool "QSD8X50"
Daniel Walkerefdfb2b2010-10-12 11:52:14 -070030 select MACH_QSD8X50_SURF if !MACH_QSD8X50A_ST1_5
Daniel Walker4ad15e62010-05-06 13:54:17 -070031 select ARCH_MSM_SCORPION
32 select MSM_SMD
33 select MSM_VIC
34 select CPU_V7
Gregory Beanab78cde2010-09-01 16:26:12 -070035 select MSM_GPIOMUX
Steve Mucklec8aabae2010-04-21 16:20:27 -070036 select MSM_PROC_COMM
Daniel Walker46fe5f22010-08-18 11:00:25 -070037 select HAS_MSM_DEBUG_UART_PHYS
38
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070039config ARCH_MSM8X60
40 bool "MSM8X60"
Daniel Walkerefdfb2b2010-10-12 11:52:14 -070041 select MACH_MSM8X60_SURF if (!MACH_MSM8X60_RUMI3 && !MACH_MSM8X60_SIM \
42 && !MACH_MSM8X60_FFA)
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080043 select ARCH_MSM_SCORPIONMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070044 select ARM_GIC
45 select CPU_V7
46 select MSM_V2_TLMM
47 select MSM_GPIOMUX
Stephen Boyd2a1eb582010-08-27 10:01:23 -070048 select MSM_SCM if SMP
Jeff Ohlstein569fb6e2010-08-12 13:02:56 -070049
Stepan Moskovchenkof441ca2d2010-12-01 19:31:16 -080050config ARCH_MSM8960
51 bool "MSM8960"
52 select ARCH_MSM_SCORPIONMP
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -080053 select MACH_MSM8960_SIM if (!MACH_MSM8960_RUMI3)
Stepan Moskovchenkof441ca2d2010-12-01 19:31:16 -080054 select ARM_GIC
55 select CPU_V7
56 select MSM_V2_TLMM
57 select MSM_GPIOMUX
58 select MSM_SCM if SMP
59
Daniel Walkerbf83de42010-03-16 16:29:44 -070060endchoice
61
Daniel Walker4ad15e62010-05-06 13:54:17 -070062config MSM_SOC_REV_A
63 bool
Daniel Walker89c3ded2010-11-22 12:35:41 -080064config ARCH_MSM_SCORPIONMP
65 bool
Daniel Walker4ad15e62010-05-06 13:54:17 -070066
67config ARCH_MSM_ARM11
68 bool
69config ARCH_MSM_SCORPION
Daniel Walkerbf83de42010-03-16 16:29:44 -070070 bool
71
Daniel Walker46fe5f22010-08-18 11:00:25 -070072config HAS_MSM_DEBUG_UART_PHYS
73 bool
74
Gregory Beanf9f3d312010-04-30 22:06:50 -070075config MSM_VIC
76 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -070077
Daniel Walker4ad15e62010-05-06 13:54:17 -070078menu "Qualcomm MSM Board Type"
79
80config MACH_HALIBUT
Brian Swetland1637de02008-09-09 07:13:33 -070081 depends on ARCH_MSM
Daniel Walker4ad15e62010-05-06 13:54:17 -070082 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
Daniel Walker7b521612010-05-06 12:44:57 -070094config MACH_MSM7X30_SURF
95 depends on ARCH_MSM7X30
96 bool "MSM7x30 SURF"
97 help
98 Support for the Qualcomm MSM7x30 SURF eval board.
99
Daniel Walker4ad15e62010-05-06 13:54:17 -0700100config 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
Steve Mucklea55df6e2010-01-07 12:43:24 -0800113config MACH_MSM8X60_RUMI3
114 depends on ARCH_MSM8X60
115 bool "MSM8x60 RUMI3"
116 help
117 Support for the Qualcomm MSM8x60 RUMI3 emulator.
118
Steve Muckle49b76f72010-03-19 17:00:08 -0700119config MACH_MSM8X60_SURF
120 depends on ARCH_MSM8X60
121 bool "MSM8x60 SURF"
122 help
123 Support for the Qualcomm MSM8x60 SURF eval board.
124
Steve Muckle57bbf1c2010-01-07 12:51:10 -0800125config MACH_MSM8X60_SIM
126 depends on ARCH_MSM8X60
127 bool "MSM8x60 Simulator"
128 help
129 Support for the Qualcomm MSM8x60 simulator.
130
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700131config MACH_MSM8X60_FFA
132 depends on ARCH_MSM8X60
133 bool "MSM8x60 FFA"
134 help
135 Support for the Qualcomm MSM8x60 FFA eval board.
136
Stepan Moskovchenkof441ca2d2010-12-01 19:31:16 -0800137config MACH_MSM8960_SIM
138 depends on ARCH_MSM8960
139 bool "MSM8960 Simulator"
140 help
141 Support for the Qualcomm MSM8960 simulator.
142
Stepan Moskovchenko50ede4e2010-12-13 18:12:19 -0800143config MACH_MSM8960_RUMI3
144 depends on ARCH_MSM8960
145 bool "MSM8960 RUMI3"
146 help
147 Support for the Qualcomm MSM8960 RUMI3 emulator.
148
Daniel Walker4ad15e62010-05-06 13:54:17 -0700149endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -0800150
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800151config MSM_IOMMU
152 bool "MSM IOMMU Support"
Stepan Moskovchenko6499f0a2011-02-11 12:28:18 -0800153 depends on ARCH_MSM8X60 || ARCH_MSM8960
Stepan Moskovchenko24f61732011-02-11 12:28:16 -0800154 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
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800163config IOMMU_PGTABLES_L2
164 def_bool y
Stepan Moskovchenkoc7831df2011-02-28 16:04:56 -0800165 depends on MSM_IOMMU && MMU && SMP && CPU_DCACHE_DISABLE=n
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -0800166
Pavel Machek6339f662009-11-02 11:48:29 +0100167config 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
Daniel Walker46fe5f22010-08-18 11:00:25 -0700173if HAS_MSM_DEBUG_UART_PHYS
Pavel Machek6339f662009-11-02 11:48:29 +0100174choice
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
Daniel Walker46fe5f22010-08-18 11:00:25 -0700191endif
Pavel Machek6339f662009-11-02 11:48:29 +0100192
Daniel Walkerbf83de42010-03-16 16:29:44 -0700193config MSM_SMD_PKG3
194 bool
195
Steve Mucklec8aabae2010-04-21 16:20:27 -0700196config MSM_PROC_COMM
197 bool
198
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700199config MSM_SMD
Daniel Walker3a9f3462010-04-22 14:16:46 -0700200 bool
Brian Swetland2eb44eb2008-09-29 16:00:48 -0700201
Gregory Beanab78cde2010-09-01 16:26:12 -0700202config MSM_GPIOMUX
203 bool
204
Gregory Bean1963a2a2010-08-28 10:05:44 -0700205config MSM_V2_TLMM
206 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -0800207
208config IOMMU_API
209 bool
Stephen Boyd2a1eb582010-08-27 10:01:23 -0700210
211config MSM_SCM
212 bool
Brian Swetland9e73c842007-11-26 04:12:13 -0800213endif