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