Merge branch 'master' of git://git.infradead.org/users/dedekind/mtd-tests-2.6
[pandora-kernel.git] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 menu "Atmel AT91 System-on-Chip"
4
5 choice
6         prompt "Atmel AT91 Processor"
7
8 config ARCH_AT91RM9200
9         bool "AT91RM9200"
10         select CPU_ARM920T
11         select GENERIC_TIME
12         select GENERIC_CLOCKEVENTS
13
14 config ARCH_AT91SAM9260
15         bool "AT91SAM9260 or AT91SAM9XE"
16         select CPU_ARM926T
17         select GENERIC_TIME
18         select GENERIC_CLOCKEVENTS
19
20 config ARCH_AT91SAM9261
21         bool "AT91SAM9261"
22         select CPU_ARM926T
23         select GENERIC_TIME
24         select GENERIC_CLOCKEVENTS
25
26 config ARCH_AT91SAM9263
27         bool "AT91SAM9263"
28         select CPU_ARM926T
29         select GENERIC_TIME
30         select GENERIC_CLOCKEVENTS
31
32 config ARCH_AT91SAM9RL
33         bool "AT91SAM9RL"
34         select CPU_ARM926T
35         select GENERIC_TIME
36         select GENERIC_CLOCKEVENTS
37
38 config ARCH_AT91SAM9G20
39         bool "AT91SAM9G20"
40         select CPU_ARM926T
41         select GENERIC_TIME
42         select GENERIC_CLOCKEVENTS
43
44 config ARCH_AT91CAP9
45         bool "AT91CAP9"
46         select CPU_ARM926T
47         select GENERIC_TIME
48         select GENERIC_CLOCKEVENTS
49
50 config ARCH_AT91X40
51         bool "AT91x40"
52
53 endchoice
54
55 config AT91_PMC_UNIT
56         bool
57         default !ARCH_AT91X40
58
59 # ----------------------------------------------------------
60
61 if ARCH_AT91RM9200
62
63 comment "AT91RM9200 Board Type"
64
65 config MACH_ONEARM
66         bool "Ajeco 1ARM Single Board Computer"
67         depends on ARCH_AT91RM9200
68         help
69           Select this if you are using Ajeco's 1ARM Single Board Computer.
70           <http://www.ajeco.fi/products.htm>
71
72 config ARCH_AT91RM9200DK
73         bool "Atmel AT91RM9200-DK Development board"
74         depends on ARCH_AT91RM9200
75         help
76           Select this if you are using Atmel's AT91RM9200-DK Development board.
77           (Discontinued)
78
79 config MACH_AT91RM9200EK
80         bool "Atmel AT91RM9200-EK Evaluation Kit"
81         depends on ARCH_AT91RM9200
82         help
83           Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
84           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
85
86 config MACH_CSB337
87         bool "Cogent CSB337"
88         depends on ARCH_AT91RM9200
89         help
90           Select this if you are using Cogent's CSB337 board.
91           <http://www.cogcomp.com/csb_csb337.htm>
92
93 config MACH_CSB637
94         bool "Cogent CSB637"
95         depends on ARCH_AT91RM9200
96         help
97           Select this if you are using Cogent's CSB637 board.
98           <http://www.cogcomp.com/csb_csb637.htm>
99
100 config MACH_CARMEVA
101         bool "Conitec ARM&EVA"
102         depends on ARCH_AT91RM9200
103         help
104           Select this if you are using Conitec's AT91RM9200-MCU-Module.
105           <http://www.conitec.net/english/linuxboard.htm>
106
107 config MACH_ATEB9200
108         bool "Embest ATEB9200"
109         depends on ARCH_AT91RM9200
110         help
111           Select this if you are using Embest's ATEB9200 board.
112           <http://www.embedinfo.com/english/product/ATEB9200.asp>
113
114 config MACH_KB9200
115         bool "KwikByte KB920x"
116         depends on ARCH_AT91RM9200
117         help
118           Select this if you are using KwikByte's KB920x board.
119           <http://kwikbyte.com/KB9202_description_new.htm>
120
121 config MACH_PICOTUX2XX
122         bool "picotux 200"
123         depends on ARCH_AT91RM9200
124         help
125           Select this if you are using a picotux 200.
126           <http://www.picotux.com/>
127
128 config MACH_KAFA
129         bool "Sperry-Sun KAFA board"
130         depends on ARCH_AT91RM9200
131         help
132           Select this if you are using Sperry-Sun's KAFA board.
133
134 config MACH_ECBAT91
135         bool "emQbit ECB_AT91 SBC"
136         depends on ARCH_AT91RM9200
137         help
138           Select this if you are using emQbit's ECB_AT91 board.
139           <http://wiki.emqbit.com/free-ecb-at91>
140
141 config MACH_YL9200
142         bool "ucDragon YL-9200"
143         depends on ARCH_AT91RM9200
144         help
145           Select this if you are using the ucDragon YL-9200 board.
146
147 endif
148
149 # ----------------------------------------------------------
150
151 if ARCH_AT91SAM9260
152
153 comment "AT91SAM9260 Variants"
154
155 config ARCH_AT91SAM9260_SAM9XE
156         bool "AT91SAM9XE"
157         depends on ARCH_AT91SAM9260
158         help
159           Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
160           They are basically AT91SAM9260s with various sizes of embedded Flash.
161
162 comment "AT91SAM9260 / AT91SAM9XE Board Type"
163
164 config MACH_AT91SAM9260EK
165         bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
166         depends on ARCH_AT91SAM9260
167         help
168           Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
169           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
170
171 config MACH_CAM60
172         bool "KwikByte KB9260 (CAM60) board"
173         depends on ARCH_AT91SAM9260
174         help
175           Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
176           <http://www.kwikbyte.com/KB9260.html>
177
178 config MACH_SAM9_L9260
179         bool "Olimex SAM9-L9260 board"
180         depends on ARCH_AT91SAM9260
181         help
182           Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
183           <http://www.olimex.com/dev/sam9-L9260.html>
184
185 config MACH_AFEB9260
186         bool "Custom afeb9260 board v1"
187         depends on ARCH_AT91SAM9260
188         help
189           Select this if you are using custom afeb9260 board based on
190           open hardware design. Select this for revision 1 of the board.
191           <svn://194.85.238.22/home/users/george/svn/arm9eb>
192           <http://groups.google.com/group/arm9fpga-evolution-board>
193
194 config MACH_USB_A9260
195         bool "CALAO USB-A9260"
196         depends on ARCH_AT91SAM9260
197         help
198           Select this if you are using a Calao Systems USB-A9260.
199           <http://www.calao-systems.com>
200
201 config MACH_QIL_A9260
202         bool "CALAO QIL-A9260 board"
203         depends on ARCH_AT91SAM9260
204         help
205           Select this if you are using a Calao Systems QIL-A9260 Board.
206           <http://www.calao-systems.com>
207
208 endif
209
210 # ----------------------------------------------------------
211
212 if ARCH_AT91SAM9261
213
214 comment "AT91SAM9261 Board Type"
215
216 config MACH_AT91SAM9261EK
217         bool "Atmel AT91SAM9261-EK Evaluation Kit"
218         depends on ARCH_AT91SAM9261
219         help
220           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
221           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
222
223 endif
224
225 # ----------------------------------------------------------
226
227 if ARCH_AT91SAM9263
228
229 comment "AT91SAM9263 Board Type"
230
231 config MACH_AT91SAM9263EK
232         bool "Atmel AT91SAM9263-EK Evaluation Kit"
233         depends on ARCH_AT91SAM9263
234         help
235           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
236           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
237
238 config MACH_USB_A9263
239         bool "CALAO USB-A9263"
240         depends on ARCH_AT91SAM9263
241         help
242           Select this if you are using a Calao Systems USB-A9263.
243           <http://www.calao-systems.com>
244
245 config MACH_NEOCORE926
246         bool "Adeneo NEOCORE926"
247         depends on ARCH_AT91SAM9263
248         help
249           Select this if you are using the Adeneo Neocore 926 board.
250
251 endif
252
253 # ----------------------------------------------------------
254
255 if ARCH_AT91SAM9RL
256
257 comment "AT91SAM9RL Board Type"
258
259 config MACH_AT91SAM9RLEK
260         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
261         depends on ARCH_AT91SAM9RL
262         help
263           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
264
265 endif
266
267 # ----------------------------------------------------------
268
269 if ARCH_AT91SAM9G20
270
271 comment "AT91SAM9G20 Board Type"
272
273 config MACH_AT91SAM9G20EK
274         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
275         depends on ARCH_AT91SAM9G20
276         help
277           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit.
278
279 endif
280
281 # ----------------------------------------------------------
282
283 if ARCH_AT91CAP9
284
285 comment "AT91CAP9 Board Type"
286
287 config MACH_AT91CAP9ADK
288         bool "Atmel AT91CAP9A-DK Evaluation Kit"
289         depends on ARCH_AT91CAP9
290         help
291           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
292           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
293
294 endif
295
296 # ----------------------------------------------------------
297
298 if ARCH_AT91X40
299
300 comment "AT91X40 Board Type"
301
302 config MACH_AT91EB01
303         bool "Atmel AT91EB01 Evaluation Kit"
304         help
305           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
306           It is also a popular target for simulators such as GDB's
307           ARM simulator (commonly known as the ARMulator) and the
308           Skyeye simulator.
309
310 endif
311
312 # ----------------------------------------------------------
313
314 comment "AT91 Board Options"
315
316 config MTD_AT91_DATAFLASH_CARD
317         bool "Enable DataFlash Card support"
318         depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_ECBAT91 || MACH_SAM9_L9260 || MACH_AT91CAP9ADK || MACH_NEOCORE926)
319         help
320           Enable support for the DataFlash card.
321
322 config MTD_NAND_ATMEL_BUSWIDTH_16
323         bool "Enable 16-bit data bus interface to NAND flash"
324         depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK)
325         help
326           On AT91SAM926x boards both types of NAND flash can be present
327           (8 and 16 bit data bus width).
328
329 # ----------------------------------------------------------
330
331 comment "AT91 Feature Selections"
332
333 config AT91_PROGRAMMABLE_CLOCKS
334         bool "Programmable Clocks"
335         help
336           Select this if you need to program one or more of the PCK0..PCK3
337           programmable clock outputs.
338
339 config AT91_SLOW_CLOCK
340         bool "Suspend-to-RAM disables main oscillator"
341         depends on SUSPEND
342         help
343           Select this if you want Suspend-to-RAM to save the most power
344           possible (without powering off the CPU) by disabling the PLLs
345           and main oscillator so that only the 32 KiHz clock is available.
346
347           When only that slow-clock is available, some peripherals lose
348           functionality.  Many can't issue wakeup events unless faster
349           clocks are available.  Some lose their operating state and
350           need to be completely re-initialized.
351
352 config AT91_TIMER_HZ
353        int "Kernel HZ (jiffies per second)"
354        range 32 1024
355        depends on ARCH_AT91
356        default "128" if ARCH_AT91RM9200
357        default "100"
358        help
359           On AT91rm9200 chips where you're using a system clock derived
360           from the 32768 Hz hardware clock, this tick rate should divide
361           it exactly: use a power-of-two value, such as 128 or 256, to
362           reduce timing errors caused by rounding.
363
364           On AT91sam926x chips, or otherwise when using a higher precision
365           system clock (of at least several MHz), rounding is less of a
366           problem so it can be safer to use a decimal values like 100.
367
368 choice
369         prompt "Select a UART for early kernel messages"
370
371 config AT91_EARLY_DBGU
372         bool "DBGU"
373
374 config AT91_EARLY_USART0
375         bool "USART0"
376
377 config AT91_EARLY_USART1
378         bool "USART1"
379
380 config AT91_EARLY_USART2
381         bool "USART2"
382         depends on ! ARCH_AT91X40
383
384 config AT91_EARLY_USART3
385         bool "USART3"
386         depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
387
388 config AT91_EARLY_USART4
389         bool "USART4"
390         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
391
392 config AT91_EARLY_USART5
393         bool "USART5"
394         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
395
396 endchoice
397
398 endmenu
399
400 endif