2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
6 mainmenu "Linux/CRIS Kernel Configuration"
16 config RWSEM_GENERIC_SPINLOCK
20 config RWSEM_XCHGADD_ALGORITHM
27 config ARCH_HAS_ILOG2_U32
31 config ARCH_HAS_ILOG2_U64
35 config GENERIC_FIND_NEXT_BIT
39 config GENERIC_HWEIGHT
43 config GENERIC_CALIBRATE_DELAY
53 config FORCE_MAX_ZONEORDER
65 source "fs/Kconfig.binfmt"
67 config GENERIC_HARDIRQS
72 string "Kernel command line"
73 default "root=/dev/mtdblock3"
75 Pass additional commands to the kernel.
78 bool "Enable ETRAX watchdog"
80 Enable the built-in watchdog timer support on ETRAX based embedded
83 config ETRAX_WATCHDOG_NICE_DOGGY
84 bool "Disable watchdog during Oops printouts"
85 depends on ETRAX_WATCHDOG
87 By enabling this you make sure that the watchdog does not bite while
88 printing oopses. Recommended for development systems but not for
91 config ETRAX_FAST_TIMER
92 bool "Enable ETRAX fast timer API"
94 This options enables the API to a fast timer implementation using
95 timer1 to get sub jiffie resolution timers (primarily one-shot
97 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
99 config ETRAX_KMALLOCED_MODULES
100 bool "Enable module allocation with kmalloc"
102 Enable module allocation with kmalloc instead of vmalloc.
105 bool "Enable reboot at out of memory"
107 source "kernel/Kconfig.preempt"
113 menu "Hardware setup"
116 prompt "Processor type"
120 bool "ETRAX-100LX-v1"
122 Support version 1 of the ETRAX 100LX.
125 bool "ETRAX-100LX-v2"
127 Support version 2 of the ETRAX 100LX.
130 bool "ETRAX-100LX-for-xsim-simulator"
132 Support the xsim ETRAX Simulator.
139 config CRIS_MACH_ARTPEC3
142 Support Axis ARTPEC-3.
149 Setup hardware to be run in the VCS simulator.
151 config ETRAX_ARCH_V10
153 default y if ETRAX100LX || ETRAX100LX_V2
154 default n if !(ETRAX100LX || ETRAX100LX_V2)
156 config ETRAX_ARCH_V32
158 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
159 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
161 config ETRAX_DRAM_SIZE
162 int "DRAM size (dec, in MB)"
165 Size of DRAM (decimal in MB) typically 2, 8 or 16.
167 config ETRAX_VMEM_SIZE
168 int "Video memory size (dec, in MB)"
169 depends on ETRAX_ARCH_V32 && !ETRAXFS
170 default 8 if !ETRAXFS
172 Size of Video accessible memory (decimal, in MB).
174 config ETRAX_FLASH_BUSWIDTH
175 int "Buswidth of NOR flash in bytes"
178 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
180 config ETRAX_NANDFLASH_BUSWIDTH
181 int "Buswidth of NAND flash in bytes"
184 Width in bytes of the NAND flash (1 or 2).
186 config ETRAX_FLASH1_SIZE
187 int "FLASH1 size (dec, in MB. 0 = Unknown)"
191 prompt "Product debug-port"
192 default ETRAX_DEBUG_PORT0
194 config ETRAX_DEBUG_PORT0
197 Choose a serial port for the ETRAX debug console. Default to
200 config ETRAX_DEBUG_PORT1
203 Use serial port 1 for the console.
205 config ETRAX_DEBUG_PORT2
208 Use serial port 2 for the console.
210 config ETRAX_DEBUG_PORT3
213 Use serial port 3 for the console.
215 config ETRAX_DEBUG_PORT_NULL
218 Disable serial-port debugging.
223 prompt "Kernel GDB port"
224 depends on ETRAX_KGDB
225 default ETRAX_KGDB_PORT0
227 Choose a serial port for kernel debugging. NOTE: This port should
228 not be enabled under Drivers for built-in interfaces (as it has its
229 own initialization code) and should not be the same as the debug port.
231 config ETRAX_KGDB_PORT0
234 Use serial port 0 for kernel debugging.
236 config ETRAX_KGDB_PORT1
239 Use serial port 1 for kernel debugging.
241 config ETRAX_KGDB_PORT2
244 Use serial port 2 for kernel debugging.
246 config ETRAX_KGDB_PORT3
249 Use serial port 3 for kernel debugging.
253 source arch/cris/arch-v10/Kconfig
254 source arch/cris/arch-v32/Kconfig
260 # bring in ETRAX built-in drivers
261 menu "Drivers for built-in interfaces"
262 source arch/cris/arch-v10/drivers/Kconfig
263 source arch/cris/arch-v32/drivers/Kconfig
268 default ETRAX_PCF8563 if ETRAX_ARCH_V32
269 default ETRAX_DS1302 if ETRAX_ARCH_V10
272 depends on ETRAX_ARCH_V10
275 Enables the driver for the DS1302 Real-Time Clock battery-backed
276 chip on some products.
281 Enables the driver for the PCF8563 Real-Time Clock battery-backed
282 chip on some products.
287 prompt "Network LED behavior"
288 depends on ETRAX_ETHERNET
289 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
291 config ETRAX_NETWORK_LED_ON_WHEN_LINK
292 bool "LED_on_when_link"
294 Selecting LED_on_when_link will light the LED when there is a
295 connection and will flash off when there is activity.
297 Selecting LED_on_when_activity will light the LED only when
300 This setting will also affect the behaviour of other activity LEDs
303 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
304 bool "LED_on_when_activity"
306 Selecting LED_on_when_link will light the LED when there is a
307 connection and will flash off when there is activity.
309 Selecting LED_on_when_activity will light the LED only when
312 This setting will also affect the behaviour of other activity LEDs
318 prompt "Ser0 DMA out channel"
319 depends on ETRAX_SERIAL_PORT0
320 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
321 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
323 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
324 bool "Ser0 uses no DMA for output"
326 Do not use DMA for ser0 output.
328 config ETRAX_SERIAL_PORT0_DMA6_OUT
329 bool "Ser0 uses DMA6 for output"
332 Enables the DMA6 output channel for ser0 (ttyS0).
333 If you do not enable DMA, an interrupt for each character will be
334 used when transmitting data.
335 Normally you want to use DMA, unless you use the DMA channel for
338 config ETRAX_SERIAL_PORT0_DMA0_OUT
339 bool "Ser0 uses DMA0 for output"
340 depends on CRIS_MACH_ARTPEC3
342 Enables the DMA0 output channel for ser0 (ttyS0).
343 If you do not enable DMA, an interrupt for each character will be
344 used when transmitting data.
345 Normally you want to use DMA, unless you use the DMA channel for
351 prompt "Ser0 DMA in channel "
352 depends on ETRAX_SERIAL_PORT0
353 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
354 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
356 What DMA channel to use for ser0.
358 config ETRAX_SERIAL_PORT0_NO_DMA_IN
359 bool "Ser0 uses no DMA for input"
361 Do not use DMA for ser0 input.
363 config ETRAX_SERIAL_PORT0_DMA7_IN
364 bool "Ser0 uses DMA7 for input"
367 Enables the DMA7 input channel for ser0 (ttyS0).
368 If you do not enable DMA, an interrupt for each character will be
369 used when receiving data.
370 Normally you want to use DMA, unless you use the DMA channel for
373 config ETRAX_SERIAL_PORT0_DMA1_IN
374 bool "Ser0 uses DMA1 for input"
375 depends on CRIS_MACH_ARTPEC3
377 Enables the DMA1 input channel for ser0 (ttyS0).
378 If you do not enable DMA, an interrupt for each character will be
379 used when receiveing data.
380 Normally you want to use DMA, unless you use the DMA channel for
386 prompt "Ser1 DMA in channel "
387 depends on ETRAX_SERIAL_PORT1
388 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
389 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
391 What DMA channel to use for ser1.
393 config ETRAX_SERIAL_PORT1_NO_DMA_IN
394 bool "Ser1 uses no DMA for input"
396 Do not use DMA for ser1 input.
398 config ETRAX_SERIAL_PORT1_DMA5_IN
399 bool "Ser1 uses DMA5 for input"
400 depends on ETRAX_ARCH_V32
402 Enables the DMA5 input channel for ser1 (ttyS1).
403 If you do not enable DMA, an interrupt for each character will be
404 used when receiving data.
405 Normally you want this on, unless you use the DMA channel for
408 config ETRAX_SERIAL_PORT1_DMA9_IN
409 depends on ETRAX_ARCH_V10
410 bool "Ser1 uses DMA9 for input"
416 prompt "Ser1 DMA out channel"
417 depends on ETRAX_SERIAL_PORT1
418 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
419 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
421 What DMA channel to use for ser1.
423 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
424 bool "Ser1 uses no DMA for output"
426 Do not use DMA for ser1 output.
428 config ETRAX_SERIAL_PORT1_DMA8_OUT
429 depends on ETRAX_ARCH_V10
430 bool "Ser1 uses DMA8 for output"
432 config ETRAX_SERIAL_PORT1_DMA4_OUT
433 depends on ETRAX_ARCH_V32
434 bool "Ser1 uses DMA4 for output"
436 Enables the DMA4 output channel for ser1 (ttyS1).
437 If you do not enable DMA, an interrupt for each character will be
438 used when transmitting data.
439 Normally you want this on, unless you use the DMA channel for
445 prompt "Ser2 DMA out channel"
446 depends on ETRAX_SERIAL_PORT2
447 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
448 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
450 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
451 bool "Ser2 uses no DMA for output"
453 Do not use DMA for ser2 output.
455 config ETRAX_SERIAL_PORT2_DMA2_OUT
456 bool "Ser2 uses DMA2 for output"
457 depends on ETRAXFS || ETRAX_ARCH_V10
459 Enables the DMA2 output channel for ser2 (ttyS2).
460 If you do not enable DMA, an interrupt for each character will be
461 used when transmitting data.
462 Normally you want to use DMA, unless you use the DMA channel for
465 config ETRAX_SERIAL_PORT2_DMA6_OUT
466 bool "Ser2 uses DMA6 for output"
467 depends on CRIS_MACH_ARTPEC3
469 Enables the DMA6 output channel for ser2 (ttyS2).
470 If you do not enable DMA, an interrupt for each character will be
471 used when transmitting data.
472 Normally you want to use DMA, unless you use the DMA channel for
478 prompt "Ser2 DMA in channel"
479 depends on ETRAX_SERIAL_PORT2
480 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
481 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
483 What DMA channel to use for ser2.
485 config ETRAX_SERIAL_PORT2_NO_DMA_IN
486 bool "Ser2 uses no DMA for input"
488 Do not use DMA for ser2 input.
490 config ETRAX_SERIAL_PORT2_DMA3_IN
491 bool "Ser2 uses DMA3 for input"
492 depends on ETRAXFS || ETRAX_ARCH_V10
494 Enables the DMA3 input channel for ser2 (ttyS2).
495 If you do not enable DMA, an interrupt for each character will be
496 used when receiving data.
497 Normally you want to use DMA, unless you use the DMA channel for
500 config ETRAX_SERIAL_PORT2_DMA7_IN
501 bool "Ser2 uses DMA7 for input"
502 depends on CRIS_MACH_ARTPEC3
504 Enables the DMA7 input channel for ser2 (ttyS2).
505 If you do not enable DMA, an interrupt for each character will be
506 used when receiveing data.
507 Normally you want to use DMA, unless you use the DMA channel for
513 prompt "Ser3 DMA in channel"
514 depends on ETRAX_SERIAL_PORT3
515 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
516 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
518 What DMA channel to use for ser3.
520 config ETRAX_SERIAL_PORT3_NO_DMA_IN
521 bool "Ser3 uses no DMA for input"
523 Do not use DMA for ser3 input.
525 config ETRAX_SERIAL_PORT3_DMA5_IN
526 depends on ETRAX_ARCH_V10
529 config ETRAX_SERIAL_PORT3_DMA9_IN
530 bool "Ser3 uses DMA9 for input"
533 Enables the DMA9 input channel for ser3 (ttyS3).
534 If you do not enable DMA, an interrupt for each character will be
535 used when receiving data.
536 Normally you want to use DMA, unless you use the DMA channel for
539 config ETRAX_SERIAL_PORT3_DMA3_IN
540 bool "Ser3 uses DMA3 for input"
541 depends on CRIS_MACH_ARTPEC3
543 Enables the DMA3 input channel for ser3 (ttyS3).
544 If you do not enable DMA, an interrupt for each character will be
545 used when receiveing data.
546 Normally you want to use DMA, unless you use the DMA channel for
552 prompt "Ser3 DMA out channel"
553 depends on ETRAX_SERIAL_PORT3
554 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
555 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
557 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
558 bool "Ser3 uses no DMA for output"
560 Do not use DMA for ser3 output.
562 config ETRAX_SERIAL_PORT3_DMA4_OUT
563 depends on ETRAX_ARCH_V10
566 config ETRAX_SERIAL_PORT3_DMA8_OUT
567 bool "Ser3 uses DMA8 for output"
570 Enables the DMA8 output channel for ser3 (ttyS3).
571 If you do not enable DMA, an interrupt for each character will be
572 used when transmitting data.
573 Normally you want to use DMA, unless you use the DMA channel for
576 config ETRAX_SERIAL_PORT3_DMA2_OUT
577 bool "Ser3 uses DMA2 for output"
578 depends on CRIS_MACH_ARTPEC3
580 Enables the DMA2 output channel for ser3 (ttyS3).
581 If you do not enable DMA, an interrupt for each character will be
582 used when transmitting data.
583 Normally you want to use DMA, unless you use the DMA channel for
590 source "drivers/base/Kconfig"
592 # standard linux drivers
593 source "drivers/mtd/Kconfig"
595 source "drivers/parport/Kconfig"
597 source "drivers/pnp/Kconfig"
599 source "drivers/block/Kconfig"
601 source "drivers/ide/Kconfig"
603 source "drivers/net/Kconfig"
605 source "drivers/i2c/Kconfig"
607 source "drivers/rtc/Kconfig"
610 # input before char - char/joystick depends on it. As does USB.
612 source "drivers/input/Kconfig"
614 source "drivers/char/Kconfig"
618 source "drivers/usb/Kconfig"
620 source "arch/cris/Kconfig.debug"
622 source "security/Kconfig"
624 source "crypto/Kconfig"