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