blob: 2995035812eccaf8b80f3d889470626dee7f36e2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MMU
2 bool
3 default y
4
Christoph Lameter66701b12007-02-10 01:43:09 -08005config ZONE_DMA
6 bool
7 default y
8
Linus Torvalds1da177e2005-04-16 15:20:36 -07009config RWSEM_GENERIC_SPINLOCK
10 bool
11 default y
12
13config RWSEM_XCHGADD_ALGORITHM
14 bool
15
John Stultz8eff8a52010-03-03 19:57:28 -080016config GENERIC_CMOS_UPDATE
17 def_bool y
18
john stultzba875ba2010-03-05 13:42:31 -080019config ARCH_USES_GETTIMEOFFSET
Jesper Nilsson60dbd662010-07-30 17:33:07 +020020 def_bool n
john stultzba875ba2010-03-05 13:42:31 -080021
David Howellsf0d1b0b2006-12-08 02:37:49 -080022config ARCH_HAS_ILOG2_U32
23 bool
24 default n
25
26config ARCH_HAS_ILOG2_U64
27 bool
28 default n
29
Akinobu Mitae9f26df2006-03-26 01:39:21 -080030config GENERIC_HWEIGHT
31 bool
32 default y
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config GENERIC_CALIBRATE_DELAY
35 bool
36 default y
37
Al Viro5ea81762007-02-11 15:41:31 +000038config NO_IOPORT
39 def_bool y
40
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010041config FORCE_MAX_ZONEORDER
42 int
43 default 6
44
Linus Torvalds1da177e2005-04-16 15:20:36 -070045config CRIS
46 bool
47 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010048 select HAVE_IDE
Thomas Gleixner30139782011-01-19 14:20:13 +010049 select HAVE_GENERIC_HARDIRQS
Thomas Gleixner15825a52011-03-17 13:39:19 +010050 select GENERIC_IRQ_SHOW
Michael S. Tsirkin4673ca82011-11-24 14:54:28 +020051 select GENERIC_IOMAP
Thomas Gleixnera4cfc312012-04-20 13:05:53 +000052 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
Linus Torvalds1da177e2005-04-16 15:20:36 -070053
H. Peter Anvinbdc80782008-02-08 04:21:26 -080054config HZ
55 int
56 default 100
57
Linus Torvalds1da177e2005-04-16 15:20:36 -070058source "init/Kconfig"
59
Matt Helsleydc52ddc2008-10-18 20:27:21 -070060source "kernel/Kconfig.freezer"
61
Linus Torvalds1da177e2005-04-16 15:20:36 -070062menu "General setup"
63
64source "fs/Kconfig.binfmt"
65
66config ETRAX_CMDLINE
67 string "Kernel command line"
68 default "root=/dev/mtdblock3"
69 help
70 Pass additional commands to the kernel.
71
72config ETRAX_WATCHDOG
73 bool "Enable ETRAX watchdog"
74 help
75 Enable the built-in watchdog timer support on ETRAX based embedded
76 network computers.
77
78config ETRAX_WATCHDOG_NICE_DOGGY
79 bool "Disable watchdog during Oops printouts"
80 depends on ETRAX_WATCHDOG
81 help
82 By enabling this you make sure that the watchdog does not bite while
83 printing oopses. Recommended for development systems but not for
84 production releases.
85
86config ETRAX_FAST_TIMER
87 bool "Enable ETRAX fast timer API"
88 help
89 This options enables the API to a fast timer implementation using
90 timer1 to get sub jiffie resolution timers (primarily one-shot
91 timers).
92 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
93
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010094config ETRAX_KMALLOCED_MODULES
95 bool "Enable module allocation with kmalloc"
Linus Torvalds1da177e2005-04-16 15:20:36 -070096 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010097 Enable module allocation with kmalloc instead of vmalloc.
Linus Torvalds1da177e2005-04-16 15:20:36 -070098
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010099config OOM_REBOOT
100 bool "Enable reboot at out of memory"
101
102source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103
Dave Hansen3f22ab22005-06-23 00:07:43 -0700104source mm/Kconfig
105
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106endmenu
107
108menu "Hardware setup"
109
110choice
111 prompt "Processor type"
112 default ETRAX100LX
113
114config ETRAX100LX
115 bool "ETRAX-100LX-v1"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200116 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117 help
118 Support version 1 of the ETRAX 100LX.
119
120config ETRAX100LX_V2
121 bool "ETRAX-100LX-v2"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200122 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123 help
124 Support version 2 of the ETRAX 100LX.
125
126config SVINTO_SIM
127 bool "ETRAX-100LX-for-xsim-simulator"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200128 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129 help
130 Support the xsim ETRAX Simulator.
131
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100132config ETRAXFS
133 bool "ETRAX-FS-V32"
134 help
135 Support CRIS V32.
136
137config CRIS_MACH_ARTPEC3
138 bool "ARTPEC-3"
139 help
140 Support Axis ARTPEC-3.
141
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142endchoice
143
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100144config ETRAX_VCS_SIM
145 bool "VCS Simulator"
146 help
147 Setup hardware to be run in the VCS simulator.
148
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149config ETRAX_ARCH_V10
150 bool
151 default y if ETRAX100LX || ETRAX100LX_V2
152 default n if !(ETRAX100LX || ETRAX100LX_V2)
153
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100154config ETRAX_ARCH_V32
155 bool
156 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
157 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
158
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159config ETRAX_DRAM_SIZE
160 int "DRAM size (dec, in MB)"
161 default "8"
162 help
163 Size of DRAM (decimal in MB) typically 2, 8 or 16.
164
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100165config ETRAX_VMEM_SIZE
166 int "Video memory size (dec, in MB)"
167 depends on ETRAX_ARCH_V32 && !ETRAXFS
168 default 8 if !ETRAXFS
169 help
170 Size of Video accessible memory (decimal, in MB).
171
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172config ETRAX_FLASH_BUSWIDTH
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100173 int "Buswidth of NOR flash in bytes"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174 default "2"
175 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100176 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
177
178config ETRAX_NANDFLASH_BUSWIDTH
179 int "Buswidth of NAND flash in bytes"
180 default "1"
181 help
182 Width in bytes of the NAND flash (1 or 2).
183
184config ETRAX_FLASH1_SIZE
185 int "FLASH1 size (dec, in MB. 0 = Unknown)"
186 default "0"
187
188choice
189 prompt "Product debug-port"
190 default ETRAX_DEBUG_PORT0
191
192config ETRAX_DEBUG_PORT0
193 bool "Serial-0"
194 help
195 Choose a serial port for the ETRAX debug console. Default to
196 port 0.
197
198config ETRAX_DEBUG_PORT1
199 bool "Serial-1"
200 help
201 Use serial port 1 for the console.
202
203config ETRAX_DEBUG_PORT2
204 bool "Serial-2"
205 help
206 Use serial port 2 for the console.
207
208config ETRAX_DEBUG_PORT3
209 bool "Serial-3"
210 help
211 Use serial port 3 for the console.
212
213config ETRAX_DEBUG_PORT_NULL
214 bool "disabled"
215 help
216 Disable serial-port debugging.
217
218endchoice
219
220choice
221 prompt "Kernel GDB port"
222 depends on ETRAX_KGDB
223 default ETRAX_KGDB_PORT0
224 help
225 Choose a serial port for kernel debugging. NOTE: This port should
226 not be enabled under Drivers for built-in interfaces (as it has its
227 own initialization code) and should not be the same as the debug port.
228
229config ETRAX_KGDB_PORT0
230 bool "Serial-0"
231 help
232 Use serial port 0 for kernel debugging.
233
234config ETRAX_KGDB_PORT1
235 bool "Serial-1"
236 help
237 Use serial port 1 for kernel debugging.
238
239config ETRAX_KGDB_PORT2
240 bool "Serial-2"
241 help
242 Use serial port 2 for kernel debugging.
243
244config ETRAX_KGDB_PORT3
245 bool "Serial-3"
246 help
247 Use serial port 3 for kernel debugging.
248
249endchoice
Linus Torvalds1da177e2005-04-16 15:20:36 -0700250
251source arch/cris/arch-v10/Kconfig
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800252source arch/cris/arch-v32/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700253
254endmenu
255
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700256source "net/Kconfig"
257
Linus Torvalds1da177e2005-04-16 15:20:36 -0700258# bring in ETRAX built-in drivers
259menu "Drivers for built-in interfaces"
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800260source arch/cris/arch-v10/drivers/Kconfig
261source arch/cris/arch-v32/drivers/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700262
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100263config ETRAX_AXISFLASHMAP
264 bool "Axis flash-map support"
265 select MTD
266 select MTD_CFI
267 select MTD_CFI_AMDSTD
268 select MTD_JEDECPROBE if ETRAX_ARCH_V32
269 select MTD_CHAR
270 select MTD_BLOCK
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100271 select MTD_COMPLEX_MAPPINGS
272 help
273 This option enables MTD mapping of flash devices. Needed to use
274 flash memories. If unsure, say Y.
275
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100276config ETRAX_RTC
277 bool "Real Time Clock support"
278 depends on ETRAX_I2C
279 help
280 Enables drivers for the Real-Time Clock battery-backed chips on
281 some products. The kernel reads the time when booting, and
282 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
Johann Felix Soden03482992011-10-11 01:10:49 +0200283 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
284 /dev/rtc device. You can check the time with cat /proc/rtc, but
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100285 normal time reading should be done using libc function time and
286 friends.
287
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100288choice
289 prompt "RTC chip"
290 depends on ETRAX_RTC
Jesper Nilsson76735382011-03-21 11:52:11 +0100291 default ETRAX_DS1302
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100292
293config ETRAX_DS1302
294 depends on ETRAX_ARCH_V10
295 bool "DS1302"
296 help
297 Enables the driver for the DS1302 Real-Time Clock battery-backed
298 chip on some products.
299
300config ETRAX_PCF8563
301 bool "PCF8563"
302 help
303 Enables the driver for the PCF8563 Real-Time Clock battery-backed
304 chip on some products.
305
306endchoice
307
Jesper Nilssonc974a9e2008-01-21 11:44:11 +0100308config ETRAX_SYNCHRONOUS_SERIAL
309 bool "Synchronous serial-port support"
310 help
311 Select this to enable the synchronous serial port driver.
312
313config ETRAX_SYNCHRONOUS_SERIAL_PORT0
314 bool "Synchronous serial port 0 enabled"
315 depends on ETRAX_SYNCHRONOUS_SERIAL
316 help
317 Enabled synchronous serial port 0.
318
319config ETRAX_SYNCHRONOUS_SERIAL0_DMA
320 bool "Enable DMA on synchronous serial port 0."
321 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
322 help
323 A synchronous serial port can run in manual or DMA mode.
324 Selecting this option will make it run in DMA mode.
325
326config ETRAX_SYNCHRONOUS_SERIAL_PORT1
327 bool "Synchronous serial port 1 enabled"
328 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
329 help
330 Enabled synchronous serial port 1.
331
332config ETRAX_SYNCHRONOUS_SERIAL1_DMA
333 bool "Enable DMA on synchronous serial port 1."
334 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
335 help
336 A synchronous serial port can run in manual or DMA mode.
337 Selecting this option will make it run in DMA mode.
338
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100339choice
340 prompt "Network LED behavior"
341 depends on ETRAX_ETHERNET
342 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
343
344config ETRAX_NETWORK_LED_ON_WHEN_LINK
345 bool "LED_on_when_link"
346 help
347 Selecting LED_on_when_link will light the LED when there is a
348 connection and will flash off when there is activity.
349
350 Selecting LED_on_when_activity will light the LED only when
351 there is activity.
352
353 This setting will also affect the behaviour of other activity LEDs
354 e.g. Bluetooth.
355
356config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
357 bool "LED_on_when_activity"
358 help
359 Selecting LED_on_when_link will light the LED when there is a
360 connection and will flash off when there is activity.
361
362 Selecting LED_on_when_activity will light the LED only when
363 there is activity.
364
365 This setting will also affect the behaviour of other activity LEDs
366 e.g. Bluetooth.
367
368endchoice
369
370choice
371 prompt "Ser0 DMA out channel"
372 depends on ETRAX_SERIAL_PORT0
373 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
374 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
375
376config ETRAX_SERIAL_PORT0_NO_DMA_OUT
377 bool "Ser0 uses no DMA for output"
378 help
379 Do not use DMA for ser0 output.
380
381config ETRAX_SERIAL_PORT0_DMA6_OUT
382 bool "Ser0 uses DMA6 for output"
383 depends on ETRAXFS
384 help
385 Enables the DMA6 output channel for ser0 (ttyS0).
386 If you do not enable DMA, an interrupt for each character will be
387 used when transmitting data.
388 Normally you want to use DMA, unless you use the DMA channel for
389 something else.
390
391config ETRAX_SERIAL_PORT0_DMA0_OUT
392 bool "Ser0 uses DMA0 for output"
393 depends on CRIS_MACH_ARTPEC3
394 help
395 Enables the DMA0 output channel for ser0 (ttyS0).
396 If you do not enable DMA, an interrupt for each character will be
397 used when transmitting data.
398 Normally you want to use DMA, unless you use the DMA channel for
399 something else.
400
401endchoice
402
403choice
404 prompt "Ser0 DMA in channel "
405 depends on ETRAX_SERIAL_PORT0
406 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
407 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
408 help
409 What DMA channel to use for ser0.
410
411config ETRAX_SERIAL_PORT0_NO_DMA_IN
412 bool "Ser0 uses no DMA for input"
413 help
414 Do not use DMA for ser0 input.
415
416config ETRAX_SERIAL_PORT0_DMA7_IN
417 bool "Ser0 uses DMA7 for input"
418 depends on ETRAXFS
419 help
420 Enables the DMA7 input channel for ser0 (ttyS0).
421 If you do not enable DMA, an interrupt for each character will be
422 used when receiving data.
423 Normally you want to use DMA, unless you use the DMA channel for
424 something else.
425
426config ETRAX_SERIAL_PORT0_DMA1_IN
427 bool "Ser0 uses DMA1 for input"
428 depends on CRIS_MACH_ARTPEC3
429 help
430 Enables the DMA1 input channel for ser0 (ttyS0).
431 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100432 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100433 Normally you want to use DMA, unless you use the DMA channel for
434 something else.
435
436endchoice
437
438choice
439 prompt "Ser1 DMA in channel "
440 depends on ETRAX_SERIAL_PORT1
441 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
442 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
443 help
444 What DMA channel to use for ser1.
445
446config ETRAX_SERIAL_PORT1_NO_DMA_IN
447 bool "Ser1 uses no DMA for input"
448 help
449 Do not use DMA for ser1 input.
450
451config ETRAX_SERIAL_PORT1_DMA5_IN
452 bool "Ser1 uses DMA5 for input"
453 depends on ETRAX_ARCH_V32
454 help
455 Enables the DMA5 input channel for ser1 (ttyS1).
456 If you do not enable DMA, an interrupt for each character will be
457 used when receiving data.
458 Normally you want this on, unless you use the DMA channel for
459 something else.
460
461config ETRAX_SERIAL_PORT1_DMA9_IN
462 depends on ETRAX_ARCH_V10
463 bool "Ser1 uses DMA9 for input"
464
465endchoice
466
467
468choice
469 prompt "Ser1 DMA out channel"
470 depends on ETRAX_SERIAL_PORT1
471 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
472 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
473 help
474 What DMA channel to use for ser1.
475
476config ETRAX_SERIAL_PORT1_NO_DMA_OUT
477 bool "Ser1 uses no DMA for output"
478 help
479 Do not use DMA for ser1 output.
480
481config ETRAX_SERIAL_PORT1_DMA8_OUT
482 depends on ETRAX_ARCH_V10
483 bool "Ser1 uses DMA8 for output"
484
485config ETRAX_SERIAL_PORT1_DMA4_OUT
486 depends on ETRAX_ARCH_V32
487 bool "Ser1 uses DMA4 for output"
488 help
489 Enables the DMA4 output channel for ser1 (ttyS1).
490 If you do not enable DMA, an interrupt for each character will be
491 used when transmitting data.
492 Normally you want this on, unless you use the DMA channel for
493 something else.
494
495endchoice
496
497choice
498 prompt "Ser2 DMA out channel"
499 depends on ETRAX_SERIAL_PORT2
500 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
501 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
502
503config ETRAX_SERIAL_PORT2_NO_DMA_OUT
504 bool "Ser2 uses no DMA for output"
505 help
506 Do not use DMA for ser2 output.
507
508config ETRAX_SERIAL_PORT2_DMA2_OUT
509 bool "Ser2 uses DMA2 for output"
510 depends on ETRAXFS || ETRAX_ARCH_V10
511 help
512 Enables the DMA2 output channel for ser2 (ttyS2).
513 If you do not enable DMA, an interrupt for each character will be
514 used when transmitting data.
515 Normally you want to use DMA, unless you use the DMA channel for
516 something else.
517
518config ETRAX_SERIAL_PORT2_DMA6_OUT
519 bool "Ser2 uses DMA6 for output"
520 depends on CRIS_MACH_ARTPEC3
521 help
522 Enables the DMA6 output channel for ser2 (ttyS2).
523 If you do not enable DMA, an interrupt for each character will be
524 used when transmitting data.
525 Normally you want to use DMA, unless you use the DMA channel for
526 something else.
527
528endchoice
529
530choice
531 prompt "Ser2 DMA in channel"
532 depends on ETRAX_SERIAL_PORT2
533 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
534 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
535 help
536 What DMA channel to use for ser2.
537
538config ETRAX_SERIAL_PORT2_NO_DMA_IN
539 bool "Ser2 uses no DMA for input"
540 help
541 Do not use DMA for ser2 input.
542
543config ETRAX_SERIAL_PORT2_DMA3_IN
544 bool "Ser2 uses DMA3 for input"
545 depends on ETRAXFS || ETRAX_ARCH_V10
546 help
547 Enables the DMA3 input channel for ser2 (ttyS2).
548 If you do not enable DMA, an interrupt for each character will be
549 used when receiving data.
550 Normally you want to use DMA, unless you use the DMA channel for
551 something else.
552
553config ETRAX_SERIAL_PORT2_DMA7_IN
554 bool "Ser2 uses DMA7 for input"
555 depends on CRIS_MACH_ARTPEC3
556 help
557 Enables the DMA7 input channel for ser2 (ttyS2).
558 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100559 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100560 Normally you want to use DMA, unless you use the DMA channel for
561 something else.
562
563endchoice
564
565choice
566 prompt "Ser3 DMA in channel"
567 depends on ETRAX_SERIAL_PORT3
568 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
569 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
570 help
571 What DMA channel to use for ser3.
572
573config ETRAX_SERIAL_PORT3_NO_DMA_IN
574 bool "Ser3 uses no DMA for input"
575 help
576 Do not use DMA for ser3 input.
577
578config ETRAX_SERIAL_PORT3_DMA5_IN
579 depends on ETRAX_ARCH_V10
580 bool "DMA 5"
581
582config ETRAX_SERIAL_PORT3_DMA9_IN
583 bool "Ser3 uses DMA9 for input"
584 depends on ETRAXFS
585 help
586 Enables the DMA9 input channel for ser3 (ttyS3).
587 If you do not enable DMA, an interrupt for each character will be
588 used when receiving data.
589 Normally you want to use DMA, unless you use the DMA channel for
590 something else.
591
592config ETRAX_SERIAL_PORT3_DMA3_IN
593 bool "Ser3 uses DMA3 for input"
594 depends on CRIS_MACH_ARTPEC3
595 help
596 Enables the DMA3 input channel for ser3 (ttyS3).
597 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100598 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100599 Normally you want to use DMA, unless you use the DMA channel for
600 something else.
601
602endchoice
603
604choice
605 prompt "Ser3 DMA out channel"
606 depends on ETRAX_SERIAL_PORT3
607 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
608 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
609
610config ETRAX_SERIAL_PORT3_NO_DMA_OUT
611 bool "Ser3 uses no DMA for output"
612 help
613 Do not use DMA for ser3 output.
614
615config ETRAX_SERIAL_PORT3_DMA4_OUT
616 depends on ETRAX_ARCH_V10
617 bool "DMA 4"
618
619config ETRAX_SERIAL_PORT3_DMA8_OUT
620 bool "Ser3 uses DMA8 for output"
621 depends on ETRAXFS
622 help
623 Enables the DMA8 output channel for ser3 (ttyS3).
624 If you do not enable DMA, an interrupt for each character will be
625 used when transmitting data.
626 Normally you want to use DMA, unless you use the DMA channel for
627 something else.
628
629config ETRAX_SERIAL_PORT3_DMA2_OUT
630 bool "Ser3 uses DMA2 for output"
631 depends on CRIS_MACH_ARTPEC3
632 help
633 Enables the DMA2 output channel for ser3 (ttyS3).
634 If you do not enable DMA, an interrupt for each character will be
635 used when transmitting data.
636 Normally you want to use DMA, unless you use the DMA channel for
637 something else.
638
639endchoice
640
Linus Torvalds1da177e2005-04-16 15:20:36 -0700641endmenu
642
643source "drivers/base/Kconfig"
644
645# standard linux drivers
646source "drivers/mtd/Kconfig"
647
648source "drivers/parport/Kconfig"
649
650source "drivers/pnp/Kconfig"
651
652source "drivers/block/Kconfig"
653
Linus Torvalds1da177e2005-04-16 15:20:36 -0700654source "drivers/ide/Kconfig"
655
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700656source "drivers/net/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700657
Jesper Nilsson7b275522007-11-14 17:00:59 -0800658source "drivers/i2c/Kconfig"
659
660source "drivers/rtc/Kconfig"
661
Linus Torvalds1da177e2005-04-16 15:20:36 -0700662#
663# input before char - char/joystick depends on it. As does USB.
664#
665source "drivers/input/Kconfig"
666
667source "drivers/char/Kconfig"
668
Linus Torvalds1da177e2005-04-16 15:20:36 -0700669source "fs/Kconfig"
670
Linus Torvalds1da177e2005-04-16 15:20:36 -0700671source "drivers/usb/Kconfig"
672
Greg Kroah-Hartman2f86c3e2008-09-17 16:34:11 +0100673source "drivers/uwb/Kconfig"
674
F. Duncan M. Haldane6e38a2b2008-11-07 18:17:51 -0500675source "drivers/staging/Kconfig"
676
Linus Torvalds1da177e2005-04-16 15:20:36 -0700677source "arch/cris/Kconfig.debug"
678
679source "security/Kconfig"
680
681source "crypto/Kconfig"
682
683source "lib/Kconfig"