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