blob: 7bb8cf90e6aa0f726f66090a6f47da857de1eca6 [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
David Howells786d35d2012-09-28 14:31:03 +093050 select MODULES_USE_ELF_RELA
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
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100142config ETRAX_VCS_SIM
143 bool "VCS Simulator"
144 help
145 Setup hardware to be run in the VCS simulator.
146
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147config ETRAX_ARCH_V10
148 bool
149 default y if ETRAX100LX || ETRAX100LX_V2
150 default n if !(ETRAX100LX || ETRAX100LX_V2)
151
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100152config ETRAX_ARCH_V32
153 bool
154 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
155 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
156
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157config ETRAX_DRAM_SIZE
158 int "DRAM size (dec, in MB)"
159 default "8"
160 help
161 Size of DRAM (decimal in MB) typically 2, 8 or 16.
162
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100163config ETRAX_VMEM_SIZE
164 int "Video memory size (dec, in MB)"
165 depends on ETRAX_ARCH_V32 && !ETRAXFS
166 default 8 if !ETRAXFS
167 help
168 Size of Video accessible memory (decimal, in MB).
169
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170config ETRAX_FLASH_BUSWIDTH
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100171 int "Buswidth of NOR flash in bytes"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172 default "2"
173 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100174 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
175
176config ETRAX_NANDFLASH_BUSWIDTH
177 int "Buswidth of NAND flash in bytes"
178 default "1"
179 help
180 Width in bytes of the NAND flash (1 or 2).
181
182config ETRAX_FLASH1_SIZE
183 int "FLASH1 size (dec, in MB. 0 = Unknown)"
184 default "0"
185
186choice
187 prompt "Product debug-port"
188 default ETRAX_DEBUG_PORT0
189
190config ETRAX_DEBUG_PORT0
191 bool "Serial-0"
192 help
193 Choose a serial port for the ETRAX debug console. Default to
194 port 0.
195
196config ETRAX_DEBUG_PORT1
197 bool "Serial-1"
198 help
199 Use serial port 1 for the console.
200
201config ETRAX_DEBUG_PORT2
202 bool "Serial-2"
203 help
204 Use serial port 2 for the console.
205
206config ETRAX_DEBUG_PORT3
207 bool "Serial-3"
208 help
209 Use serial port 3 for the console.
210
211config ETRAX_DEBUG_PORT_NULL
212 bool "disabled"
213 help
214 Disable serial-port debugging.
215
216endchoice
217
218choice
219 prompt "Kernel GDB port"
220 depends on ETRAX_KGDB
221 default ETRAX_KGDB_PORT0
222 help
223 Choose a serial port for kernel debugging. NOTE: This port should
224 not be enabled under Drivers for built-in interfaces (as it has its
225 own initialization code) and should not be the same as the debug port.
226
227config ETRAX_KGDB_PORT0
228 bool "Serial-0"
229 help
230 Use serial port 0 for kernel debugging.
231
232config ETRAX_KGDB_PORT1
233 bool "Serial-1"
234 help
235 Use serial port 1 for kernel debugging.
236
237config ETRAX_KGDB_PORT2
238 bool "Serial-2"
239 help
240 Use serial port 2 for kernel debugging.
241
242config ETRAX_KGDB_PORT3
243 bool "Serial-3"
244 help
245 Use serial port 3 for kernel debugging.
246
247endchoice
Linus Torvalds1da177e2005-04-16 15:20:36 -0700248
249source arch/cris/arch-v10/Kconfig
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800250source arch/cris/arch-v32/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700251
252endmenu
253
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700254source "net/Kconfig"
255
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256# bring in ETRAX built-in drivers
257menu "Drivers for built-in interfaces"
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800258source arch/cris/arch-v10/drivers/Kconfig
259source arch/cris/arch-v32/drivers/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100261config ETRAX_AXISFLASHMAP
262 bool "Axis flash-map support"
263 select MTD
264 select MTD_CFI
265 select MTD_CFI_AMDSTD
266 select MTD_JEDECPROBE if ETRAX_ARCH_V32
267 select MTD_CHAR
268 select MTD_BLOCK
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100269 select MTD_COMPLEX_MAPPINGS
270 help
271 This option enables MTD mapping of flash devices. Needed to use
272 flash memories. If unsure, say Y.
273
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100274config ETRAX_RTC
275 bool "Real Time Clock support"
276 depends on ETRAX_I2C
277 help
278 Enables drivers for the Real-Time Clock battery-backed chips on
279 some products. The kernel reads the time when booting, and
280 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
Johann Felix Soden03482992011-10-11 01:10:49 +0200281 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
282 /dev/rtc device. You can check the time with cat /proc/rtc, but
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100283 normal time reading should be done using libc function time and
284 friends.
285
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100286choice
287 prompt "RTC chip"
288 depends on ETRAX_RTC
Jesper Nilsson76735382011-03-21 11:52:11 +0100289 default ETRAX_DS1302
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100290
291config ETRAX_DS1302
292 depends on ETRAX_ARCH_V10
293 bool "DS1302"
294 help
295 Enables the driver for the DS1302 Real-Time Clock battery-backed
296 chip on some products.
297
298config ETRAX_PCF8563
299 bool "PCF8563"
300 help
301 Enables the driver for the PCF8563 Real-Time Clock battery-backed
302 chip on some products.
303
304endchoice
305
Jesper Nilssonc974a9e2008-01-21 11:44:11 +0100306config ETRAX_SYNCHRONOUS_SERIAL
307 bool "Synchronous serial-port support"
308 help
309 Select this to enable the synchronous serial port driver.
310
311config ETRAX_SYNCHRONOUS_SERIAL_PORT0
312 bool "Synchronous serial port 0 enabled"
313 depends on ETRAX_SYNCHRONOUS_SERIAL
314 help
315 Enabled synchronous serial port 0.
316
317config ETRAX_SYNCHRONOUS_SERIAL0_DMA
318 bool "Enable DMA on synchronous serial port 0."
319 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
320 help
321 A synchronous serial port can run in manual or DMA mode.
322 Selecting this option will make it run in DMA mode.
323
324config ETRAX_SYNCHRONOUS_SERIAL_PORT1
325 bool "Synchronous serial port 1 enabled"
326 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
327 help
328 Enabled synchronous serial port 1.
329
330config ETRAX_SYNCHRONOUS_SERIAL1_DMA
331 bool "Enable DMA on synchronous serial port 1."
332 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
333 help
334 A synchronous serial port can run in manual or DMA mode.
335 Selecting this option will make it run in DMA mode.
336
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100337choice
338 prompt "Network LED behavior"
339 depends on ETRAX_ETHERNET
340 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
341
342config ETRAX_NETWORK_LED_ON_WHEN_LINK
343 bool "LED_on_when_link"
344 help
345 Selecting LED_on_when_link will light the LED when there is a
346 connection and will flash off when there is activity.
347
348 Selecting LED_on_when_activity will light the LED only when
349 there is activity.
350
351 This setting will also affect the behaviour of other activity LEDs
352 e.g. Bluetooth.
353
354config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
355 bool "LED_on_when_activity"
356 help
357 Selecting LED_on_when_link will light the LED when there is a
358 connection and will flash off when there is activity.
359
360 Selecting LED_on_when_activity will light the LED only when
361 there is activity.
362
363 This setting will also affect the behaviour of other activity LEDs
364 e.g. Bluetooth.
365
366endchoice
367
368choice
369 prompt "Ser0 DMA out channel"
370 depends on ETRAX_SERIAL_PORT0
371 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
372 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
373
374config ETRAX_SERIAL_PORT0_NO_DMA_OUT
375 bool "Ser0 uses no DMA for output"
376 help
377 Do not use DMA for ser0 output.
378
379config ETRAX_SERIAL_PORT0_DMA6_OUT
380 bool "Ser0 uses DMA6 for output"
381 depends on ETRAXFS
382 help
383 Enables the DMA6 output channel for ser0 (ttyS0).
384 If you do not enable DMA, an interrupt for each character will be
385 used when transmitting data.
386 Normally you want to use DMA, unless you use the DMA channel for
387 something else.
388
389config ETRAX_SERIAL_PORT0_DMA0_OUT
390 bool "Ser0 uses DMA0 for output"
391 depends on CRIS_MACH_ARTPEC3
392 help
393 Enables the DMA0 output channel for ser0 (ttyS0).
394 If you do not enable DMA, an interrupt for each character will be
395 used when transmitting data.
396 Normally you want to use DMA, unless you use the DMA channel for
397 something else.
398
399endchoice
400
401choice
402 prompt "Ser0 DMA in channel "
403 depends on ETRAX_SERIAL_PORT0
404 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
405 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
406 help
407 What DMA channel to use for ser0.
408
409config ETRAX_SERIAL_PORT0_NO_DMA_IN
410 bool "Ser0 uses no DMA for input"
411 help
412 Do not use DMA for ser0 input.
413
414config ETRAX_SERIAL_PORT0_DMA7_IN
415 bool "Ser0 uses DMA7 for input"
416 depends on ETRAXFS
417 help
418 Enables the DMA7 input channel for ser0 (ttyS0).
419 If you do not enable DMA, an interrupt for each character will be
420 used when receiving data.
421 Normally you want to use DMA, unless you use the DMA channel for
422 something else.
423
424config ETRAX_SERIAL_PORT0_DMA1_IN
425 bool "Ser0 uses DMA1 for input"
426 depends on CRIS_MACH_ARTPEC3
427 help
428 Enables the DMA1 input channel for ser0 (ttyS0).
429 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100430 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100431 Normally you want to use DMA, unless you use the DMA channel for
432 something else.
433
434endchoice
435
436choice
437 prompt "Ser1 DMA in channel "
438 depends on ETRAX_SERIAL_PORT1
439 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
440 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
441 help
442 What DMA channel to use for ser1.
443
444config ETRAX_SERIAL_PORT1_NO_DMA_IN
445 bool "Ser1 uses no DMA for input"
446 help
447 Do not use DMA for ser1 input.
448
449config ETRAX_SERIAL_PORT1_DMA5_IN
450 bool "Ser1 uses DMA5 for input"
451 depends on ETRAX_ARCH_V32
452 help
453 Enables the DMA5 input channel for ser1 (ttyS1).
454 If you do not enable DMA, an interrupt for each character will be
455 used when receiving data.
456 Normally you want this on, unless you use the DMA channel for
457 something else.
458
459config ETRAX_SERIAL_PORT1_DMA9_IN
460 depends on ETRAX_ARCH_V10
461 bool "Ser1 uses DMA9 for input"
462
463endchoice
464
465
466choice
467 prompt "Ser1 DMA out channel"
468 depends on ETRAX_SERIAL_PORT1
469 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
470 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
471 help
472 What DMA channel to use for ser1.
473
474config ETRAX_SERIAL_PORT1_NO_DMA_OUT
475 bool "Ser1 uses no DMA for output"
476 help
477 Do not use DMA for ser1 output.
478
479config ETRAX_SERIAL_PORT1_DMA8_OUT
480 depends on ETRAX_ARCH_V10
481 bool "Ser1 uses DMA8 for output"
482
483config ETRAX_SERIAL_PORT1_DMA4_OUT
484 depends on ETRAX_ARCH_V32
485 bool "Ser1 uses DMA4 for output"
486 help
487 Enables the DMA4 output channel for ser1 (ttyS1).
488 If you do not enable DMA, an interrupt for each character will be
489 used when transmitting data.
490 Normally you want this on, unless you use the DMA channel for
491 something else.
492
493endchoice
494
495choice
496 prompt "Ser2 DMA out channel"
497 depends on ETRAX_SERIAL_PORT2
498 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
499 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
500
501config ETRAX_SERIAL_PORT2_NO_DMA_OUT
502 bool "Ser2 uses no DMA for output"
503 help
504 Do not use DMA for ser2 output.
505
506config ETRAX_SERIAL_PORT2_DMA2_OUT
507 bool "Ser2 uses DMA2 for output"
508 depends on ETRAXFS || ETRAX_ARCH_V10
509 help
510 Enables the DMA2 output channel for ser2 (ttyS2).
511 If you do not enable DMA, an interrupt for each character will be
512 used when transmitting data.
513 Normally you want to use DMA, unless you use the DMA channel for
514 something else.
515
516config ETRAX_SERIAL_PORT2_DMA6_OUT
517 bool "Ser2 uses DMA6 for output"
518 depends on CRIS_MACH_ARTPEC3
519 help
520 Enables the DMA6 output channel for ser2 (ttyS2).
521 If you do not enable DMA, an interrupt for each character will be
522 used when transmitting data.
523 Normally you want to use DMA, unless you use the DMA channel for
524 something else.
525
526endchoice
527
528choice
529 prompt "Ser2 DMA in channel"
530 depends on ETRAX_SERIAL_PORT2
531 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
532 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
533 help
534 What DMA channel to use for ser2.
535
536config ETRAX_SERIAL_PORT2_NO_DMA_IN
537 bool "Ser2 uses no DMA for input"
538 help
539 Do not use DMA for ser2 input.
540
541config ETRAX_SERIAL_PORT2_DMA3_IN
542 bool "Ser2 uses DMA3 for input"
543 depends on ETRAXFS || ETRAX_ARCH_V10
544 help
545 Enables the DMA3 input channel for ser2 (ttyS2).
546 If you do not enable DMA, an interrupt for each character will be
547 used when receiving data.
548 Normally you want to use DMA, unless you use the DMA channel for
549 something else.
550
551config ETRAX_SERIAL_PORT2_DMA7_IN
552 bool "Ser2 uses DMA7 for input"
553 depends on CRIS_MACH_ARTPEC3
554 help
555 Enables the DMA7 input channel for ser2 (ttyS2).
556 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100557 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100558 Normally you want to use DMA, unless you use the DMA channel for
559 something else.
560
561endchoice
562
563choice
564 prompt "Ser3 DMA in channel"
565 depends on ETRAX_SERIAL_PORT3
566 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
567 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
568 help
569 What DMA channel to use for ser3.
570
571config ETRAX_SERIAL_PORT3_NO_DMA_IN
572 bool "Ser3 uses no DMA for input"
573 help
574 Do not use DMA for ser3 input.
575
576config ETRAX_SERIAL_PORT3_DMA5_IN
577 depends on ETRAX_ARCH_V10
578 bool "DMA 5"
579
580config ETRAX_SERIAL_PORT3_DMA9_IN
581 bool "Ser3 uses DMA9 for input"
582 depends on ETRAXFS
583 help
584 Enables the DMA9 input channel for ser3 (ttyS3).
585 If you do not enable DMA, an interrupt for each character will be
586 used when receiving data.
587 Normally you want to use DMA, unless you use the DMA channel for
588 something else.
589
590config ETRAX_SERIAL_PORT3_DMA3_IN
591 bool "Ser3 uses DMA3 for input"
592 depends on CRIS_MACH_ARTPEC3
593 help
594 Enables the DMA3 input channel for ser3 (ttyS3).
595 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100596 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100597 Normally you want to use DMA, unless you use the DMA channel for
598 something else.
599
600endchoice
601
602choice
603 prompt "Ser3 DMA out channel"
604 depends on ETRAX_SERIAL_PORT3
605 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
606 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
607
608config ETRAX_SERIAL_PORT3_NO_DMA_OUT
609 bool "Ser3 uses no DMA for output"
610 help
611 Do not use DMA for ser3 output.
612
613config ETRAX_SERIAL_PORT3_DMA4_OUT
614 depends on ETRAX_ARCH_V10
615 bool "DMA 4"
616
617config ETRAX_SERIAL_PORT3_DMA8_OUT
618 bool "Ser3 uses DMA8 for output"
619 depends on ETRAXFS
620 help
621 Enables the DMA8 output channel for ser3 (ttyS3).
622 If you do not enable DMA, an interrupt for each character will be
623 used when transmitting data.
624 Normally you want to use DMA, unless you use the DMA channel for
625 something else.
626
627config ETRAX_SERIAL_PORT3_DMA2_OUT
628 bool "Ser3 uses DMA2 for output"
629 depends on CRIS_MACH_ARTPEC3
630 help
631 Enables the DMA2 output channel for ser3 (ttyS3).
632 If you do not enable DMA, an interrupt for each character will be
633 used when transmitting data.
634 Normally you want to use DMA, unless you use the DMA channel for
635 something else.
636
637endchoice
638
Linus Torvalds1da177e2005-04-16 15:20:36 -0700639endmenu
640
641source "drivers/base/Kconfig"
642
643# standard linux drivers
644source "drivers/mtd/Kconfig"
645
646source "drivers/parport/Kconfig"
647
648source "drivers/pnp/Kconfig"
649
650source "drivers/block/Kconfig"
651
Linus Torvalds1da177e2005-04-16 15:20:36 -0700652source "drivers/ide/Kconfig"
653
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700654source "drivers/net/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700655
Jesper Nilsson7b275522007-11-14 17:00:59 -0800656source "drivers/i2c/Kconfig"
657
658source "drivers/rtc/Kconfig"
659
Linus Torvalds1da177e2005-04-16 15:20:36 -0700660#
661# input before char - char/joystick depends on it. As does USB.
662#
663source "drivers/input/Kconfig"
664
665source "drivers/char/Kconfig"
666
Linus Torvalds1da177e2005-04-16 15:20:36 -0700667source "fs/Kconfig"
668
Linus Torvalds1da177e2005-04-16 15:20:36 -0700669source "drivers/usb/Kconfig"
670
Greg Kroah-Hartman2f86c3e2008-09-17 16:34:11 +0100671source "drivers/uwb/Kconfig"
672
F. Duncan M. Haldane6e38a2b2008-11-07 18:17:51 -0500673source "drivers/staging/Kconfig"
674
Linus Torvalds1da177e2005-04-16 15:20:36 -0700675source "arch/cris/Kconfig.debug"
676
677source "security/Kconfig"
678
679source "crypto/Kconfig"
680
681source "lib/Kconfig"