1if ARCH_OMAP2PLUS
2
3menu "TI OMAP2/3/4 Specific Features"
4
5config ARCH_OMAP2PLUS_TYPICAL
6	bool "Typical OMAP configuration"
7	default y
8	select AEABI
9	select REGULATOR
10	select PM_RUNTIME
11	select VFP
12	select NEON if ARCH_OMAP3 || ARCH_OMAP4
13	select SERIAL_OMAP
14	select SERIAL_OMAP_CONSOLE
15	select I2C
16	select I2C_OMAP
17	select MENELAUS if ARCH_OMAP2
18	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
19	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
20	help
21	  Compile a kernel suitable for booting most boards
22
23config ARCH_OMAP2
24	bool "TI OMAP2"
25	depends on ARCH_OMAP2PLUS
26	default y
27	select CPU_V6
28	select MULTI_IRQ_HANDLER
29
30config ARCH_OMAP3
31	bool "TI OMAP3"
32	depends on ARCH_OMAP2PLUS
33	default y
34	select CPU_V7
35	select USB_ARCH_HAS_EHCI if USB_SUPPORT
36	select ARCH_HAS_OPP
37	select PM_OPP if PM
38	select ARM_CPU_SUSPEND if PM
39	select MULTI_IRQ_HANDLER
40
41config ARCH_OMAP4
42	bool "TI OMAP4"
43	default y
44	depends on ARCH_OMAP2PLUS
45	select CACHE_L2X0
46	select CPU_V7
47	select ARM_GIC
48	select HAVE_SMP
49	select LOCAL_TIMERS if SMP
50	select PL310_ERRATA_588369
51	select PL310_ERRATA_727915
52	select ARM_ERRATA_720789
53	select ARCH_HAS_OPP
54	select PM_OPP if PM
55	select USB_ARCH_HAS_EHCI if USB_SUPPORT
56	select ARM_CPU_SUSPEND if PM
57
58comment "OMAP Core Type"
59	depends on ARCH_OMAP2
60
61config SOC_OMAP2420
62	bool "OMAP2420 support"
63	depends on ARCH_OMAP2
64	default y
65	select OMAP_DM_TIMER
66	select ARCH_OMAP_OTG
67
68config SOC_OMAP2430
69	bool "OMAP2430 support"
70	depends on ARCH_OMAP2
71	default y
72	select ARCH_OMAP_OTG
73
74config SOC_OMAP3430
75	bool "OMAP3430 support"
76	depends on ARCH_OMAP3
77	default y
78	select ARCH_OMAP_OTG
79
80config SOC_OMAPTI81XX
81	bool "TI81XX support"
82	depends on ARCH_OMAP3
83	default y
84
85config SOC_OMAPAM33XX
86	bool "AM33XX support"
87	depends on ARCH_OMAP3
88	default y
89
90config OMAP_PACKAGE_ZAF
91       bool
92
93config OMAP_PACKAGE_ZAC
94       bool
95
96config OMAP_PACKAGE_CBC
97       bool
98
99config OMAP_PACKAGE_CBB
100       bool
101
102config OMAP_PACKAGE_CUS
103       bool
104
105config OMAP_PACKAGE_CBP
106       bool
107
108config OMAP_PACKAGE_CBL
109       bool
110
111config OMAP_PACKAGE_CBS
112       bool
113
114comment "OMAP Board Type"
115	depends on ARCH_OMAP2PLUS
116
117config MACH_OMAP_GENERIC
118	bool "Generic OMAP2+ board"
119	depends on ARCH_OMAP2PLUS
120	default y
121	help
122	  Support for generic TI OMAP2+ boards using Flattened Device Tree.
123	  More information at Documentation/devicetree
124
125config MACH_OMAP2_TUSB6010
126	bool
127	depends on ARCH_OMAP2 && SOC_OMAP2420
128	default y if MACH_NOKIA_N8X0
129
130config MACH_OMAP_H4
131	bool "OMAP 2420 H4 board"
132	depends on SOC_OMAP2420
133	default y
134	select OMAP_PACKAGE_ZAF
135	select OMAP_DEBUG_DEVICES
136
137config MACH_OMAP_APOLLON
138	bool "OMAP 2420 Apollon board"
139	depends on SOC_OMAP2420
140	default y
141	select OMAP_PACKAGE_ZAC
142
143config MACH_OMAP_2430SDP
144	bool "OMAP 2430 SDP board"
145	depends on SOC_OMAP2430
146	default y
147	select OMAP_PACKAGE_ZAC
148
149config MACH_OMAP3_BEAGLE
150	bool "OMAP3 BEAGLE board"
151	depends on ARCH_OMAP3
152	default y
153	select OMAP_PACKAGE_CBB
154
155config MACH_DEVKIT8000
156	bool "DEVKIT8000 board"
157	depends on ARCH_OMAP3
158	default y
159	select OMAP_PACKAGE_CUS
160
161config MACH_OMAP_LDP
162	bool "OMAP3 LDP board"
163	depends on ARCH_OMAP3
164	default y
165	select OMAP_PACKAGE_CBB
166
167config MACH_OMAP3530_LV_SOM
168	bool "OMAP3 Logic 3530 LV SOM board"
169	depends on ARCH_OMAP3
170	select OMAP_PACKAGE_CBB
171	default y
172	help
173	 Support for the LogicPD OMAP3530 SOM Development kit
174	 for full description please see the products webpage at
175	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
176
177config MACH_OMAP3_TORPEDO
178	bool "OMAP3 Logic 35x Torpedo board"
179	depends on ARCH_OMAP3
180	select OMAP_PACKAGE_CBB
181	default y
182	help
183	 Support for the LogicPD OMAP35x Torpedo Development kit
184	 for full description please see the products webpage at
185	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
186
187config MACH_OVERO
188	bool "Gumstix Overo board"
189	depends on ARCH_OMAP3
190	default y
191	select OMAP_PACKAGE_CBB
192
193config MACH_OMAP3EVM
194	bool "OMAP 3530 EVM board"
195	depends on ARCH_OMAP3
196	default y
197	select OMAP_PACKAGE_CBB
198
199config MACH_OMAP3517EVM
200	bool "OMAP3517/ AM3517 EVM board"
201	depends on ARCH_OMAP3
202	default y
203	select OMAP_PACKAGE_CBB
204
205config MACH_CRANEBOARD
206	bool "AM3517/05 CRANE board"
207	depends on ARCH_OMAP3
208	select OMAP_PACKAGE_CBB
209
210config MACH_OMAP3_PANDORA
211	bool "OMAP3 Pandora"
212	depends on ARCH_OMAP3
213	default y
214	select OMAP_PACKAGE_CBB
215	select REGULATOR_FIXED_VOLTAGE if REGULATOR
216
217config MACH_OMAP3_TOUCHBOOK
218	bool "OMAP3 Touch Book"
219	depends on ARCH_OMAP3
220	default y
221
222config MACH_OMAP_3430SDP
223	bool "OMAP 3430 SDP board"
224	depends on ARCH_OMAP3
225	default y
226	select OMAP_PACKAGE_CBB
227
228config MACH_NOKIA_N800
229       bool
230
231config MACH_NOKIA_N810
232       bool
233
234config MACH_NOKIA_N810_WIMAX
235       bool
236
237config MACH_NOKIA_N8X0
238	bool "Nokia N800/N810"
239	depends on SOC_OMAP2420
240	default y
241	select OMAP_PACKAGE_ZAC
242	select MACH_NOKIA_N800
243	select MACH_NOKIA_N810
244	select MACH_NOKIA_N810_WIMAX
245
246config MACH_NOKIA_RM680
247	bool "Nokia RM-680/696 board"
248	depends on ARCH_OMAP3
249	default y
250	select OMAP_PACKAGE_CBB
251	select MACH_NOKIA_RM696
252
253config MACH_NOKIA_RX51
254	bool "Nokia RX-51 board"
255	depends on ARCH_OMAP3
256	default y
257	select OMAP_PACKAGE_CBB
258
259config MACH_OMAP_ZOOM2
260	bool "OMAP3 Zoom2 board"
261	depends on ARCH_OMAP3
262	default y
263	select OMAP_PACKAGE_CBB
264	select SERIAL_8250
265	select SERIAL_CORE_CONSOLE
266	select SERIAL_8250_CONSOLE
267	select REGULATOR_FIXED_VOLTAGE if REGULATOR
268
269config MACH_OMAP_ZOOM3
270	bool "OMAP3630 Zoom3 board"
271	depends on ARCH_OMAP3
272	default y
273	select OMAP_PACKAGE_CBP
274	select SERIAL_8250
275	select SERIAL_CORE_CONSOLE
276	select SERIAL_8250_CONSOLE
277	select REGULATOR_FIXED_VOLTAGE if REGULATOR
278
279config MACH_CM_T35
280	bool "CompuLab CM-T35/CM-T3730 modules"
281	depends on ARCH_OMAP3
282	default y
283	select MACH_CM_T3730
284	select OMAP_PACKAGE_CUS
285
286config MACH_CM_T3517
287	bool "CompuLab CM-T3517 module"
288	depends on ARCH_OMAP3
289	default y
290	select OMAP_PACKAGE_CBB
291
292config MACH_CM_T3730
293       bool
294
295config MACH_IGEP0020
296	bool "IGEP v2 board"
297	depends on ARCH_OMAP3
298	default y
299	select OMAP_PACKAGE_CBB
300
301config MACH_IGEP0030
302	bool "IGEP OMAP3 module"
303	depends on ARCH_OMAP3
304	default y
305	select OMAP_PACKAGE_CBB
306	select MACH_IGEP0020
307
308config MACH_SBC3530
309	bool "OMAP3 SBC STALKER board"
310	depends on ARCH_OMAP3
311	default y
312	select OMAP_PACKAGE_CUS
313
314config MACH_OMAP_3630SDP
315	bool "OMAP3630 SDP board"
316	depends on ARCH_OMAP3
317	default y
318	select OMAP_PACKAGE_CBP
319
320config MACH_TI8168EVM
321	bool "TI8168 Evaluation Module"
322	depends on SOC_OMAPTI81XX
323	default y
324
325config MACH_TI8148EVM
326	bool "TI8148 Evaluation Module"
327	depends on SOC_OMAPTI81XX
328	default y
329
330config MACH_OMAP_4430SDP
331	bool "OMAP 4430 SDP board"
332	default y
333	depends on ARCH_OMAP4
334	select OMAP_PACKAGE_CBL
335	select OMAP_PACKAGE_CBS
336	select REGULATOR_FIXED_VOLTAGE if REGULATOR
337
338config MACH_OMAP4_PANDA
339	bool "OMAP4 Panda Board"
340	default y
341	depends on ARCH_OMAP4
342	select OMAP_PACKAGE_CBL
343	select OMAP_PACKAGE_CBS
344	select REGULATOR_FIXED_VOLTAGE if REGULATOR
345
346config OMAP3_EMU
347	bool "OMAP3 debugging peripherals"
348	depends on ARCH_OMAP3
349	select ARM_AMBA
350	select OC_ETM
351	help
352	  Say Y here to enable debugging hardware of omap3
353
354config OMAP3_SDRC_AC_TIMING
355	bool "Enable SDRC AC timing register changes"
356	depends on ARCH_OMAP3
357	default n
358	help
359	  If you know that none of your system initiators will attempt to
360	  access SDRAM during CORE DVFS, select Y here.  This should boost
361	  SDRAM performance at lower CORE OPPs.  There are relatively few
362	  users who will wish to say yes at this point - almost everyone will
363	  wish to say no.  Selecting yes without understanding what is
364	  going on could result in system crashes;
365
366config OMAP4_ERRATA_I688
367	bool "OMAP4 errata: Async Bridge Corruption"
368	depends on ARCH_OMAP4
369	select ARCH_HAS_BARRIERS
370	help
371	  If a data is stalled inside asynchronous bridge because of back
372	  pressure, it may be accepted multiple times, creating pointer
373	  misalignment that will corrupt next transfers on that data path
374	  until next reset of the system (No recovery procedure once the
375	  issue is hit, the path remains consistently broken). Async bridge
376	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
377	  This situation can happen only when the idle is initiated by a
378	  Master Request Disconnection (which is trigged by software when
379	  executing WFI on CPU).
380	  The work-around for this errata needs all the initiators connected
381	  through async bridge must ensure that data path is properly drained
382	  before issuing WFI. This condition will be met if one Strongly ordered
383	  access is performed to the target right before executing the WFI.
384	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
385	  IO barrier ensure that there is no synchronisation loss on initiators
386	  operating on both interconnect port simultaneously.
387endmenu
388
389endif
390