serial: mpc52xx_uart: fix null pointer dereference
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-at91 / Kconfig
blob2db43a5ddd9b7b752b054ded6ff3c32f2c6c3de7
1 if ARCH_AT91
3 config HAVE_AT91_DATAFLASH_CARD
4         bool
6 config HAVE_NAND_ATMEL_BUSWIDTH_16
7         bool
9 config HAVE_AT91_USART3
10         bool
12 config HAVE_AT91_USART4
13         bool
15 config HAVE_AT91_USART5
16         bool
18 menu "Atmel AT91 System-on-Chip"
20 choice
21         prompt "Atmel AT91 Processor"
23 config ARCH_AT91RM9200
24         bool "AT91RM9200"
25         select CPU_ARM920T
26         select GENERIC_TIME
27         select GENERIC_CLOCKEVENTS
28         select HAVE_AT91_USART3
30 config ARCH_AT91SAM9260
31         bool "AT91SAM9260 or AT91SAM9XE"
32         select CPU_ARM926T
33         select GENERIC_TIME
34         select GENERIC_CLOCKEVENTS
35         select HAVE_AT91_USART3
36         select HAVE_AT91_USART4
37         select HAVE_AT91_USART5
39 config ARCH_AT91SAM9261
40         bool "AT91SAM9261"
41         select CPU_ARM926T
42         select GENERIC_TIME
43         select GENERIC_CLOCKEVENTS
44         select HAVE_FB_ATMEL
46 config ARCH_AT91SAM9G10
47         bool "AT91SAM9G10"
48         select CPU_ARM926T
49         select GENERIC_TIME
50         select GENERIC_CLOCKEVENTS
51         select HAVE_FB_ATMEL
53 config ARCH_AT91SAM9263
54         bool "AT91SAM9263"
55         select CPU_ARM926T
56         select GENERIC_TIME
57         select GENERIC_CLOCKEVENTS
58         select HAVE_FB_ATMEL
60 config ARCH_AT91SAM9RL
61         bool "AT91SAM9RL"
62         select CPU_ARM926T
63         select GENERIC_TIME
64         select GENERIC_CLOCKEVENTS
65         select HAVE_AT91_USART3
66         select HAVE_FB_ATMEL
68 config ARCH_AT91SAM9G20
69         bool "AT91SAM9G20"
70         select CPU_ARM926T
71         select GENERIC_TIME
72         select GENERIC_CLOCKEVENTS
73         select HAVE_AT91_USART3
74         select HAVE_AT91_USART4
75         select HAVE_AT91_USART5
77 config ARCH_AT91SAM9G45
78         bool "AT91SAM9G45"
79         select CPU_ARM926T
80         select GENERIC_TIME
81         select GENERIC_CLOCKEVENTS
82         select HAVE_AT91_USART3
83         select HAVE_FB_ATMEL
85 config ARCH_AT91CAP9
86         bool "AT91CAP9"
87         select CPU_ARM926T
88         select GENERIC_TIME
89         select GENERIC_CLOCKEVENTS
90         select HAVE_FB_ATMEL
92 config ARCH_AT572D940HF
93         bool "AT572D940HF"
94         select CPU_ARM926T
95         select GENERIC_TIME
96         select GENERIC_CLOCKEVENTS
98 config ARCH_AT91X40
99         bool "AT91x40"
101 endchoice
103 config AT91_PMC_UNIT
104         bool
105         default !ARCH_AT91X40
107 # ----------------------------------------------------------
109 if ARCH_AT91RM9200
111 comment "AT91RM9200 Board Type"
113 config MACH_ONEARM
114         bool "Ajeco 1ARM Single Board Computer"
115         help
116           Select this if you are using Ajeco's 1ARM Single Board Computer.
117           <http://www.ajeco.fi/products.htm>
119 config ARCH_AT91RM9200DK
120         bool "Atmel AT91RM9200-DK Development board"
121         select HAVE_AT91_DATAFLASH_CARD
122         help
123           Select this if you are using Atmel's AT91RM9200-DK Development board.
124           (Discontinued)
126 config MACH_AT91RM9200EK
127         bool "Atmel AT91RM9200-EK Evaluation Kit"
128         select HAVE_AT91_DATAFLASH_CARD
129         help
130           Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
131           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
133 config MACH_CSB337
134         bool "Cogent CSB337"
135         help
136           Select this if you are using Cogent's CSB337 board.
137           <http://www.cogcomp.com/csb_csb337.htm>
139 config MACH_CSB637
140         bool "Cogent CSB637"
141         help
142           Select this if you are using Cogent's CSB637 board.
143           <http://www.cogcomp.com/csb_csb637.htm>
145 config MACH_CARMEVA
146         bool "Conitec ARM&EVA"
147         help
148           Select this if you are using Conitec's AT91RM9200-MCU-Module.
149           <http://www.conitec.net/english/linuxboard.htm>
151 config MACH_ATEB9200
152         bool "Embest ATEB9200"
153         help
154           Select this if you are using Embest's ATEB9200 board.
155           <http://www.embedinfo.com/english/product/ATEB9200.asp>
157 config MACH_KB9200
158         bool "KwikByte KB920x"
159         help
160           Select this if you are using KwikByte's KB920x board.
161           <http://kwikbyte.com/KB9202_description_new.htm>
163 config MACH_PICOTUX2XX
164         bool "picotux 200"
165         help
166           Select this if you are using a picotux 200.
167           <http://www.picotux.com/>
169 config MACH_KAFA
170         bool "Sperry-Sun KAFA board"
171         help
172           Select this if you are using Sperry-Sun's KAFA board.
174 config MACH_ECBAT91
175         bool "emQbit ECB_AT91 SBC"
176         select HAVE_AT91_DATAFLASH_CARD
177         help
178           Select this if you are using emQbit's ECB_AT91 board.
179           <http://wiki.emqbit.com/free-ecb-at91>
181 config MACH_YL9200
182         bool "ucDragon YL-9200"
183         help
184           Select this if you are using the ucDragon YL-9200 board.
186 config MACH_CPUAT91
187         bool "Eukrea CPUAT91"
188         help
189           Select this if you are using the Eukrea Electromatique's
190           CPUAT91 board <http://www.eukrea.com/>.
192 config MACH_ECO920
193         bool "eco920"
194         help
195           Select this if you are using the eco920 board
197 endif
199 # ----------------------------------------------------------
201 if ARCH_AT91SAM9260
203 comment "AT91SAM9260 Variants"
205 config ARCH_AT91SAM9260_SAM9XE
206         bool "AT91SAM9XE"
207         help
208           Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
209           They are basically AT91SAM9260s with various sizes of embedded Flash.
211 comment "AT91SAM9260 / AT91SAM9XE Board Type"
213 config MACH_AT91SAM9260EK
214         bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
215         select HAVE_AT91_DATAFLASH_CARD
216         select HAVE_NAND_ATMEL_BUSWIDTH_16
217         help
218           Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
219           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
221 config MACH_CAM60
222         bool "KwikByte KB9260 (CAM60) board"
223         help
224           Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
225           <http://www.kwikbyte.com/KB9260.html>
227 config MACH_SAM9_L9260
228         bool "Olimex SAM9-L9260 board"
229         select HAVE_AT91_DATAFLASH_CARD
230         help
231           Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
232           <http://www.olimex.com/dev/sam9-L9260.html>
234 config MACH_AFEB9260
235         bool "Custom afeb9260 board v1"
236         help
237           Select this if you are using custom afeb9260 board based on
238           open hardware design. Select this for revision 1 of the board.
239           <svn://194.85.238.22/home/users/george/svn/arm9eb>
240           <http://groups.google.com/group/arm9fpga-evolution-board>
242 config MACH_USB_A9260
243         bool "CALAO USB-A9260"
244         help
245           Select this if you are using a Calao Systems USB-A9260.
246           <http://www.calao-systems.com>
248 config MACH_QIL_A9260
249         bool "CALAO QIL-A9260 board"
250         help
251           Select this if you are using a Calao Systems QIL-A9260 Board.
252           <http://www.calao-systems.com>
254 config MACH_CPU9260
255         bool "Eukrea CPU9260 board"
256         help
257           Select this if you are using a Eukrea Electromatique's
258           CPU9260 Board <http://www.eukrea.com/>
260 endif
262 # ----------------------------------------------------------
264 if ARCH_AT91SAM9261
266 comment "AT91SAM9261 Board Type"
268 config MACH_AT91SAM9261EK
269         bool "Atmel AT91SAM9261-EK Evaluation Kit"
270         select HAVE_AT91_DATAFLASH_CARD
271         select HAVE_NAND_ATMEL_BUSWIDTH_16
272         help
273           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
274           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
276 endif
278 # ----------------------------------------------------------
280 if ARCH_AT91SAM9G10
282 comment "AT91SAM9G10 Board Type"
284 config MACH_AT91SAM9G10EK
285         bool "Atmel AT91SAM9G10-EK Evaluation Kit"
286         select HAVE_AT91_DATAFLASH_CARD
287         select HAVE_NAND_ATMEL_BUSWIDTH_16
288         help
289           Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
290           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
292 endif
294 # ----------------------------------------------------------
296 if ARCH_AT91SAM9263
298 comment "AT91SAM9263 Board Type"
300 config MACH_AT91SAM9263EK
301         bool "Atmel AT91SAM9263-EK Evaluation Kit"
302         select HAVE_AT91_DATAFLASH_CARD
303         select HAVE_NAND_ATMEL_BUSWIDTH_16
304         help
305           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
306           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
308 config MACH_USB_A9263
309         bool "CALAO USB-A9263"
310         help
311           Select this if you are using a Calao Systems USB-A9263.
312           <http://www.calao-systems.com>
314 config MACH_NEOCORE926
315         bool "Adeneo NEOCORE926"
316         select HAVE_AT91_DATAFLASH_CARD
317         help
318           Select this if you are using the Adeneo Neocore 926 board.
320 endif
322 # ----------------------------------------------------------
324 if ARCH_AT91SAM9RL
326 comment "AT91SAM9RL Board Type"
328 config MACH_AT91SAM9RLEK
329         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
330         help
331           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
333 endif
335 # ----------------------------------------------------------
337 if ARCH_AT91SAM9G20
339 comment "AT91SAM9G20 Board Type"
341 config MACH_AT91SAM9G20EK
342         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
343         select HAVE_AT91_DATAFLASH_CARD
344         select HAVE_NAND_ATMEL_BUSWIDTH_16
345         help
346           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
347           that embeds only one SD/MMC slot.
349 config MACH_AT91SAM9G20EK_2MMC
350         bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
351         select HAVE_NAND_ATMEL_BUSWIDTH_16
352         help
353           Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
354           with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
355           onwards.
357 config MACH_CPU9G20
358         bool "Eukrea CPU9G20 board"
359         help
360           Select this if you are using a Eukrea Electromatique's
361           CPU9G20 Board <http://www.eukrea.com/>
363 endif
365 # ----------------------------------------------------------
367 if ARCH_AT91SAM9G45
369 comment "AT91SAM9G45 Board Type"
371 config MACH_AT91SAM9G45EKES
372         bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
373         select HAVE_NAND_ATMEL_BUSWIDTH_16
374         help
375           Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
376           "ES" at the end of the name means that this board is an
377           Engineering Sample.
379 endif
381 # ----------------------------------------------------------
383 if ARCH_AT91CAP9
385 comment "AT91CAP9 Board Type"
387 config MACH_AT91CAP9ADK
388         bool "Atmel AT91CAP9A-DK Evaluation Kit"
389         select HAVE_AT91_DATAFLASH_CARD
390         select HAVE_NAND_ATMEL_BUSWIDTH_16
391         help
392           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
393           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
395 endif
397 # ----------------------------------------------------------
399 if ARCH_AT572D940HF
401 comment "AT572D940HF Board Type"
403 config MACH_AT572D940HFEB
404         bool "AT572D940HF-EK"
405         depends on ARCH_AT572D940HF
406         select HAVE_AT91_DATAFLASH_CARD
407         select HAVE_NAND_ATMEL_BUSWIDTH_16
408         help
409           Select this if you are using Atmel's AT572D940HF-EK evaluation kit.
410           <http://www.atmel.com/products/diopsis/default.asp>
412 endif
414 # ----------------------------------------------------------
416 if ARCH_AT91X40
418 comment "AT91X40 Board Type"
420 config MACH_AT91EB01
421         bool "Atmel AT91EB01 Evaluation Kit"
422         help
423           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
424           It is also a popular target for simulators such as GDB's
425           ARM simulator (commonly known as the ARMulator) and the
426           Skyeye simulator.
428 endif
430 # ----------------------------------------------------------
432 comment "AT91 Board Options"
434 config MTD_AT91_DATAFLASH_CARD
435         bool "Enable DataFlash Card support"
436         depends on HAVE_AT91_DATAFLASH_CARD
437         help
438           Enable support for the DataFlash card.
440 config MTD_NAND_ATMEL_BUSWIDTH_16
441         bool "Enable 16-bit data bus interface to NAND flash"
442         depends on HAVE_NAND_ATMEL_BUSWIDTH_16
443         help
444           On AT91SAM926x boards both types of NAND flash can be present
445           (8 and 16 bit data bus width).
447 # ----------------------------------------------------------
449 comment "AT91 Feature Selections"
451 config AT91_PROGRAMMABLE_CLOCKS
452         bool "Programmable Clocks"
453         help
454           Select this if you need to program one or more of the PCK0..PCK3
455           programmable clock outputs.
457 config AT91_SLOW_CLOCK
458         bool "Suspend-to-RAM disables main oscillator"
459         depends on SUSPEND
460         help
461           Select this if you want Suspend-to-RAM to save the most power
462           possible (without powering off the CPU) by disabling the PLLs
463           and main oscillator so that only the 32 KiHz clock is available.
465           When only that slow-clock is available, some peripherals lose
466           functionality.  Many can't issue wakeup events unless faster
467           clocks are available.  Some lose their operating state and
468           need to be completely re-initialized.
470 config AT91_TIMER_HZ
471        int "Kernel HZ (jiffies per second)"
472        range 32 1024
473        depends on ARCH_AT91
474        default "128" if ARCH_AT91RM9200
475        default "100"
476        help
477           On AT91rm9200 chips where you're using a system clock derived
478           from the 32768 Hz hardware clock, this tick rate should divide
479           it exactly: use a power-of-two value, such as 128 or 256, to
480           reduce timing errors caused by rounding.
482           On AT91sam926x chips, or otherwise when using a higher precision
483           system clock (of at least several MHz), rounding is less of a
484           problem so it can be safer to use a decimal values like 100.
486 choice
487         prompt "Select a UART for early kernel messages"
489 config AT91_EARLY_DBGU
490         bool "DBGU"
492 config AT91_EARLY_USART0
493         bool "USART0"
495 config AT91_EARLY_USART1
496         bool "USART1"
498 config AT91_EARLY_USART2
499         bool "USART2"
500         depends on ! ARCH_AT91X40
502 config AT91_EARLY_USART3
503         bool "USART3"
504         depends on HAVE_AT91_USART3
506 config AT91_EARLY_USART4
507         bool "USART4"
508         depends on HAVE_AT91_USART4
510 config AT91_EARLY_USART5
511         bool "USART5"
512         depends on HAVE_AT91_USART5
514 endchoice
516 endmenu
518 endif