]> Pileus Git - ~andy/linux/blob - arch/arm/mach-at91/Kconfig
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[~andy/linux] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 config HAVE_AT91_DATAFLASH_CARD
4         bool
5
6 config HAVE_AT91_DBGU0
7         bool
8
9 config HAVE_AT91_DBGU1
10         bool
11
12 config HAVE_AT91_USART3
13         bool
14
15 config HAVE_AT91_USART4
16         bool
17
18 config HAVE_AT91_USART5
19         bool
20
21 menu "Atmel AT91 System-on-Chip"
22
23 choice
24         prompt "Atmel AT91 Processor"
25
26 config ARCH_AT91RM9200
27         bool "AT91RM9200"
28         select CPU_ARM920T
29         select GENERIC_CLOCKEVENTS
30         select HAVE_AT91_DBGU0
31         select HAVE_AT91_USART3
32
33 config ARCH_AT91SAM9260
34         bool "AT91SAM9260 or AT91SAM9XE"
35         select CPU_ARM926T
36         select GENERIC_CLOCKEVENTS
37         select HAVE_AT91_DBGU0
38         select HAVE_AT91_USART3
39         select HAVE_AT91_USART4
40         select HAVE_AT91_USART5
41         select HAVE_NET_MACB
42
43 config ARCH_AT91SAM9261
44         bool "AT91SAM9261"
45         select CPU_ARM926T
46         select GENERIC_CLOCKEVENTS
47         select HAVE_FB_ATMEL
48         select HAVE_AT91_DBGU0
49
50 config ARCH_AT91SAM9G10
51         bool "AT91SAM9G10"
52         select CPU_ARM926T
53         select GENERIC_CLOCKEVENTS
54         select HAVE_AT91_DBGU0
55         select HAVE_FB_ATMEL
56
57 config ARCH_AT91SAM9263
58         bool "AT91SAM9263"
59         select CPU_ARM926T
60         select GENERIC_CLOCKEVENTS
61         select HAVE_FB_ATMEL
62         select HAVE_NET_MACB
63         select HAVE_AT91_DBGU1
64
65 config ARCH_AT91SAM9RL
66         bool "AT91SAM9RL"
67         select CPU_ARM926T
68         select GENERIC_CLOCKEVENTS
69         select HAVE_AT91_USART3
70         select HAVE_FB_ATMEL
71         select HAVE_AT91_DBGU0
72
73 config ARCH_AT91SAM9G20
74         bool "AT91SAM9G20"
75         select CPU_ARM926T
76         select GENERIC_CLOCKEVENTS
77         select HAVE_AT91_DBGU0
78         select HAVE_AT91_USART3
79         select HAVE_AT91_USART4
80         select HAVE_AT91_USART5
81         select HAVE_NET_MACB
82
83 config ARCH_AT91SAM9G45
84         bool "AT91SAM9G45"
85         select CPU_ARM926T
86         select GENERIC_CLOCKEVENTS
87         select HAVE_AT91_USART3
88         select HAVE_FB_ATMEL
89         select HAVE_NET_MACB
90         select HAVE_AT91_DBGU1
91
92 config ARCH_AT91CAP9
93         bool "AT91CAP9"
94         select CPU_ARM926T
95         select GENERIC_CLOCKEVENTS
96         select HAVE_FB_ATMEL
97         select HAVE_NET_MACB
98         select HAVE_AT91_DBGU1
99
100 config ARCH_AT91X40
101         bool "AT91x40"
102         select ARCH_USES_GETTIMEOFFSET
103
104 endchoice
105
106 config AT91_PMC_UNIT
107         bool
108         default !ARCH_AT91X40
109
110 # ----------------------------------------------------------
111
112 if ARCH_AT91RM9200
113
114 comment "AT91RM9200 Board Type"
115
116 config MACH_ONEARM
117         bool "Ajeco 1ARM Single Board Computer"
118         help
119           Select this if you are using Ajeco's 1ARM Single Board Computer.
120           <http://www.ajeco.fi/>
121
122 config ARCH_AT91RM9200DK
123         bool "Atmel AT91RM9200-DK Development board"
124         select HAVE_AT91_DATAFLASH_CARD
125         help
126           Select this if you are using Atmel's AT91RM9200-DK Development board.
127           (Discontinued)
128
129 config MACH_AT91RM9200EK
130         bool "Atmel AT91RM9200-EK Evaluation Kit"
131         select HAVE_AT91_DATAFLASH_CARD
132         help
133           Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
134           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
135
136 config MACH_CSB337
137         bool "Cogent CSB337"
138         help
139           Select this if you are using Cogent's CSB337 board.
140           <http://www.cogcomp.com/csb_csb337.htm>
141
142 config MACH_CSB637
143         bool "Cogent CSB637"
144         help
145           Select this if you are using Cogent's CSB637 board.
146           <http://www.cogcomp.com/csb_csb637.htm>
147
148 config MACH_CARMEVA
149         bool "Conitec ARM&EVA"
150         help
151           Select this if you are using Conitec's AT91RM9200-MCU-Module.
152           <http://www.conitec.net/english/linuxboard.php>
153
154 config MACH_ATEB9200
155         bool "Embest ATEB9200"
156         help
157           Select this if you are using Embest's ATEB9200 board.
158           <http://www.embedinfo.com/english/product/ATEB9200.asp>
159
160 config MACH_KB9200
161         bool "KwikByte KB920x"
162         help
163           Select this if you are using KwikByte's KB920x board.
164           <http://www.kwikbyte.com/KB9202.html>
165
166 config MACH_PICOTUX2XX
167         bool "picotux 200"
168         help
169           Select this if you are using a picotux 200.
170           <http://www.picotux.com/>
171
172 config MACH_KAFA
173         bool "Sperry-Sun KAFA board"
174         help
175           Select this if you are using Sperry-Sun's KAFA board.
176
177 config MACH_ECBAT91
178         bool "emQbit ECB_AT91 SBC"
179         select HAVE_AT91_DATAFLASH_CARD
180         help
181           Select this if you are using emQbit's ECB_AT91 board.
182           <http://wiki.emqbit.com/free-ecb-at91>
183
184 config MACH_YL9200
185         bool "ucDragon YL-9200"
186         help
187           Select this if you are using the ucDragon YL-9200 board.
188
189 config MACH_CPUAT91
190         bool "Eukrea CPUAT91"
191         help
192           Select this if you are using the Eukrea Electromatique's
193           CPUAT91 board <http://www.eukrea.com/>.
194
195 config MACH_ECO920
196         bool "eco920"
197         help
198           Select this if you are using the eco920 board
199
200 config MACH_RSI_EWS
201         bool "RSI Embedded Webserver"
202         depends on ARCH_AT91RM9200
203         help
204           Select this if you are using RSIs EWS board.
205 endif
206
207 # ----------------------------------------------------------
208
209 if ARCH_AT91SAM9260
210
211 comment "AT91SAM9260 Variants"
212
213 comment "AT91SAM9260 / AT91SAM9XE Board Type"
214
215 config MACH_AT91SAM9260EK
216         bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
217         select HAVE_AT91_DATAFLASH_CARD
218         help
219           Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
220           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
221
222 config MACH_CAM60
223         bool "KwikByte KB9260 (CAM60) board"
224         help
225           Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
226           <http://www.kwikbyte.com/KB9260.html>
227
228 config MACH_SAM9_L9260
229         bool "Olimex SAM9-L9260 board"
230         select HAVE_AT91_DATAFLASH_CARD
231         help
232           Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
233           <http://www.olimex.com/dev/sam9-L9260.html>
234
235 config MACH_AFEB9260
236         bool "Custom afeb9260 board v1"
237         help
238           Select this if you are using custom afeb9260 board based on
239           open hardware design. Select this for revision 1 of the board.
240           <svn://194.85.238.22/home/users/george/svn/arm9eb>
241           <http://groups.google.com/group/arm9fpga-evolution-board>
242
243 config MACH_USB_A9260
244         bool "CALAO USB-A9260"
245         help
246           Select this if you are using a Calao Systems USB-A9260.
247           <http://www.calao-systems.com>
248
249 config MACH_QIL_A9260
250         bool "CALAO QIL-A9260 board"
251         help
252           Select this if you are using a Calao Systems QIL-A9260 Board.
253           <http://www.calao-systems.com>
254
255 config MACH_CPU9260
256         bool "Eukrea CPU9260 board"
257         help
258           Select this if you are using a Eukrea Electromatique's
259           CPU9260 Board <http://www.eukrea.com/>
260
261 config MACH_FLEXIBITY
262         bool "Flexibity Connect board"
263         help
264           Select this if you are using Flexibity Connect board
265           <http://www.flexibity.com>
266
267 endif
268
269 # ----------------------------------------------------------
270
271 if ARCH_AT91SAM9261
272
273 comment "AT91SAM9261 Board Type"
274
275 config MACH_AT91SAM9261EK
276         bool "Atmel AT91SAM9261-EK Evaluation Kit"
277         select HAVE_AT91_DATAFLASH_CARD
278         help
279           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
280           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
281
282 endif
283
284 # ----------------------------------------------------------
285
286 if ARCH_AT91SAM9G10
287
288 comment "AT91SAM9G10 Board Type"
289
290 config MACH_AT91SAM9G10EK
291         bool "Atmel AT91SAM9G10-EK Evaluation Kit"
292         select HAVE_AT91_DATAFLASH_CARD
293         help
294           Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
295           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
296
297 endif
298
299 # ----------------------------------------------------------
300
301 if ARCH_AT91SAM9263
302
303 comment "AT91SAM9263 Board Type"
304
305 config MACH_AT91SAM9263EK
306         bool "Atmel AT91SAM9263-EK Evaluation Kit"
307         select HAVE_AT91_DATAFLASH_CARD
308         help
309           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
310           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
311
312 config MACH_USB_A9263
313         bool "CALAO USB-A9263"
314         help
315           Select this if you are using a Calao Systems USB-A9263.
316           <http://www.calao-systems.com>
317
318 config MACH_NEOCORE926
319         bool "Adeneo NEOCORE926"
320         select HAVE_AT91_DATAFLASH_CARD
321         help
322           Select this if you are using the Adeneo Neocore 926 board.
323
324 endif
325
326 # ----------------------------------------------------------
327
328 if ARCH_AT91SAM9RL
329
330 comment "AT91SAM9RL Board Type"
331
332 config MACH_AT91SAM9RLEK
333         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
334         help
335           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
336
337 endif
338
339 # ----------------------------------------------------------
340
341 if ARCH_AT91SAM9G20
342
343 comment "AT91SAM9G20 Board Type"
344
345 config MACH_AT91SAM9G20EK
346         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
347         select HAVE_AT91_DATAFLASH_CARD
348         help
349           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
350           that embeds only one SD/MMC slot.
351
352 config MACH_AT91SAM9G20EK_2MMC
353         depends on MACH_AT91SAM9G20EK
354         bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
355         help
356           Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
357           with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
358           onwards.
359
360 config MACH_CPU9G20
361         bool "Eukrea CPU9G20 board"
362         help
363           Select this if you are using a Eukrea Electromatique's
364           CPU9G20 Board <http://www.eukrea.com/>
365
366 config MACH_ACMENETUSFOXG20
367         bool "Acme Systems srl FOX Board G20"
368         help
369           Select this if you are using Acme Systems
370           FOX Board G20 <http://www.acmesystems.it>
371
372 config MACH_PORTUXG20
373         bool "taskit PortuxG20"
374         help
375           Select this if you are using taskit's PortuxG20.
376           <http://www.taskit.de/en/>
377
378 config MACH_STAMP9G20
379         bool "taskit Stamp9G20 CPU module"
380         help
381           Select this if you are using taskit's Stamp9G20 CPU module on its
382           evaluation board.
383           <http://www.taskit.de/en/>
384
385 config MACH_PCONTROL_G20
386         bool "PControl G20 CPU module"
387         help
388           Select this if you are using taskit's Stamp9G20 CPU module on this
389           carrier board, beeing the decentralized unit of a building automation
390           system; featuring nvram, eth-switch, iso-rs485, display, io
391
392 config MACH_GSIA18S
393         bool "GS_IA18_S board"
394         help
395           This enables support for the GS_IA18_S board
396           produced by GeoSIG Ltd company. This is an internet accelerograph.
397           <http://www.geosig.com>
398
399 config MACH_USB_A9G20
400         bool "CALAO USB-A9G20"
401         depends on ARCH_AT91SAM9G20
402         help
403           Select this if you are using a Calao Systems USB-A9G20.
404           <http://www.calao-systems.com>
405
406 endif
407
408 if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
409 comment "AT91SAM9260/AT91SAM9G20 boards"
410
411 config MACH_SNAPPER_9260
412         bool "Bluewater Systems Snapper 9260/9G20 module"
413         help
414           Select this if you are using the Bluewater Systems Snapper 9260 or
415           Snapper 9G20 modules.
416           <http://www.bluewatersys.com/>
417 endif
418
419 # ----------------------------------------------------------
420
421 if ARCH_AT91SAM9G45
422
423 comment "AT91SAM9G45 Board Type"
424
425 config MACH_AT91SAM9M10G45EK
426         bool "Atmel AT91SAM9M10G45-EK Evaluation Kits"
427         help
428           Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
429           "ES" at the end of the name means that this board is an
430           Engineering Sample.
431
432 endif
433
434 # ----------------------------------------------------------
435
436 if ARCH_AT91CAP9
437
438 comment "AT91CAP9 Board Type"
439
440 config MACH_AT91CAP9ADK
441         bool "Atmel AT91CAP9A-DK Evaluation Kit"
442         select HAVE_AT91_DATAFLASH_CARD
443         help
444           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
445           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
446
447 endif
448
449 # ----------------------------------------------------------
450
451 if ARCH_AT91X40
452
453 comment "AT91X40 Board Type"
454
455 config MACH_AT91EB01
456         bool "Atmel AT91EB01 Evaluation Kit"
457         help
458           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
459           It is also a popular target for simulators such as GDB's
460           ARM simulator (commonly known as the ARMulator) and the
461           Skyeye simulator.
462
463 endif
464
465 # ----------------------------------------------------------
466
467 comment "Generic Board Type"
468
469 config MACH_AT91SAM_DT
470         bool "Atmel AT91SAM Evaluation Kits with device-tree support"
471         select USE_OF
472         help
473           Select this if you want to experiment device-tree with
474           an Atmel Evaluation Kit.
475
476 # ----------------------------------------------------------
477
478 comment "AT91 Board Options"
479
480 config MTD_AT91_DATAFLASH_CARD
481         bool "Enable DataFlash Card support"
482         depends on HAVE_AT91_DATAFLASH_CARD
483         help
484           Enable support for the DataFlash card.
485
486 # ----------------------------------------------------------
487
488 comment "AT91 Feature Selections"
489
490 config AT91_PROGRAMMABLE_CLOCKS
491         bool "Programmable Clocks"
492         help
493           Select this if you need to program one or more of the PCK0..PCK3
494           programmable clock outputs.
495
496 config AT91_SLOW_CLOCK
497         bool "Suspend-to-RAM disables main oscillator"
498         depends on SUSPEND
499         help
500           Select this if you want Suspend-to-RAM to save the most power
501           possible (without powering off the CPU) by disabling the PLLs
502           and main oscillator so that only the 32 KiHz clock is available.
503
504           When only that slow-clock is available, some peripherals lose
505           functionality.  Many can't issue wakeup events unless faster
506           clocks are available.  Some lose their operating state and
507           need to be completely re-initialized.
508
509 config AT91_TIMER_HZ
510        int "Kernel HZ (jiffies per second)"
511        range 32 1024
512        depends on ARCH_AT91
513        default "128" if ARCH_AT91RM9200
514        default "100"
515        help
516           On AT91rm9200 chips where you're using a system clock derived
517           from the 32768 Hz hardware clock, this tick rate should divide
518           it exactly: use a power-of-two value, such as 128 or 256, to
519           reduce timing errors caused by rounding.
520
521           On AT91sam926x chips, or otherwise when using a higher precision
522           system clock (of at least several MHz), rounding is less of a
523           problem so it can be safer to use a decimal values like 100.
524
525 choice
526         prompt "Select a UART for early kernel messages"
527
528 config AT91_EARLY_DBGU0
529         bool "DBGU on rm9200, 9260/9g20, 9261/9g10 and 9rl"
530         depends on HAVE_AT91_DBGU0
531
532 config AT91_EARLY_DBGU1
533         bool "DBGU on 9263, 9g45 and cap9"
534         depends on HAVE_AT91_DBGU1
535
536 config AT91_EARLY_USART0
537         bool "USART0"
538
539 config AT91_EARLY_USART1
540         bool "USART1"
541
542 config AT91_EARLY_USART2
543         bool "USART2"
544         depends on ! ARCH_AT91X40
545
546 config AT91_EARLY_USART3
547         bool "USART3"
548         depends on HAVE_AT91_USART3
549
550 config AT91_EARLY_USART4
551         bool "USART4"
552         depends on HAVE_AT91_USART4
553
554 config AT91_EARLY_USART5
555         bool "USART5"
556         depends on HAVE_AT91_USART5
557
558 endchoice
559
560 endmenu
561
562 endif