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