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