blob: e92215428a37e315d0b5df9f962df8e4c8090dcc [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
David Howellsf0d1b0b2006-12-08 02:37:49 -080016config ARCH_HAS_ILOG2_U32
17 bool
18 default n
19
20config ARCH_HAS_ILOG2_U64
21 bool
22 default n
23
Akinobu Mitae9f26df2006-03-26 01:39:21 -080024config GENERIC_HWEIGHT
25 bool
26 default y
27
Linus Torvalds1da177e2005-04-16 15:20:36 -070028config GENERIC_CALIBRATE_DELAY
29 bool
30 default y
31
Al Viro5ea81762007-02-11 15:41:31 +000032config NO_IOPORT
33 def_bool y
34
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010035config FORCE_MAX_ZONEORDER
36 int
37 default 6
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039config CRIS
40 bool
41 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010042 select HAVE_IDE
Cong Wang4c9c6a12012-05-29 15:06:15 -070043 select GENERIC_ATOMIC64
Thomas Gleixner30139782011-01-19 14:20:13 +010044 select HAVE_GENERIC_HARDIRQS
Will Deaconc1d7e012012-07-30 14:42:46 -070045 select ARCH_WANT_IPC_PARSE_VERSION
Thomas Gleixner15825a52011-03-17 13:39:19 +010046 select GENERIC_IRQ_SHOW
Michael S. Tsirkin4673ca82011-11-24 14:54:28 +020047 select GENERIC_IOMAP
Thomas Gleixnera4cfc312012-04-20 13:05:53 +000048 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
Anna-Maria Gleixner5227b632012-05-18 16:45:46 +000049 select GENERIC_CMOS_UPDATE
Linus Torvalds1da177e2005-04-16 15:20:36 -070050
H. Peter Anvinbdc80782008-02-08 04:21:26 -080051config HZ
52 int
53 default 100
54
Linus Torvalds1da177e2005-04-16 15:20:36 -070055source "init/Kconfig"
56
Matt Helsleydc52ddc2008-10-18 20:27:21 -070057source "kernel/Kconfig.freezer"
58
Linus Torvalds1da177e2005-04-16 15:20:36 -070059menu "General setup"
60
61source "fs/Kconfig.binfmt"
62
63config ETRAX_CMDLINE
64 string "Kernel command line"
65 default "root=/dev/mtdblock3"
66 help
67 Pass additional commands to the kernel.
68
69config ETRAX_WATCHDOG
70 bool "Enable ETRAX watchdog"
71 help
72 Enable the built-in watchdog timer support on ETRAX based embedded
73 network computers.
74
75config ETRAX_WATCHDOG_NICE_DOGGY
76 bool "Disable watchdog during Oops printouts"
77 depends on ETRAX_WATCHDOG
78 help
79 By enabling this you make sure that the watchdog does not bite while
80 printing oopses. Recommended for development systems but not for
81 production releases.
82
83config ETRAX_FAST_TIMER
84 bool "Enable ETRAX fast timer API"
85 help
86 This options enables the API to a fast timer implementation using
87 timer1 to get sub jiffie resolution timers (primarily one-shot
88 timers).
89 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
90
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010091config ETRAX_KMALLOCED_MODULES
92 bool "Enable module allocation with kmalloc"
Linus Torvalds1da177e2005-04-16 15:20:36 -070093 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010094 Enable module allocation with kmalloc instead of vmalloc.
Linus Torvalds1da177e2005-04-16 15:20:36 -070095
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010096config OOM_REBOOT
97 bool "Enable reboot at out of memory"
98
99source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100
Dave Hansen3f22ab22005-06-23 00:07:43 -0700101source mm/Kconfig
102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103endmenu
104
105menu "Hardware setup"
106
107choice
108 prompt "Processor type"
109 default ETRAX100LX
110
111config ETRAX100LX
112 bool "ETRAX-100LX-v1"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200113 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 help
115 Support version 1 of the ETRAX 100LX.
116
117config ETRAX100LX_V2
118 bool "ETRAX-100LX-v2"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200119 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120 help
121 Support version 2 of the ETRAX 100LX.
122
123config SVINTO_SIM
124 bool "ETRAX-100LX-for-xsim-simulator"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200125 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126 help
127 Support the xsim ETRAX Simulator.
128
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100129config ETRAXFS
130 bool "ETRAX-FS-V32"
131 help
132 Support CRIS V32.
133
134config CRIS_MACH_ARTPEC3
135 bool "ARTPEC-3"
136 help
137 Support Axis ARTPEC-3.
138
Linus Torvalds1da177e2005-04-16 15:20:36 -0700139endchoice
140
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100141config ETRAX_VCS_SIM
142 bool "VCS Simulator"
143 help
144 Setup hardware to be run in the VCS simulator.
145
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146config ETRAX_ARCH_V10
147 bool
148 default y if ETRAX100LX || ETRAX100LX_V2
149 default n if !(ETRAX100LX || ETRAX100LX_V2)
150
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100151config ETRAX_ARCH_V32
152 bool
153 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
154 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
155
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156config ETRAX_DRAM_SIZE
157 int "DRAM size (dec, in MB)"
158 default "8"
159 help
160 Size of DRAM (decimal in MB) typically 2, 8 or 16.
161
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100162config ETRAX_VMEM_SIZE
163 int "Video memory size (dec, in MB)"
164 depends on ETRAX_ARCH_V32 && !ETRAXFS
165 default 8 if !ETRAXFS
166 help
167 Size of Video accessible memory (decimal, in MB).
168
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169config ETRAX_FLASH_BUSWIDTH
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100170 int "Buswidth of NOR flash in bytes"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171 default "2"
172 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100173 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
174
175config ETRAX_NANDFLASH_BUSWIDTH
176 int "Buswidth of NAND flash in bytes"
177 default "1"
178 help
179 Width in bytes of the NAND flash (1 or 2).
180
181config ETRAX_FLASH1_SIZE
182 int "FLASH1 size (dec, in MB. 0 = Unknown)"
183 default "0"
184
185choice
186 prompt "Product debug-port"
187 default ETRAX_DEBUG_PORT0
188
189config ETRAX_DEBUG_PORT0
190 bool "Serial-0"
191 help
192 Choose a serial port for the ETRAX debug console. Default to
193 port 0.
194
195config ETRAX_DEBUG_PORT1
196 bool "Serial-1"
197 help
198 Use serial port 1 for the console.
199
200config ETRAX_DEBUG_PORT2
201 bool "Serial-2"
202 help
203 Use serial port 2 for the console.
204
205config ETRAX_DEBUG_PORT3
206 bool "Serial-3"
207 help
208 Use serial port 3 for the console.
209
210config ETRAX_DEBUG_PORT_NULL
211 bool "disabled"
212 help
213 Disable serial-port debugging.
214
215endchoice
216
217choice
218 prompt "Kernel GDB port"
219 depends on ETRAX_KGDB
220 default ETRAX_KGDB_PORT0
221 help
222 Choose a serial port for kernel debugging. NOTE: This port should
223 not be enabled under Drivers for built-in interfaces (as it has its
224 own initialization code) and should not be the same as the debug port.
225
226config ETRAX_KGDB_PORT0
227 bool "Serial-0"
228 help
229 Use serial port 0 for kernel debugging.
230
231config ETRAX_KGDB_PORT1
232 bool "Serial-1"
233 help
234 Use serial port 1 for kernel debugging.
235
236config ETRAX_KGDB_PORT2
237 bool "Serial-2"
238 help
239 Use serial port 2 for kernel debugging.
240
241config ETRAX_KGDB_PORT3
242 bool "Serial-3"
243 help
244 Use serial port 3 for kernel debugging.
245
246endchoice
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247
248source arch/cris/arch-v10/Kconfig
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800249source arch/cris/arch-v32/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700250
251endmenu
252
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700253source "net/Kconfig"
254
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255# bring in ETRAX built-in drivers
256menu "Drivers for built-in interfaces"
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800257source arch/cris/arch-v10/drivers/Kconfig
258source arch/cris/arch-v32/drivers/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700259
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100260config ETRAX_AXISFLASHMAP
261 bool "Axis flash-map support"
262 select MTD
263 select MTD_CFI
264 select MTD_CFI_AMDSTD
265 select MTD_JEDECPROBE if ETRAX_ARCH_V32
266 select MTD_CHAR
267 select MTD_BLOCK
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100268 select MTD_COMPLEX_MAPPINGS
269 help
270 This option enables MTD mapping of flash devices. Needed to use
271 flash memories. If unsure, say Y.
272
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100273config ETRAX_RTC
274 bool "Real Time Clock support"
275 depends on ETRAX_I2C
276 help
277 Enables drivers for the Real-Time Clock battery-backed chips on
278 some products. The kernel reads the time when booting, and
279 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
Johann Felix Soden03482992011-10-11 01:10:49 +0200280 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
281 /dev/rtc device. You can check the time with cat /proc/rtc, but
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100282 normal time reading should be done using libc function time and
283 friends.
284
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100285choice
286 prompt "RTC chip"
287 depends on ETRAX_RTC
Jesper Nilsson76735382011-03-21 11:52:11 +0100288 default ETRAX_DS1302
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100289
290config ETRAX_DS1302
291 depends on ETRAX_ARCH_V10
292 bool "DS1302"
293 help
294 Enables the driver for the DS1302 Real-Time Clock battery-backed
295 chip on some products.
296
297config ETRAX_PCF8563
298 bool "PCF8563"
299 help
300 Enables the driver for the PCF8563 Real-Time Clock battery-backed
301 chip on some products.
302
303endchoice
304
Jesper Nilssonc974a9e2008-01-21 11:44:11 +0100305config ETRAX_SYNCHRONOUS_SERIAL
306 bool "Synchronous serial-port support"
307 help
308 Select this to enable the synchronous serial port driver.
309
310config ETRAX_SYNCHRONOUS_SERIAL_PORT0
311 bool "Synchronous serial port 0 enabled"
312 depends on ETRAX_SYNCHRONOUS_SERIAL
313 help
314 Enabled synchronous serial port 0.
315
316config ETRAX_SYNCHRONOUS_SERIAL0_DMA
317 bool "Enable DMA on synchronous serial port 0."
318 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
319 help
320 A synchronous serial port can run in manual or DMA mode.
321 Selecting this option will make it run in DMA mode.
322
323config ETRAX_SYNCHRONOUS_SERIAL_PORT1
324 bool "Synchronous serial port 1 enabled"
325 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
326 help
327 Enabled synchronous serial port 1.
328
329config ETRAX_SYNCHRONOUS_SERIAL1_DMA
330 bool "Enable DMA on synchronous serial port 1."
331 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
332 help
333 A synchronous serial port can run in manual or DMA mode.
334 Selecting this option will make it run in DMA mode.
335
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100336choice
337 prompt "Network LED behavior"
338 depends on ETRAX_ETHERNET
339 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
340
341config ETRAX_NETWORK_LED_ON_WHEN_LINK
342 bool "LED_on_when_link"
343 help
344 Selecting LED_on_when_link will light the LED when there is a
345 connection and will flash off when there is activity.
346
347 Selecting LED_on_when_activity will light the LED only when
348 there is activity.
349
350 This setting will also affect the behaviour of other activity LEDs
351 e.g. Bluetooth.
352
353config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
354 bool "LED_on_when_activity"
355 help
356 Selecting LED_on_when_link will light the LED when there is a
357 connection and will flash off when there is activity.
358
359 Selecting LED_on_when_activity will light the LED only when
360 there is activity.
361
362 This setting will also affect the behaviour of other activity LEDs
363 e.g. Bluetooth.
364
365endchoice
366
367choice
368 prompt "Ser0 DMA out channel"
369 depends on ETRAX_SERIAL_PORT0
370 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
371 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
372
373config ETRAX_SERIAL_PORT0_NO_DMA_OUT
374 bool "Ser0 uses no DMA for output"
375 help
376 Do not use DMA for ser0 output.
377
378config ETRAX_SERIAL_PORT0_DMA6_OUT
379 bool "Ser0 uses DMA6 for output"
380 depends on ETRAXFS
381 help
382 Enables the DMA6 output channel for ser0 (ttyS0).
383 If you do not enable DMA, an interrupt for each character will be
384 used when transmitting data.
385 Normally you want to use DMA, unless you use the DMA channel for
386 something else.
387
388config ETRAX_SERIAL_PORT0_DMA0_OUT
389 bool "Ser0 uses DMA0 for output"
390 depends on CRIS_MACH_ARTPEC3
391 help
392 Enables the DMA0 output channel for ser0 (ttyS0).
393 If you do not enable DMA, an interrupt for each character will be
394 used when transmitting data.
395 Normally you want to use DMA, unless you use the DMA channel for
396 something else.
397
398endchoice
399
400choice
401 prompt "Ser0 DMA in channel "
402 depends on ETRAX_SERIAL_PORT0
403 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
404 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
405 help
406 What DMA channel to use for ser0.
407
408config ETRAX_SERIAL_PORT0_NO_DMA_IN
409 bool "Ser0 uses no DMA for input"
410 help
411 Do not use DMA for ser0 input.
412
413config ETRAX_SERIAL_PORT0_DMA7_IN
414 bool "Ser0 uses DMA7 for input"
415 depends on ETRAXFS
416 help
417 Enables the DMA7 input channel for ser0 (ttyS0).
418 If you do not enable DMA, an interrupt for each character will be
419 used when receiving data.
420 Normally you want to use DMA, unless you use the DMA channel for
421 something else.
422
423config ETRAX_SERIAL_PORT0_DMA1_IN
424 bool "Ser0 uses DMA1 for input"
425 depends on CRIS_MACH_ARTPEC3
426 help
427 Enables the DMA1 input channel for ser0 (ttyS0).
428 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100429 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100430 Normally you want to use DMA, unless you use the DMA channel for
431 something else.
432
433endchoice
434
435choice
436 prompt "Ser1 DMA in channel "
437 depends on ETRAX_SERIAL_PORT1
438 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
439 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
440 help
441 What DMA channel to use for ser1.
442
443config ETRAX_SERIAL_PORT1_NO_DMA_IN
444 bool "Ser1 uses no DMA for input"
445 help
446 Do not use DMA for ser1 input.
447
448config ETRAX_SERIAL_PORT1_DMA5_IN
449 bool "Ser1 uses DMA5 for input"
450 depends on ETRAX_ARCH_V32
451 help
452 Enables the DMA5 input channel for ser1 (ttyS1).
453 If you do not enable DMA, an interrupt for each character will be
454 used when receiving data.
455 Normally you want this on, unless you use the DMA channel for
456 something else.
457
458config ETRAX_SERIAL_PORT1_DMA9_IN
459 depends on ETRAX_ARCH_V10
460 bool "Ser1 uses DMA9 for input"
461
462endchoice
463
464
465choice
466 prompt "Ser1 DMA out channel"
467 depends on ETRAX_SERIAL_PORT1
468 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
469 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
470 help
471 What DMA channel to use for ser1.
472
473config ETRAX_SERIAL_PORT1_NO_DMA_OUT
474 bool "Ser1 uses no DMA for output"
475 help
476 Do not use DMA for ser1 output.
477
478config ETRAX_SERIAL_PORT1_DMA8_OUT
479 depends on ETRAX_ARCH_V10
480 bool "Ser1 uses DMA8 for output"
481
482config ETRAX_SERIAL_PORT1_DMA4_OUT
483 depends on ETRAX_ARCH_V32
484 bool "Ser1 uses DMA4 for output"
485 help
486 Enables the DMA4 output channel for ser1 (ttyS1).
487 If you do not enable DMA, an interrupt for each character will be
488 used when transmitting data.
489 Normally you want this on, unless you use the DMA channel for
490 something else.
491
492endchoice
493
494choice
495 prompt "Ser2 DMA out channel"
496 depends on ETRAX_SERIAL_PORT2
497 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
498 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
499
500config ETRAX_SERIAL_PORT2_NO_DMA_OUT
501 bool "Ser2 uses no DMA for output"
502 help
503 Do not use DMA for ser2 output.
504
505config ETRAX_SERIAL_PORT2_DMA2_OUT
506 bool "Ser2 uses DMA2 for output"
507 depends on ETRAXFS || ETRAX_ARCH_V10
508 help
509 Enables the DMA2 output channel for ser2 (ttyS2).
510 If you do not enable DMA, an interrupt for each character will be
511 used when transmitting data.
512 Normally you want to use DMA, unless you use the DMA channel for
513 something else.
514
515config ETRAX_SERIAL_PORT2_DMA6_OUT
516 bool "Ser2 uses DMA6 for output"
517 depends on CRIS_MACH_ARTPEC3
518 help
519 Enables the DMA6 output channel for ser2 (ttyS2).
520 If you do not enable DMA, an interrupt for each character will be
521 used when transmitting data.
522 Normally you want to use DMA, unless you use the DMA channel for
523 something else.
524
525endchoice
526
527choice
528 prompt "Ser2 DMA in channel"
529 depends on ETRAX_SERIAL_PORT2
530 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
531 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
532 help
533 What DMA channel to use for ser2.
534
535config ETRAX_SERIAL_PORT2_NO_DMA_IN
536 bool "Ser2 uses no DMA for input"
537 help
538 Do not use DMA for ser2 input.
539
540config ETRAX_SERIAL_PORT2_DMA3_IN
541 bool "Ser2 uses DMA3 for input"
542 depends on ETRAXFS || ETRAX_ARCH_V10
543 help
544 Enables the DMA3 input channel for ser2 (ttyS2).
545 If you do not enable DMA, an interrupt for each character will be
546 used when receiving data.
547 Normally you want to use DMA, unless you use the DMA channel for
548 something else.
549
550config ETRAX_SERIAL_PORT2_DMA7_IN
551 bool "Ser2 uses DMA7 for input"
552 depends on CRIS_MACH_ARTPEC3
553 help
554 Enables the DMA7 input channel for ser2 (ttyS2).
555 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100556 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100557 Normally you want to use DMA, unless you use the DMA channel for
558 something else.
559
560endchoice
561
562choice
563 prompt "Ser3 DMA in channel"
564 depends on ETRAX_SERIAL_PORT3
565 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
566 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
567 help
568 What DMA channel to use for ser3.
569
570config ETRAX_SERIAL_PORT3_NO_DMA_IN
571 bool "Ser3 uses no DMA for input"
572 help
573 Do not use DMA for ser3 input.
574
575config ETRAX_SERIAL_PORT3_DMA5_IN
576 depends on ETRAX_ARCH_V10
577 bool "DMA 5"
578
579config ETRAX_SERIAL_PORT3_DMA9_IN
580 bool "Ser3 uses DMA9 for input"
581 depends on ETRAXFS
582 help
583 Enables the DMA9 input channel for ser3 (ttyS3).
584 If you do not enable DMA, an interrupt for each character will be
585 used when receiving data.
586 Normally you want to use DMA, unless you use the DMA channel for
587 something else.
588
589config ETRAX_SERIAL_PORT3_DMA3_IN
590 bool "Ser3 uses DMA3 for input"
591 depends on CRIS_MACH_ARTPEC3
592 help
593 Enables the DMA3 input channel for ser3 (ttyS3).
594 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100595 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100596 Normally you want to use DMA, unless you use the DMA channel for
597 something else.
598
599endchoice
600
601choice
602 prompt "Ser3 DMA out channel"
603 depends on ETRAX_SERIAL_PORT3
604 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
605 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
606
607config ETRAX_SERIAL_PORT3_NO_DMA_OUT
608 bool "Ser3 uses no DMA for output"
609 help
610 Do not use DMA for ser3 output.
611
612config ETRAX_SERIAL_PORT3_DMA4_OUT
613 depends on ETRAX_ARCH_V10
614 bool "DMA 4"
615
616config ETRAX_SERIAL_PORT3_DMA8_OUT
617 bool "Ser3 uses DMA8 for output"
618 depends on ETRAXFS
619 help
620 Enables the DMA8 output channel for ser3 (ttyS3).
621 If you do not enable DMA, an interrupt for each character will be
622 used when transmitting data.
623 Normally you want to use DMA, unless you use the DMA channel for
624 something else.
625
626config ETRAX_SERIAL_PORT3_DMA2_OUT
627 bool "Ser3 uses DMA2 for output"
628 depends on CRIS_MACH_ARTPEC3
629 help
630 Enables the DMA2 output channel for ser3 (ttyS3).
631 If you do not enable DMA, an interrupt for each character will be
632 used when transmitting data.
633 Normally you want to use DMA, unless you use the DMA channel for
634 something else.
635
636endchoice
637
Linus Torvalds1da177e2005-04-16 15:20:36 -0700638endmenu
639
640source "drivers/base/Kconfig"
641
642# standard linux drivers
643source "drivers/mtd/Kconfig"
644
645source "drivers/parport/Kconfig"
646
647source "drivers/pnp/Kconfig"
648
649source "drivers/block/Kconfig"
650
Linus Torvalds1da177e2005-04-16 15:20:36 -0700651source "drivers/ide/Kconfig"
652
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700653source "drivers/net/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700654
Jesper Nilsson7b275522007-11-14 17:00:59 -0800655source "drivers/i2c/Kconfig"
656
657source "drivers/rtc/Kconfig"
658
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659#
660# input before char - char/joystick depends on it. As does USB.
661#
662source "drivers/input/Kconfig"
663
664source "drivers/char/Kconfig"
665
Linus Torvalds1da177e2005-04-16 15:20:36 -0700666source "fs/Kconfig"
667
Linus Torvalds1da177e2005-04-16 15:20:36 -0700668source "drivers/usb/Kconfig"
669
Greg Kroah-Hartman2f86c3e2008-09-17 16:34:11 +0100670source "drivers/uwb/Kconfig"
671
F. Duncan M. Haldane6e38a2b2008-11-07 18:17:51 -0500672source "drivers/staging/Kconfig"
673
Linus Torvalds1da177e2005-04-16 15:20:36 -0700674source "arch/cris/Kconfig.debug"
675
676source "security/Kconfig"
677
678source "crypto/Kconfig"
679
680source "lib/Kconfig"