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
50 config FORCE_MAX_ZONEORDER
66 source "fs/Kconfig.binfmt"
68 config GENERIC_HARDIRQS
73 string "Kernel command line"
74 default "root=/dev/mtdblock3"
76 Pass additional commands to the kernel.
79 bool "Enable ETRAX watchdog"
81 Enable the built-in watchdog timer support on ETRAX based embedded
84 config ETRAX_WATCHDOG_NICE_DOGGY
85 bool "Disable watchdog during Oops printouts"
86 depends on ETRAX_WATCHDOG
88 By enabling this you make sure that the watchdog does not bite while
89 printing oopses. Recommended for development systems but not for
92 config ETRAX_FAST_TIMER
93 bool "Enable ETRAX fast timer API"
95 This options enables the API to a fast timer implementation using
96 timer1 to get sub jiffie resolution timers (primarily one-shot
98 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
100 config ETRAX_KMALLOCED_MODULES
101 bool "Enable module allocation with kmalloc"
103 Enable module allocation with kmalloc instead of vmalloc.
106 bool "Enable reboot at out of memory"
108 source "kernel/Kconfig.preempt"
114 menu "Hardware setup"
117 prompt "Processor type"
121 bool "ETRAX-100LX-v1"
123 Support version 1 of the ETRAX 100LX.
126 bool "ETRAX-100LX-v2"
128 Support version 2 of the ETRAX 100LX.
131 bool "ETRAX-100LX-for-xsim-simulator"
133 Support the xsim ETRAX Simulator.
140 config CRIS_MACH_ARTPEC3
143 Support Axis ARTPEC-3.
150 Setup hardware to be run in the VCS simulator.
152 config ETRAX_ARCH_V10
154 default y if ETRAX100LX || ETRAX100LX_V2
155 default n if !(ETRAX100LX || ETRAX100LX_V2)
157 config ETRAX_ARCH_V32
159 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
160 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
162 config ETRAX_DRAM_SIZE
163 int "DRAM size (dec, in MB)"
166 Size of DRAM (decimal in MB) typically 2, 8 or 16.
168 config ETRAX_VMEM_SIZE
169 int "Video memory size (dec, in MB)"
170 depends on ETRAX_ARCH_V32 && !ETRAXFS
171 default 8 if !ETRAXFS
173 Size of Video accessible memory (decimal, in MB).
175 config ETRAX_FLASH_BUSWIDTH
176 int "Buswidth of NOR flash in bytes"
179 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
181 config ETRAX_NANDFLASH_BUSWIDTH
182 int "Buswidth of NAND flash in bytes"
185 Width in bytes of the NAND flash (1 or 2).
187 config ETRAX_FLASH1_SIZE
188 int "FLASH1 size (dec, in MB. 0 = Unknown)"
192 prompt "Product debug-port"
193 default ETRAX_DEBUG_PORT0
195 config ETRAX_DEBUG_PORT0
198 Choose a serial port for the ETRAX debug console. Default to
201 config ETRAX_DEBUG_PORT1
204 Use serial port 1 for the console.
206 config ETRAX_DEBUG_PORT2
209 Use serial port 2 for the console.
211 config ETRAX_DEBUG_PORT3
214 Use serial port 3 for the console.
216 config ETRAX_DEBUG_PORT_NULL
219 Disable serial-port debugging.
224 prompt "Kernel GDB port"
225 depends on ETRAX_KGDB
226 default ETRAX_KGDB_PORT0
228 Choose a serial port for kernel debugging. NOTE: This port should
229 not be enabled under Drivers for built-in interfaces (as it has its
230 own initialization code) and should not be the same as the debug port.
232 config ETRAX_KGDB_PORT0
235 Use serial port 0 for kernel debugging.
237 config ETRAX_KGDB_PORT1
240 Use serial port 1 for kernel debugging.
242 config ETRAX_KGDB_PORT2
245 Use serial port 2 for kernel debugging.
247 config ETRAX_KGDB_PORT3
250 Use serial port 3 for kernel debugging.
254 source arch/cris/arch-v10/Kconfig
255 source arch/cris/arch-v32/Kconfig
261 # bring in ETRAX built-in drivers
262 menu "Drivers for built-in interfaces"
263 source arch/cris/arch-v10/drivers/Kconfig
264 source arch/cris/arch-v32/drivers/Kconfig
266 config ETRAX_AXISFLASHMAP
267 bool "Axis flash-map support"
270 select MTD_CFI_AMDSTD
271 select MTD_JEDECPROBE if ETRAX_ARCH_V32
274 select MTD_PARTITIONS
276 select MTD_COMPLEX_MAPPINGS
278 This option enables MTD mapping of flash devices. Needed to use
279 flash memories. If unsure, say Y.
282 bool "Real Time Clock support"
285 Enables drivers for the Real-Time Clock battery-backed chips on
286 some products. The kernel reads the time when booting, and
287 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
288 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
289 device. You can check the time with cat /proc/rtc, but
290 normal time reading should be done using libc function time and
296 default ETRAX_PCF8563 if ETRAX_ARCH_V32
297 default ETRAX_DS1302 if ETRAX_ARCH_V10
300 depends on ETRAX_ARCH_V10
303 Enables the driver for the DS1302 Real-Time Clock battery-backed
304 chip on some products.
309 Enables the driver for the PCF8563 Real-Time Clock battery-backed
310 chip on some products.
314 config ETRAX_SYNCHRONOUS_SERIAL
315 bool "Synchronous serial-port support"
317 Select this to enable the synchronous serial port driver.
319 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
320 bool "Synchronous serial port 0 enabled"
321 depends on ETRAX_SYNCHRONOUS_SERIAL
323 Enabled synchronous serial port 0.
325 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
326 bool "Enable DMA on synchronous serial port 0."
327 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
329 A synchronous serial port can run in manual or DMA mode.
330 Selecting this option will make it run in DMA mode.
332 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
333 bool "Synchronous serial port 1 enabled"
334 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
336 Enabled synchronous serial port 1.
338 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
339 bool "Enable DMA on synchronous serial port 1."
340 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
342 A synchronous serial port can run in manual or DMA mode.
343 Selecting this option will make it run in DMA mode.
346 prompt "Network LED behavior"
347 depends on ETRAX_ETHERNET
348 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
350 config ETRAX_NETWORK_LED_ON_WHEN_LINK
351 bool "LED_on_when_link"
353 Selecting LED_on_when_link will light the LED when there is a
354 connection and will flash off when there is activity.
356 Selecting LED_on_when_activity will light the LED only when
359 This setting will also affect the behaviour of other activity LEDs
362 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
363 bool "LED_on_when_activity"
365 Selecting LED_on_when_link will light the LED when there is a
366 connection and will flash off when there is activity.
368 Selecting LED_on_when_activity will light the LED only when
371 This setting will also affect the behaviour of other activity LEDs
377 prompt "Ser0 DMA out channel"
378 depends on ETRAX_SERIAL_PORT0
379 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
380 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
382 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
383 bool "Ser0 uses no DMA for output"
385 Do not use DMA for ser0 output.
387 config ETRAX_SERIAL_PORT0_DMA6_OUT
388 bool "Ser0 uses DMA6 for output"
391 Enables the DMA6 output channel for ser0 (ttyS0).
392 If you do not enable DMA, an interrupt for each character will be
393 used when transmitting data.
394 Normally you want to use DMA, unless you use the DMA channel for
397 config ETRAX_SERIAL_PORT0_DMA0_OUT
398 bool "Ser0 uses DMA0 for output"
399 depends on CRIS_MACH_ARTPEC3
401 Enables the DMA0 output channel for ser0 (ttyS0).
402 If you do not enable DMA, an interrupt for each character will be
403 used when transmitting data.
404 Normally you want to use DMA, unless you use the DMA channel for
410 prompt "Ser0 DMA in channel "
411 depends on ETRAX_SERIAL_PORT0
412 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
413 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
415 What DMA channel to use for ser0.
417 config ETRAX_SERIAL_PORT0_NO_DMA_IN
418 bool "Ser0 uses no DMA for input"
420 Do not use DMA for ser0 input.
422 config ETRAX_SERIAL_PORT0_DMA7_IN
423 bool "Ser0 uses DMA7 for input"
426 Enables the DMA7 input channel for ser0 (ttyS0).
427 If you do not enable DMA, an interrupt for each character will be
428 used when receiving data.
429 Normally you want to use DMA, unless you use the DMA channel for
432 config ETRAX_SERIAL_PORT0_DMA1_IN
433 bool "Ser0 uses DMA1 for input"
434 depends on CRIS_MACH_ARTPEC3
436 Enables the DMA1 input channel for ser0 (ttyS0).
437 If you do not enable DMA, an interrupt for each character will be
438 used when receiveing data.
439 Normally you want to use DMA, unless you use the DMA channel for
445 prompt "Ser1 DMA in channel "
446 depends on ETRAX_SERIAL_PORT1
447 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
448 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
450 What DMA channel to use for ser1.
452 config ETRAX_SERIAL_PORT1_NO_DMA_IN
453 bool "Ser1 uses no DMA for input"
455 Do not use DMA for ser1 input.
457 config ETRAX_SERIAL_PORT1_DMA5_IN
458 bool "Ser1 uses DMA5 for input"
459 depends on ETRAX_ARCH_V32
461 Enables the DMA5 input channel for ser1 (ttyS1).
462 If you do not enable DMA, an interrupt for each character will be
463 used when receiving data.
464 Normally you want this on, unless you use the DMA channel for
467 config ETRAX_SERIAL_PORT1_DMA9_IN
468 depends on ETRAX_ARCH_V10
469 bool "Ser1 uses DMA9 for input"
475 prompt "Ser1 DMA out channel"
476 depends on ETRAX_SERIAL_PORT1
477 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
478 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
480 What DMA channel to use for ser1.
482 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
483 bool "Ser1 uses no DMA for output"
485 Do not use DMA for ser1 output.
487 config ETRAX_SERIAL_PORT1_DMA8_OUT
488 depends on ETRAX_ARCH_V10
489 bool "Ser1 uses DMA8 for output"
491 config ETRAX_SERIAL_PORT1_DMA4_OUT
492 depends on ETRAX_ARCH_V32
493 bool "Ser1 uses DMA4 for output"
495 Enables the DMA4 output channel for ser1 (ttyS1).
496 If you do not enable DMA, an interrupt for each character will be
497 used when transmitting data.
498 Normally you want this on, unless you use the DMA channel for
504 prompt "Ser2 DMA out channel"
505 depends on ETRAX_SERIAL_PORT2
506 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
507 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
509 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
510 bool "Ser2 uses no DMA for output"
512 Do not use DMA for ser2 output.
514 config ETRAX_SERIAL_PORT2_DMA2_OUT
515 bool "Ser2 uses DMA2 for output"
516 depends on ETRAXFS || ETRAX_ARCH_V10
518 Enables the DMA2 output channel for ser2 (ttyS2).
519 If you do not enable DMA, an interrupt for each character will be
520 used when transmitting data.
521 Normally you want to use DMA, unless you use the DMA channel for
524 config ETRAX_SERIAL_PORT2_DMA6_OUT
525 bool "Ser2 uses DMA6 for output"
526 depends on CRIS_MACH_ARTPEC3
528 Enables the DMA6 output channel for ser2 (ttyS2).
529 If you do not enable DMA, an interrupt for each character will be
530 used when transmitting data.
531 Normally you want to use DMA, unless you use the DMA channel for
537 prompt "Ser2 DMA in channel"
538 depends on ETRAX_SERIAL_PORT2
539 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
540 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
542 What DMA channel to use for ser2.
544 config ETRAX_SERIAL_PORT2_NO_DMA_IN
545 bool "Ser2 uses no DMA for input"
547 Do not use DMA for ser2 input.
549 config ETRAX_SERIAL_PORT2_DMA3_IN
550 bool "Ser2 uses DMA3 for input"
551 depends on ETRAXFS || ETRAX_ARCH_V10
553 Enables the DMA3 input channel for ser2 (ttyS2).
554 If you do not enable DMA, an interrupt for each character will be
555 used when receiving data.
556 Normally you want to use DMA, unless you use the DMA channel for
559 config ETRAX_SERIAL_PORT2_DMA7_IN
560 bool "Ser2 uses DMA7 for input"
561 depends on CRIS_MACH_ARTPEC3
563 Enables the DMA7 input channel for ser2 (ttyS2).
564 If you do not enable DMA, an interrupt for each character will be
565 used when receiveing data.
566 Normally you want to use DMA, unless you use the DMA channel for
572 prompt "Ser3 DMA in channel"
573 depends on ETRAX_SERIAL_PORT3
574 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
575 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
577 What DMA channel to use for ser3.
579 config ETRAX_SERIAL_PORT3_NO_DMA_IN
580 bool "Ser3 uses no DMA for input"
582 Do not use DMA for ser3 input.
584 config ETRAX_SERIAL_PORT3_DMA5_IN
585 depends on ETRAX_ARCH_V10
588 config ETRAX_SERIAL_PORT3_DMA9_IN
589 bool "Ser3 uses DMA9 for input"
592 Enables the DMA9 input channel for ser3 (ttyS3).
593 If you do not enable DMA, an interrupt for each character will be
594 used when receiving data.
595 Normally you want to use DMA, unless you use the DMA channel for
598 config ETRAX_SERIAL_PORT3_DMA3_IN
599 bool "Ser3 uses DMA3 for input"
600 depends on CRIS_MACH_ARTPEC3
602 Enables the DMA3 input channel for ser3 (ttyS3).
603 If you do not enable DMA, an interrupt for each character will be
604 used when receiveing data.
605 Normally you want to use DMA, unless you use the DMA channel for
611 prompt "Ser3 DMA out channel"
612 depends on ETRAX_SERIAL_PORT3
613 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
614 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
616 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
617 bool "Ser3 uses no DMA for output"
619 Do not use DMA for ser3 output.
621 config ETRAX_SERIAL_PORT3_DMA4_OUT
622 depends on ETRAX_ARCH_V10
625 config ETRAX_SERIAL_PORT3_DMA8_OUT
626 bool "Ser3 uses DMA8 for output"
629 Enables the DMA8 output channel for ser3 (ttyS3).
630 If you do not enable DMA, an interrupt for each character will be
631 used when transmitting data.
632 Normally you want to use DMA, unless you use the DMA channel for
635 config ETRAX_SERIAL_PORT3_DMA2_OUT
636 bool "Ser3 uses DMA2 for output"
637 depends on CRIS_MACH_ARTPEC3
639 Enables the DMA2 output channel for ser3 (ttyS3).
640 If you do not enable DMA, an interrupt for each character will be
641 used when transmitting data.
642 Normally you want to use DMA, unless you use the DMA channel for
649 source "drivers/base/Kconfig"
651 # standard linux drivers
652 source "drivers/mtd/Kconfig"
654 source "drivers/parport/Kconfig"
656 source "drivers/pnp/Kconfig"
658 source "drivers/block/Kconfig"
660 source "drivers/ide/Kconfig"
662 source "drivers/net/Kconfig"
664 source "drivers/i2c/Kconfig"
666 source "drivers/rtc/Kconfig"
669 # input before char - char/joystick depends on it. As does USB.
671 source "drivers/input/Kconfig"
673 source "drivers/char/Kconfig"
677 source "drivers/usb/Kconfig"
679 source "arch/cris/Kconfig.debug"
681 source "security/Kconfig"
683 source "crypto/Kconfig"