blob: a6d03069d0fff21a51bff6c94ec11e7a18be2f9f [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
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010022config GENERIC_IOMAP
23 bool
24 default y
25
David Howellsf0d1b0b2006-12-08 02:37:49 -080026config ARCH_HAS_ILOG2_U32
27 bool
28 default n
29
30config ARCH_HAS_ILOG2_U64
31 bool
32 default n
33
Akinobu Mitae9f26df2006-03-26 01:39:21 -080034config GENERIC_FIND_NEXT_BIT
35 bool
36 default y
37
38config GENERIC_HWEIGHT
39 bool
40 default y
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042config GENERIC_CALIBRATE_DELAY
43 bool
44 default y
45
Al Viro5ea81762007-02-11 15:41:31 +000046config NO_IOPORT
47 def_bool y
48
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010049config FORCE_MAX_ZONEORDER
50 int
51 default 6
52
Linus Torvalds1da177e2005-04-16 15:20:36 -070053config CRIS
54 bool
55 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010056 select HAVE_IDE
Thomas Gleixner30139782011-01-19 14:20:13 +010057 select HAVE_GENERIC_HARDIRQS
Thomas Gleixner15825a52011-03-17 13:39:19 +010058 select GENERIC_IRQ_SHOW
Linus Torvalds1da177e2005-04-16 15:20:36 -070059
H. Peter Anvinbdc80782008-02-08 04:21:26 -080060config HZ
61 int
62 default 100
63
Linus Torvalds1da177e2005-04-16 15:20:36 -070064source "init/Kconfig"
65
Matt Helsleydc52ddc2008-10-18 20:27:21 -070066source "kernel/Kconfig.freezer"
67
Linus Torvalds1da177e2005-04-16 15:20:36 -070068menu "General setup"
69
70source "fs/Kconfig.binfmt"
71
72config ETRAX_CMDLINE
73 string "Kernel command line"
74 default "root=/dev/mtdblock3"
75 help
76 Pass additional commands to the kernel.
77
78config ETRAX_WATCHDOG
79 bool "Enable ETRAX watchdog"
80 help
81 Enable the built-in watchdog timer support on ETRAX based embedded
82 network computers.
83
84config ETRAX_WATCHDOG_NICE_DOGGY
85 bool "Disable watchdog during Oops printouts"
86 depends on ETRAX_WATCHDOG
87 help
88 By enabling this you make sure that the watchdog does not bite while
89 printing oopses. Recommended for development systems but not for
90 production releases.
91
92config ETRAX_FAST_TIMER
93 bool "Enable ETRAX fast timer API"
94 help
95 This options enables the API to a fast timer implementation using
96 timer1 to get sub jiffie resolution timers (primarily one-shot
97 timers).
98 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
99
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100100config ETRAX_KMALLOCED_MODULES
101 bool "Enable module allocation with kmalloc"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100103 Enable module allocation with kmalloc instead of vmalloc.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100105config OOM_REBOOT
106 bool "Enable reboot at out of memory"
107
108source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109
Dave Hansen3f22ab22005-06-23 00:07:43 -0700110source mm/Kconfig
111
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112endmenu
113
114menu "Hardware setup"
115
116choice
117 prompt "Processor type"
118 default ETRAX100LX
119
120config ETRAX100LX
121 bool "ETRAX-100LX-v1"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200122 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123 help
124 Support version 1 of the ETRAX 100LX.
125
126config ETRAX100LX_V2
127 bool "ETRAX-100LX-v2"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200128 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129 help
130 Support version 2 of the ETRAX 100LX.
131
132config SVINTO_SIM
133 bool "ETRAX-100LX-for-xsim-simulator"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200134 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700135 help
136 Support the xsim ETRAX Simulator.
137
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100138config ETRAXFS
139 bool "ETRAX-FS-V32"
140 help
141 Support CRIS V32.
142
143config CRIS_MACH_ARTPEC3
144 bool "ARTPEC-3"
145 help
146 Support Axis ARTPEC-3.
147
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148endchoice
149
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100150config ETRAX_VCS_SIM
151 bool "VCS Simulator"
152 help
153 Setup hardware to be run in the VCS simulator.
154
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155config ETRAX_ARCH_V10
156 bool
157 default y if ETRAX100LX || ETRAX100LX_V2
158 default n if !(ETRAX100LX || ETRAX100LX_V2)
159
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100160config ETRAX_ARCH_V32
161 bool
162 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
163 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
164
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165config ETRAX_DRAM_SIZE
166 int "DRAM size (dec, in MB)"
167 default "8"
168 help
169 Size of DRAM (decimal in MB) typically 2, 8 or 16.
170
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100171config ETRAX_VMEM_SIZE
172 int "Video memory size (dec, in MB)"
173 depends on ETRAX_ARCH_V32 && !ETRAXFS
174 default 8 if !ETRAXFS
175 help
176 Size of Video accessible memory (decimal, in MB).
177
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178config ETRAX_FLASH_BUSWIDTH
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100179 int "Buswidth of NOR flash in bytes"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180 default "2"
181 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100182 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
183
184config ETRAX_NANDFLASH_BUSWIDTH
185 int "Buswidth of NAND flash in bytes"
186 default "1"
187 help
188 Width in bytes of the NAND flash (1 or 2).
189
190config ETRAX_FLASH1_SIZE
191 int "FLASH1 size (dec, in MB. 0 = Unknown)"
192 default "0"
193
194choice
195 prompt "Product debug-port"
196 default ETRAX_DEBUG_PORT0
197
198config ETRAX_DEBUG_PORT0
199 bool "Serial-0"
200 help
201 Choose a serial port for the ETRAX debug console. Default to
202 port 0.
203
204config ETRAX_DEBUG_PORT1
205 bool "Serial-1"
206 help
207 Use serial port 1 for the console.
208
209config ETRAX_DEBUG_PORT2
210 bool "Serial-2"
211 help
212 Use serial port 2 for the console.
213
214config ETRAX_DEBUG_PORT3
215 bool "Serial-3"
216 help
217 Use serial port 3 for the console.
218
219config ETRAX_DEBUG_PORT_NULL
220 bool "disabled"
221 help
222 Disable serial-port debugging.
223
224endchoice
225
226choice
227 prompt "Kernel GDB port"
228 depends on ETRAX_KGDB
229 default ETRAX_KGDB_PORT0
230 help
231 Choose a serial port for kernel debugging. NOTE: This port should
232 not be enabled under Drivers for built-in interfaces (as it has its
233 own initialization code) and should not be the same as the debug port.
234
235config ETRAX_KGDB_PORT0
236 bool "Serial-0"
237 help
238 Use serial port 0 for kernel debugging.
239
240config ETRAX_KGDB_PORT1
241 bool "Serial-1"
242 help
243 Use serial port 1 for kernel debugging.
244
245config ETRAX_KGDB_PORT2
246 bool "Serial-2"
247 help
248 Use serial port 2 for kernel debugging.
249
250config ETRAX_KGDB_PORT3
251 bool "Serial-3"
252 help
253 Use serial port 3 for kernel debugging.
254
255endchoice
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256
257source arch/cris/arch-v10/Kconfig
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800258source arch/cris/arch-v32/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700259
260endmenu
261
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700262source "net/Kconfig"
263
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264# bring in ETRAX built-in drivers
265menu "Drivers for built-in interfaces"
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800266source arch/cris/arch-v10/drivers/Kconfig
267source arch/cris/arch-v32/drivers/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700268
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100269config ETRAX_AXISFLASHMAP
270 bool "Axis flash-map support"
271 select MTD
272 select MTD_CFI
273 select MTD_CFI_AMDSTD
274 select MTD_JEDECPROBE if ETRAX_ARCH_V32
275 select MTD_CHAR
276 select MTD_BLOCK
277 select MTD_PARTITIONS
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100278 select MTD_COMPLEX_MAPPINGS
279 help
280 This option enables MTD mapping of flash devices. Needed to use
281 flash memories. If unsure, say Y.
282
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100283config ETRAX_RTC
284 bool "Real Time Clock support"
285 depends on ETRAX_I2C
286 help
287 Enables drivers for the Real-Time Clock battery-backed chips on
288 some products. The kernel reads the time when booting, and
289 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
290 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
291 device. You can check the time with cat /proc/rtc, but
292 normal time reading should be done using libc function time and
293 friends.
294
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100295choice
296 prompt "RTC chip"
297 depends on ETRAX_RTC
Jesper Nilsson76735382011-03-21 11:52:11 +0100298 default ETRAX_DS1302
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100299
300config ETRAX_DS1302
301 depends on ETRAX_ARCH_V10
302 bool "DS1302"
303 help
304 Enables the driver for the DS1302 Real-Time Clock battery-backed
305 chip on some products.
306
307config ETRAX_PCF8563
308 bool "PCF8563"
309 help
310 Enables the driver for the PCF8563 Real-Time Clock battery-backed
311 chip on some products.
312
313endchoice
314
Jesper Nilssonc974a9e2008-01-21 11:44:11 +0100315config ETRAX_SYNCHRONOUS_SERIAL
316 bool "Synchronous serial-port support"
317 help
318 Select this to enable the synchronous serial port driver.
319
320config ETRAX_SYNCHRONOUS_SERIAL_PORT0
321 bool "Synchronous serial port 0 enabled"
322 depends on ETRAX_SYNCHRONOUS_SERIAL
323 help
324 Enabled synchronous serial port 0.
325
326config ETRAX_SYNCHRONOUS_SERIAL0_DMA
327 bool "Enable DMA on synchronous serial port 0."
328 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
329 help
330 A synchronous serial port can run in manual or DMA mode.
331 Selecting this option will make it run in DMA mode.
332
333config ETRAX_SYNCHRONOUS_SERIAL_PORT1
334 bool "Synchronous serial port 1 enabled"
335 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
336 help
337 Enabled synchronous serial port 1.
338
339config ETRAX_SYNCHRONOUS_SERIAL1_DMA
340 bool "Enable DMA on synchronous serial port 1."
341 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
342 help
343 A synchronous serial port can run in manual or DMA mode.
344 Selecting this option will make it run in DMA mode.
345
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100346choice
347 prompt "Network LED behavior"
348 depends on ETRAX_ETHERNET
349 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
350
351config ETRAX_NETWORK_LED_ON_WHEN_LINK
352 bool "LED_on_when_link"
353 help
354 Selecting LED_on_when_link will light the LED when there is a
355 connection and will flash off when there is activity.
356
357 Selecting LED_on_when_activity will light the LED only when
358 there is activity.
359
360 This setting will also affect the behaviour of other activity LEDs
361 e.g. Bluetooth.
362
363config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
364 bool "LED_on_when_activity"
365 help
366 Selecting LED_on_when_link will light the LED when there is a
367 connection and will flash off when there is activity.
368
369 Selecting LED_on_when_activity will light the LED only when
370 there is activity.
371
372 This setting will also affect the behaviour of other activity LEDs
373 e.g. Bluetooth.
374
375endchoice
376
377choice
378 prompt "Ser0 DMA out channel"
379 depends on ETRAX_SERIAL_PORT0
380 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
381 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
382
383config ETRAX_SERIAL_PORT0_NO_DMA_OUT
384 bool "Ser0 uses no DMA for output"
385 help
386 Do not use DMA for ser0 output.
387
388config ETRAX_SERIAL_PORT0_DMA6_OUT
389 bool "Ser0 uses DMA6 for output"
390 depends on ETRAXFS
391 help
392 Enables the DMA6 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
398config ETRAX_SERIAL_PORT0_DMA0_OUT
399 bool "Ser0 uses DMA0 for output"
400 depends on CRIS_MACH_ARTPEC3
401 help
402 Enables the DMA0 output channel for ser0 (ttyS0).
403 If you do not enable DMA, an interrupt for each character will be
404 used when transmitting data.
405 Normally you want to use DMA, unless you use the DMA channel for
406 something else.
407
408endchoice
409
410choice
411 prompt "Ser0 DMA in channel "
412 depends on ETRAX_SERIAL_PORT0
413 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
414 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
415 help
416 What DMA channel to use for ser0.
417
418config ETRAX_SERIAL_PORT0_NO_DMA_IN
419 bool "Ser0 uses no DMA for input"
420 help
421 Do not use DMA for ser0 input.
422
423config ETRAX_SERIAL_PORT0_DMA7_IN
424 bool "Ser0 uses DMA7 for input"
425 depends on ETRAXFS
426 help
427 Enables the DMA7 input channel for ser0 (ttyS0).
428 If you do not enable DMA, an interrupt for each character will be
429 used when receiving data.
430 Normally you want to use DMA, unless you use the DMA channel for
431 something else.
432
433config ETRAX_SERIAL_PORT0_DMA1_IN
434 bool "Ser0 uses DMA1 for input"
435 depends on CRIS_MACH_ARTPEC3
436 help
437 Enables the DMA1 input channel for ser0 (ttyS0).
438 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100439 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100440 Normally you want to use DMA, unless you use the DMA channel for
441 something else.
442
443endchoice
444
445choice
446 prompt "Ser1 DMA in channel "
447 depends on ETRAX_SERIAL_PORT1
448 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
449 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
450 help
451 What DMA channel to use for ser1.
452
453config ETRAX_SERIAL_PORT1_NO_DMA_IN
454 bool "Ser1 uses no DMA for input"
455 help
456 Do not use DMA for ser1 input.
457
458config ETRAX_SERIAL_PORT1_DMA5_IN
459 bool "Ser1 uses DMA5 for input"
460 depends on ETRAX_ARCH_V32
461 help
462 Enables the DMA5 input channel for ser1 (ttyS1).
463 If you do not enable DMA, an interrupt for each character will be
464 used when receiving data.
465 Normally you want this on, unless you use the DMA channel for
466 something else.
467
468config ETRAX_SERIAL_PORT1_DMA9_IN
469 depends on ETRAX_ARCH_V10
470 bool "Ser1 uses DMA9 for input"
471
472endchoice
473
474
475choice
476 prompt "Ser1 DMA out channel"
477 depends on ETRAX_SERIAL_PORT1
478 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
479 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
480 help
481 What DMA channel to use for ser1.
482
483config ETRAX_SERIAL_PORT1_NO_DMA_OUT
484 bool "Ser1 uses no DMA for output"
485 help
486 Do not use DMA for ser1 output.
487
488config ETRAX_SERIAL_PORT1_DMA8_OUT
489 depends on ETRAX_ARCH_V10
490 bool "Ser1 uses DMA8 for output"
491
492config ETRAX_SERIAL_PORT1_DMA4_OUT
493 depends on ETRAX_ARCH_V32
494 bool "Ser1 uses DMA4 for output"
495 help
496 Enables the DMA4 output channel for ser1 (ttyS1).
497 If you do not enable DMA, an interrupt for each character will be
498 used when transmitting data.
499 Normally you want this on, unless you use the DMA channel for
500 something else.
501
502endchoice
503
504choice
505 prompt "Ser2 DMA out channel"
506 depends on ETRAX_SERIAL_PORT2
507 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
508 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
509
510config ETRAX_SERIAL_PORT2_NO_DMA_OUT
511 bool "Ser2 uses no DMA for output"
512 help
513 Do not use DMA for ser2 output.
514
515config ETRAX_SERIAL_PORT2_DMA2_OUT
516 bool "Ser2 uses DMA2 for output"
517 depends on ETRAXFS || ETRAX_ARCH_V10
518 help
519 Enables the DMA2 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
525config ETRAX_SERIAL_PORT2_DMA6_OUT
526 bool "Ser2 uses DMA6 for output"
527 depends on CRIS_MACH_ARTPEC3
528 help
529 Enables the DMA6 output channel for ser2 (ttyS2).
530 If you do not enable DMA, an interrupt for each character will be
531 used when transmitting data.
532 Normally you want to use DMA, unless you use the DMA channel for
533 something else.
534
535endchoice
536
537choice
538 prompt "Ser2 DMA in channel"
539 depends on ETRAX_SERIAL_PORT2
540 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
541 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
542 help
543 What DMA channel to use for ser2.
544
545config ETRAX_SERIAL_PORT2_NO_DMA_IN
546 bool "Ser2 uses no DMA for input"
547 help
548 Do not use DMA for ser2 input.
549
550config ETRAX_SERIAL_PORT2_DMA3_IN
551 bool "Ser2 uses DMA3 for input"
552 depends on ETRAXFS || ETRAX_ARCH_V10
553 help
554 Enables the DMA3 input channel for ser2 (ttyS2).
555 If you do not enable DMA, an interrupt for each character will be
556 used when receiving data.
557 Normally you want to use DMA, unless you use the DMA channel for
558 something else.
559
560config ETRAX_SERIAL_PORT2_DMA7_IN
561 bool "Ser2 uses DMA7 for input"
562 depends on CRIS_MACH_ARTPEC3
563 help
564 Enables the DMA7 input channel for ser2 (ttyS2).
565 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100566 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100567 Normally you want to use DMA, unless you use the DMA channel for
568 something else.
569
570endchoice
571
572choice
573 prompt "Ser3 DMA in channel"
574 depends on ETRAX_SERIAL_PORT3
575 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
576 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
577 help
578 What DMA channel to use for ser3.
579
580config ETRAX_SERIAL_PORT3_NO_DMA_IN
581 bool "Ser3 uses no DMA for input"
582 help
583 Do not use DMA for ser3 input.
584
585config ETRAX_SERIAL_PORT3_DMA5_IN
586 depends on ETRAX_ARCH_V10
587 bool "DMA 5"
588
589config ETRAX_SERIAL_PORT3_DMA9_IN
590 bool "Ser3 uses DMA9 for input"
591 depends on ETRAXFS
592 help
593 Enables the DMA9 input channel for ser3 (ttyS3).
594 If you do not enable DMA, an interrupt for each character will be
595 used when receiving data.
596 Normally you want to use DMA, unless you use the DMA channel for
597 something else.
598
599config ETRAX_SERIAL_PORT3_DMA3_IN
600 bool "Ser3 uses DMA3 for input"
601 depends on CRIS_MACH_ARTPEC3
602 help
603 Enables the DMA3 input channel for ser3 (ttyS3).
604 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100605 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100606 Normally you want to use DMA, unless you use the DMA channel for
607 something else.
608
609endchoice
610
611choice
612 prompt "Ser3 DMA out channel"
613 depends on ETRAX_SERIAL_PORT3
614 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
615 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
616
617config ETRAX_SERIAL_PORT3_NO_DMA_OUT
618 bool "Ser3 uses no DMA for output"
619 help
620 Do not use DMA for ser3 output.
621
622config ETRAX_SERIAL_PORT3_DMA4_OUT
623 depends on ETRAX_ARCH_V10
624 bool "DMA 4"
625
626config ETRAX_SERIAL_PORT3_DMA8_OUT
627 bool "Ser3 uses DMA8 for output"
628 depends on ETRAXFS
629 help
630 Enables the DMA8 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
636config ETRAX_SERIAL_PORT3_DMA2_OUT
637 bool "Ser3 uses DMA2 for output"
638 depends on CRIS_MACH_ARTPEC3
639 help
640 Enables the DMA2 output channel for ser3 (ttyS3).
641 If you do not enable DMA, an interrupt for each character will be
642 used when transmitting data.
643 Normally you want to use DMA, unless you use the DMA channel for
644 something else.
645
646endchoice
647
Linus Torvalds1da177e2005-04-16 15:20:36 -0700648endmenu
649
650source "drivers/base/Kconfig"
651
652# standard linux drivers
653source "drivers/mtd/Kconfig"
654
655source "drivers/parport/Kconfig"
656
657source "drivers/pnp/Kconfig"
658
659source "drivers/block/Kconfig"
660
Linus Torvalds1da177e2005-04-16 15:20:36 -0700661source "drivers/ide/Kconfig"
662
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700663source "drivers/net/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700664
Jesper Nilsson7b275522007-11-14 17:00:59 -0800665source "drivers/i2c/Kconfig"
666
667source "drivers/rtc/Kconfig"
668
Linus Torvalds1da177e2005-04-16 15:20:36 -0700669#
670# input before char - char/joystick depends on it. As does USB.
671#
672source "drivers/input/Kconfig"
673
674source "drivers/char/Kconfig"
675
Linus Torvalds1da177e2005-04-16 15:20:36 -0700676source "fs/Kconfig"
677
Linus Torvalds1da177e2005-04-16 15:20:36 -0700678source "drivers/usb/Kconfig"
679
Greg Kroah-Hartman2f86c3e2008-09-17 16:34:11 +0100680source "drivers/uwb/Kconfig"
681
F. Duncan M. Haldane6e38a2b2008-11-07 18:17:51 -0500682source "drivers/staging/Kconfig"
683
Linus Torvalds1da177e2005-04-16 15:20:36 -0700684source "arch/cris/Kconfig.debug"
685
686source "security/Kconfig"
687
688source "crypto/Kconfig"
689
690source "lib/Kconfig"