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
26 config GENERIC_CMOS_UPDATE
29 config ARCH_USES_GETTIMEOFFSET
36 config ARCH_HAS_ILOG2_U32
40 config ARCH_HAS_ILOG2_U64
44 config GENERIC_FIND_NEXT_BIT
48 config GENERIC_HWEIGHT
52 config GENERIC_CALIBRATE_DELAY
59 config FORCE_MAX_ZONEORDER
74 source "kernel/Kconfig.freezer"
78 source "fs/Kconfig.binfmt"
80 config GENERIC_HARDIRQS
85 string "Kernel command line"
86 default "root=/dev/mtdblock3"
88 Pass additional commands to the kernel.
91 bool "Enable ETRAX watchdog"
93 Enable the built-in watchdog timer support on ETRAX based embedded
96 config ETRAX_WATCHDOG_NICE_DOGGY
97 bool "Disable watchdog during Oops printouts"
98 depends on ETRAX_WATCHDOG
100 By enabling this you make sure that the watchdog does not bite while
101 printing oopses. Recommended for development systems but not for
104 config ETRAX_FAST_TIMER
105 bool "Enable ETRAX fast timer API"
107 This options enables the API to a fast timer implementation using
108 timer1 to get sub jiffie resolution timers (primarily one-shot
110 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
112 config ETRAX_KMALLOCED_MODULES
113 bool "Enable module allocation with kmalloc"
115 Enable module allocation with kmalloc instead of vmalloc.
118 bool "Enable reboot at out of memory"
120 source "kernel/Kconfig.preempt"
126 menu "Hardware setup"
129 prompt "Processor type"
133 bool "ETRAX-100LX-v1"
135 Support version 1 of the ETRAX 100LX.
138 bool "ETRAX-100LX-v2"
140 Support version 2 of the ETRAX 100LX.
143 bool "ETRAX-100LX-for-xsim-simulator"
145 Support the xsim ETRAX Simulator.
152 config CRIS_MACH_ARTPEC3
155 Support Axis ARTPEC-3.
162 Setup hardware to be run in the VCS simulator.
164 config ETRAX_ARCH_V10
166 default y if ETRAX100LX || ETRAX100LX_V2
167 default n if !(ETRAX100LX || ETRAX100LX_V2)
169 config ETRAX_ARCH_V32
171 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
172 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
174 config ETRAX_DRAM_SIZE
175 int "DRAM size (dec, in MB)"
178 Size of DRAM (decimal in MB) typically 2, 8 or 16.
180 config ETRAX_VMEM_SIZE
181 int "Video memory size (dec, in MB)"
182 depends on ETRAX_ARCH_V32 && !ETRAXFS
183 default 8 if !ETRAXFS
185 Size of Video accessible memory (decimal, in MB).
187 config ETRAX_FLASH_BUSWIDTH
188 int "Buswidth of NOR flash in bytes"
191 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
193 config ETRAX_NANDFLASH_BUSWIDTH
194 int "Buswidth of NAND flash in bytes"
197 Width in bytes of the NAND flash (1 or 2).
199 config ETRAX_FLASH1_SIZE
200 int "FLASH1 size (dec, in MB. 0 = Unknown)"
204 prompt "Product debug-port"
205 default ETRAX_DEBUG_PORT0
207 config ETRAX_DEBUG_PORT0
210 Choose a serial port for the ETRAX debug console. Default to
213 config ETRAX_DEBUG_PORT1
216 Use serial port 1 for the console.
218 config ETRAX_DEBUG_PORT2
221 Use serial port 2 for the console.
223 config ETRAX_DEBUG_PORT3
226 Use serial port 3 for the console.
228 config ETRAX_DEBUG_PORT_NULL
231 Disable serial-port debugging.
236 prompt "Kernel GDB port"
237 depends on ETRAX_KGDB
238 default ETRAX_KGDB_PORT0
240 Choose a serial port for kernel debugging. NOTE: This port should
241 not be enabled under Drivers for built-in interfaces (as it has its
242 own initialization code) and should not be the same as the debug port.
244 config ETRAX_KGDB_PORT0
247 Use serial port 0 for kernel debugging.
249 config ETRAX_KGDB_PORT1
252 Use serial port 1 for kernel debugging.
254 config ETRAX_KGDB_PORT2
257 Use serial port 2 for kernel debugging.
259 config ETRAX_KGDB_PORT3
262 Use serial port 3 for kernel debugging.
266 source arch/cris/arch-v10/Kconfig
267 source arch/cris/arch-v32/Kconfig
273 # bring in ETRAX built-in drivers
274 menu "Drivers for built-in interfaces"
275 source arch/cris/arch-v10/drivers/Kconfig
276 source arch/cris/arch-v32/drivers/Kconfig
278 config ETRAX_AXISFLASHMAP
279 bool "Axis flash-map support"
282 select MTD_CFI_AMDSTD
283 select MTD_JEDECPROBE if ETRAX_ARCH_V32
286 select MTD_PARTITIONS
288 select MTD_COMPLEX_MAPPINGS
290 This option enables MTD mapping of flash devices. Needed to use
291 flash memories. If unsure, say Y.
294 bool "Real Time Clock support"
297 Enables drivers for the Real-Time Clock battery-backed chips on
298 some products. The kernel reads the time when booting, and
299 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
300 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
301 device. You can check the time with cat /proc/rtc, but
302 normal time reading should be done using libc function time and
308 default ETRAX_PCF8563 if ETRAX_ARCH_V32
309 default ETRAX_DS1302 if ETRAX_ARCH_V10
312 depends on ETRAX_ARCH_V10
315 Enables the driver for the DS1302 Real-Time Clock battery-backed
316 chip on some products.
321 Enables the driver for the PCF8563 Real-Time Clock battery-backed
322 chip on some products.
326 config ETRAX_SYNCHRONOUS_SERIAL
327 bool "Synchronous serial-port support"
329 Select this to enable the synchronous serial port driver.
331 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
332 bool "Synchronous serial port 0 enabled"
333 depends on ETRAX_SYNCHRONOUS_SERIAL
335 Enabled synchronous serial port 0.
337 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
338 bool "Enable DMA on synchronous serial port 0."
339 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
341 A synchronous serial port can run in manual or DMA mode.
342 Selecting this option will make it run in DMA mode.
344 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
345 bool "Synchronous serial port 1 enabled"
346 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
348 Enabled synchronous serial port 1.
350 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
351 bool "Enable DMA on synchronous serial port 1."
352 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
354 A synchronous serial port can run in manual or DMA mode.
355 Selecting this option will make it run in DMA mode.
358 prompt "Network LED behavior"
359 depends on ETRAX_ETHERNET
360 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
362 config ETRAX_NETWORK_LED_ON_WHEN_LINK
363 bool "LED_on_when_link"
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
374 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
375 bool "LED_on_when_activity"
377 Selecting LED_on_when_link will light the LED when there is a
378 connection and will flash off when there is activity.
380 Selecting LED_on_when_activity will light the LED only when
383 This setting will also affect the behaviour of other activity LEDs
389 prompt "Ser0 DMA out channel"
390 depends on ETRAX_SERIAL_PORT0
391 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
392 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
394 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
395 bool "Ser0 uses no DMA for output"
397 Do not use DMA for ser0 output.
399 config ETRAX_SERIAL_PORT0_DMA6_OUT
400 bool "Ser0 uses DMA6 for output"
403 Enables the DMA6 output channel for ser0 (ttyS0).
404 If you do not enable DMA, an interrupt for each character will be
405 used when transmitting data.
406 Normally you want to use DMA, unless you use the DMA channel for
409 config ETRAX_SERIAL_PORT0_DMA0_OUT
410 bool "Ser0 uses DMA0 for output"
411 depends on CRIS_MACH_ARTPEC3
413 Enables the DMA0 output channel for ser0 (ttyS0).
414 If you do not enable DMA, an interrupt for each character will be
415 used when transmitting data.
416 Normally you want to use DMA, unless you use the DMA channel for
422 prompt "Ser0 DMA in channel "
423 depends on ETRAX_SERIAL_PORT0
424 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
425 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
427 What DMA channel to use for ser0.
429 config ETRAX_SERIAL_PORT0_NO_DMA_IN
430 bool "Ser0 uses no DMA for input"
432 Do not use DMA for ser0 input.
434 config ETRAX_SERIAL_PORT0_DMA7_IN
435 bool "Ser0 uses DMA7 for input"
438 Enables the DMA7 input channel for ser0 (ttyS0).
439 If you do not enable DMA, an interrupt for each character will be
440 used when receiving data.
441 Normally you want to use DMA, unless you use the DMA channel for
444 config ETRAX_SERIAL_PORT0_DMA1_IN
445 bool "Ser0 uses DMA1 for input"
446 depends on CRIS_MACH_ARTPEC3
448 Enables the DMA1 input channel for ser0 (ttyS0).
449 If you do not enable DMA, an interrupt for each character will be
450 used when receiving data.
451 Normally you want to use DMA, unless you use the DMA channel for
457 prompt "Ser1 DMA in channel "
458 depends on ETRAX_SERIAL_PORT1
459 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
460 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
462 What DMA channel to use for ser1.
464 config ETRAX_SERIAL_PORT1_NO_DMA_IN
465 bool "Ser1 uses no DMA for input"
467 Do not use DMA for ser1 input.
469 config ETRAX_SERIAL_PORT1_DMA5_IN
470 bool "Ser1 uses DMA5 for input"
471 depends on ETRAX_ARCH_V32
473 Enables the DMA5 input channel for ser1 (ttyS1).
474 If you do not enable DMA, an interrupt for each character will be
475 used when receiving data.
476 Normally you want this on, unless you use the DMA channel for
479 config ETRAX_SERIAL_PORT1_DMA9_IN
480 depends on ETRAX_ARCH_V10
481 bool "Ser1 uses DMA9 for input"
487 prompt "Ser1 DMA out channel"
488 depends on ETRAX_SERIAL_PORT1
489 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
490 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
492 What DMA channel to use for ser1.
494 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
495 bool "Ser1 uses no DMA for output"
497 Do not use DMA for ser1 output.
499 config ETRAX_SERIAL_PORT1_DMA8_OUT
500 depends on ETRAX_ARCH_V10
501 bool "Ser1 uses DMA8 for output"
503 config ETRAX_SERIAL_PORT1_DMA4_OUT
504 depends on ETRAX_ARCH_V32
505 bool "Ser1 uses DMA4 for output"
507 Enables the DMA4 output channel for ser1 (ttyS1).
508 If you do not enable DMA, an interrupt for each character will be
509 used when transmitting data.
510 Normally you want this on, unless you use the DMA channel for
516 prompt "Ser2 DMA out channel"
517 depends on ETRAX_SERIAL_PORT2
518 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
519 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
521 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
522 bool "Ser2 uses no DMA for output"
524 Do not use DMA for ser2 output.
526 config ETRAX_SERIAL_PORT2_DMA2_OUT
527 bool "Ser2 uses DMA2 for output"
528 depends on ETRAXFS || ETRAX_ARCH_V10
530 Enables the DMA2 output channel for ser2 (ttyS2).
531 If you do not enable DMA, an interrupt for each character will be
532 used when transmitting data.
533 Normally you want to use DMA, unless you use the DMA channel for
536 config ETRAX_SERIAL_PORT2_DMA6_OUT
537 bool "Ser2 uses DMA6 for output"
538 depends on CRIS_MACH_ARTPEC3
540 Enables the DMA6 output channel for ser2 (ttyS2).
541 If you do not enable DMA, an interrupt for each character will be
542 used when transmitting data.
543 Normally you want to use DMA, unless you use the DMA channel for
549 prompt "Ser2 DMA in channel"
550 depends on ETRAX_SERIAL_PORT2
551 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
552 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
554 What DMA channel to use for ser2.
556 config ETRAX_SERIAL_PORT2_NO_DMA_IN
557 bool "Ser2 uses no DMA for input"
559 Do not use DMA for ser2 input.
561 config ETRAX_SERIAL_PORT2_DMA3_IN
562 bool "Ser2 uses DMA3 for input"
563 depends on ETRAXFS || ETRAX_ARCH_V10
565 Enables the DMA3 input channel for ser2 (ttyS2).
566 If you do not enable DMA, an interrupt for each character will be
567 used when receiving data.
568 Normally you want to use DMA, unless you use the DMA channel for
571 config ETRAX_SERIAL_PORT2_DMA7_IN
572 bool "Ser2 uses DMA7 for input"
573 depends on CRIS_MACH_ARTPEC3
575 Enables the DMA7 input channel for ser2 (ttyS2).
576 If you do not enable DMA, an interrupt for each character will be
577 used when receiving data.
578 Normally you want to use DMA, unless you use the DMA channel for
584 prompt "Ser3 DMA in channel"
585 depends on ETRAX_SERIAL_PORT3
586 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
587 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
589 What DMA channel to use for ser3.
591 config ETRAX_SERIAL_PORT3_NO_DMA_IN
592 bool "Ser3 uses no DMA for input"
594 Do not use DMA for ser3 input.
596 config ETRAX_SERIAL_PORT3_DMA5_IN
597 depends on ETRAX_ARCH_V10
600 config ETRAX_SERIAL_PORT3_DMA9_IN
601 bool "Ser3 uses DMA9 for input"
604 Enables the DMA9 input channel for ser3 (ttyS3).
605 If you do not enable DMA, an interrupt for each character will be
606 used when receiving data.
607 Normally you want to use DMA, unless you use the DMA channel for
610 config ETRAX_SERIAL_PORT3_DMA3_IN
611 bool "Ser3 uses DMA3 for input"
612 depends on CRIS_MACH_ARTPEC3
614 Enables the DMA3 input channel for ser3 (ttyS3).
615 If you do not enable DMA, an interrupt for each character will be
616 used when receiving data.
617 Normally you want to use DMA, unless you use the DMA channel for
623 prompt "Ser3 DMA out channel"
624 depends on ETRAX_SERIAL_PORT3
625 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
626 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
628 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
629 bool "Ser3 uses no DMA for output"
631 Do not use DMA for ser3 output.
633 config ETRAX_SERIAL_PORT3_DMA4_OUT
634 depends on ETRAX_ARCH_V10
637 config ETRAX_SERIAL_PORT3_DMA8_OUT
638 bool "Ser3 uses DMA8 for output"
641 Enables the DMA8 output channel for ser3 (ttyS3).
642 If you do not enable DMA, an interrupt for each character will be
643 used when transmitting data.
644 Normally you want to use DMA, unless you use the DMA channel for
647 config ETRAX_SERIAL_PORT3_DMA2_OUT
648 bool "Ser3 uses DMA2 for output"
649 depends on CRIS_MACH_ARTPEC3
651 Enables the DMA2 output channel for ser3 (ttyS3).
652 If you do not enable DMA, an interrupt for each character will be
653 used when transmitting data.
654 Normally you want to use DMA, unless you use the DMA channel for
661 source "drivers/base/Kconfig"
663 # standard linux drivers
664 source "drivers/mtd/Kconfig"
666 source "drivers/parport/Kconfig"
668 source "drivers/pnp/Kconfig"
670 source "drivers/block/Kconfig"
672 source "drivers/ide/Kconfig"
674 source "drivers/net/Kconfig"
676 source "drivers/i2c/Kconfig"
678 source "drivers/rtc/Kconfig"
681 # input before char - char/joystick depends on it. As does USB.
683 source "drivers/input/Kconfig"
685 source "drivers/char/Kconfig"
689 source "drivers/usb/Kconfig"
691 source "drivers/uwb/Kconfig"
693 source "drivers/staging/Kconfig"
695 source "arch/cris/Kconfig.debug"
697 source "security/Kconfig"
699 source "crypto/Kconfig"