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"
134 select ARCH_USES_GETTIMEOFFSET
136 Support version 1 of the ETRAX 100LX.
139 bool "ETRAX-100LX-v2"
140 select ARCH_USES_GETTIMEOFFSET
142 Support version 2 of the ETRAX 100LX.
145 bool "ETRAX-100LX-for-xsim-simulator"
146 select ARCH_USES_GETTIMEOFFSET
148 Support the xsim ETRAX Simulator.
155 config CRIS_MACH_ARTPEC3
158 Support Axis ARTPEC-3.
165 Setup hardware to be run in the VCS simulator.
167 config ETRAX_ARCH_V10
169 default y if ETRAX100LX || ETRAX100LX_V2
170 default n if !(ETRAX100LX || ETRAX100LX_V2)
172 config ETRAX_ARCH_V32
174 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
175 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
177 config ETRAX_DRAM_SIZE
178 int "DRAM size (dec, in MB)"
181 Size of DRAM (decimal in MB) typically 2, 8 or 16.
183 config ETRAX_VMEM_SIZE
184 int "Video memory size (dec, in MB)"
185 depends on ETRAX_ARCH_V32 && !ETRAXFS
186 default 8 if !ETRAXFS
188 Size of Video accessible memory (decimal, in MB).
190 config ETRAX_FLASH_BUSWIDTH
191 int "Buswidth of NOR flash in bytes"
194 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
196 config ETRAX_NANDFLASH_BUSWIDTH
197 int "Buswidth of NAND flash in bytes"
200 Width in bytes of the NAND flash (1 or 2).
202 config ETRAX_FLASH1_SIZE
203 int "FLASH1 size (dec, in MB. 0 = Unknown)"
207 prompt "Product debug-port"
208 default ETRAX_DEBUG_PORT0
210 config ETRAX_DEBUG_PORT0
213 Choose a serial port for the ETRAX debug console. Default to
216 config ETRAX_DEBUG_PORT1
219 Use serial port 1 for the console.
221 config ETRAX_DEBUG_PORT2
224 Use serial port 2 for the console.
226 config ETRAX_DEBUG_PORT3
229 Use serial port 3 for the console.
231 config ETRAX_DEBUG_PORT_NULL
234 Disable serial-port debugging.
239 prompt "Kernel GDB port"
240 depends on ETRAX_KGDB
241 default ETRAX_KGDB_PORT0
243 Choose a serial port for kernel debugging. NOTE: This port should
244 not be enabled under Drivers for built-in interfaces (as it has its
245 own initialization code) and should not be the same as the debug port.
247 config ETRAX_KGDB_PORT0
250 Use serial port 0 for kernel debugging.
252 config ETRAX_KGDB_PORT1
255 Use serial port 1 for kernel debugging.
257 config ETRAX_KGDB_PORT2
260 Use serial port 2 for kernel debugging.
262 config ETRAX_KGDB_PORT3
265 Use serial port 3 for kernel debugging.
269 source arch/cris/arch-v10/Kconfig
270 source arch/cris/arch-v32/Kconfig
276 # bring in ETRAX built-in drivers
277 menu "Drivers for built-in interfaces"
278 source arch/cris/arch-v10/drivers/Kconfig
279 source arch/cris/arch-v32/drivers/Kconfig
281 config ETRAX_AXISFLASHMAP
282 bool "Axis flash-map support"
285 select MTD_CFI_AMDSTD
286 select MTD_JEDECPROBE if ETRAX_ARCH_V32
289 select MTD_PARTITIONS
291 select MTD_COMPLEX_MAPPINGS
293 This option enables MTD mapping of flash devices. Needed to use
294 flash memories. If unsure, say Y.
297 bool "Real Time Clock support"
300 Enables drivers for the Real-Time Clock battery-backed chips on
301 some products. The kernel reads the time when booting, and
302 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
303 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
304 device. You can check the time with cat /proc/rtc, but
305 normal time reading should be done using libc function time and
311 default ETRAX_PCF8563 if ETRAX_ARCH_V32
312 default ETRAX_DS1302 if ETRAX_ARCH_V10
315 depends on ETRAX_ARCH_V10
318 Enables the driver for the DS1302 Real-Time Clock battery-backed
319 chip on some products.
324 Enables the driver for the PCF8563 Real-Time Clock battery-backed
325 chip on some products.
329 config ETRAX_SYNCHRONOUS_SERIAL
330 bool "Synchronous serial-port support"
332 Select this to enable the synchronous serial port driver.
334 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
335 bool "Synchronous serial port 0 enabled"
336 depends on ETRAX_SYNCHRONOUS_SERIAL
338 Enabled synchronous serial port 0.
340 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
341 bool "Enable DMA on synchronous serial port 0."
342 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
344 A synchronous serial port can run in manual or DMA mode.
345 Selecting this option will make it run in DMA mode.
347 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
348 bool "Synchronous serial port 1 enabled"
349 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
351 Enabled synchronous serial port 1.
353 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
354 bool "Enable DMA on synchronous serial port 1."
355 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
357 A synchronous serial port can run in manual or DMA mode.
358 Selecting this option will make it run in DMA mode.
361 prompt "Network LED behavior"
362 depends on ETRAX_ETHERNET
363 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
365 config ETRAX_NETWORK_LED_ON_WHEN_LINK
366 bool "LED_on_when_link"
368 Selecting LED_on_when_link will light the LED when there is a
369 connection and will flash off when there is activity.
371 Selecting LED_on_when_activity will light the LED only when
374 This setting will also affect the behaviour of other activity LEDs
377 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
378 bool "LED_on_when_activity"
380 Selecting LED_on_when_link will light the LED when there is a
381 connection and will flash off when there is activity.
383 Selecting LED_on_when_activity will light the LED only when
386 This setting will also affect the behaviour of other activity LEDs
392 prompt "Ser0 DMA out channel"
393 depends on ETRAX_SERIAL_PORT0
394 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
395 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
397 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
398 bool "Ser0 uses no DMA for output"
400 Do not use DMA for ser0 output.
402 config ETRAX_SERIAL_PORT0_DMA6_OUT
403 bool "Ser0 uses DMA6 for output"
406 Enables the DMA6 output channel for ser0 (ttyS0).
407 If you do not enable DMA, an interrupt for each character will be
408 used when transmitting data.
409 Normally you want to use DMA, unless you use the DMA channel for
412 config ETRAX_SERIAL_PORT0_DMA0_OUT
413 bool "Ser0 uses DMA0 for output"
414 depends on CRIS_MACH_ARTPEC3
416 Enables the DMA0 output channel for ser0 (ttyS0).
417 If you do not enable DMA, an interrupt for each character will be
418 used when transmitting data.
419 Normally you want to use DMA, unless you use the DMA channel for
425 prompt "Ser0 DMA in channel "
426 depends on ETRAX_SERIAL_PORT0
427 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
428 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
430 What DMA channel to use for ser0.
432 config ETRAX_SERIAL_PORT0_NO_DMA_IN
433 bool "Ser0 uses no DMA for input"
435 Do not use DMA for ser0 input.
437 config ETRAX_SERIAL_PORT0_DMA7_IN
438 bool "Ser0 uses DMA7 for input"
441 Enables the DMA7 input channel for ser0 (ttyS0).
442 If you do not enable DMA, an interrupt for each character will be
443 used when receiving data.
444 Normally you want to use DMA, unless you use the DMA channel for
447 config ETRAX_SERIAL_PORT0_DMA1_IN
448 bool "Ser0 uses DMA1 for input"
449 depends on CRIS_MACH_ARTPEC3
451 Enables the DMA1 input channel for ser0 (ttyS0).
452 If you do not enable DMA, an interrupt for each character will be
453 used when receiving data.
454 Normally you want to use DMA, unless you use the DMA channel for
460 prompt "Ser1 DMA in channel "
461 depends on ETRAX_SERIAL_PORT1
462 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
463 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
465 What DMA channel to use for ser1.
467 config ETRAX_SERIAL_PORT1_NO_DMA_IN
468 bool "Ser1 uses no DMA for input"
470 Do not use DMA for ser1 input.
472 config ETRAX_SERIAL_PORT1_DMA5_IN
473 bool "Ser1 uses DMA5 for input"
474 depends on ETRAX_ARCH_V32
476 Enables the DMA5 input channel for ser1 (ttyS1).
477 If you do not enable DMA, an interrupt for each character will be
478 used when receiving data.
479 Normally you want this on, unless you use the DMA channel for
482 config ETRAX_SERIAL_PORT1_DMA9_IN
483 depends on ETRAX_ARCH_V10
484 bool "Ser1 uses DMA9 for input"
490 prompt "Ser1 DMA out channel"
491 depends on ETRAX_SERIAL_PORT1
492 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
493 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
495 What DMA channel to use for ser1.
497 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
498 bool "Ser1 uses no DMA for output"
500 Do not use DMA for ser1 output.
502 config ETRAX_SERIAL_PORT1_DMA8_OUT
503 depends on ETRAX_ARCH_V10
504 bool "Ser1 uses DMA8 for output"
506 config ETRAX_SERIAL_PORT1_DMA4_OUT
507 depends on ETRAX_ARCH_V32
508 bool "Ser1 uses DMA4 for output"
510 Enables the DMA4 output channel for ser1 (ttyS1).
511 If you do not enable DMA, an interrupt for each character will be
512 used when transmitting data.
513 Normally you want this on, unless you use the DMA channel for
519 prompt "Ser2 DMA out channel"
520 depends on ETRAX_SERIAL_PORT2
521 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
522 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
524 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
525 bool "Ser2 uses no DMA for output"
527 Do not use DMA for ser2 output.
529 config ETRAX_SERIAL_PORT2_DMA2_OUT
530 bool "Ser2 uses DMA2 for output"
531 depends on ETRAXFS || ETRAX_ARCH_V10
533 Enables the DMA2 output channel for ser2 (ttyS2).
534 If you do not enable DMA, an interrupt for each character will be
535 used when transmitting data.
536 Normally you want to use DMA, unless you use the DMA channel for
539 config ETRAX_SERIAL_PORT2_DMA6_OUT
540 bool "Ser2 uses DMA6 for output"
541 depends on CRIS_MACH_ARTPEC3
543 Enables the DMA6 output channel for ser2 (ttyS2).
544 If you do not enable DMA, an interrupt for each character will be
545 used when transmitting data.
546 Normally you want to use DMA, unless you use the DMA channel for
552 prompt "Ser2 DMA in channel"
553 depends on ETRAX_SERIAL_PORT2
554 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
555 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
557 What DMA channel to use for ser2.
559 config ETRAX_SERIAL_PORT2_NO_DMA_IN
560 bool "Ser2 uses no DMA for input"
562 Do not use DMA for ser2 input.
564 config ETRAX_SERIAL_PORT2_DMA3_IN
565 bool "Ser2 uses DMA3 for input"
566 depends on ETRAXFS || ETRAX_ARCH_V10
568 Enables the DMA3 input channel for ser2 (ttyS2).
569 If you do not enable DMA, an interrupt for each character will be
570 used when receiving data.
571 Normally you want to use DMA, unless you use the DMA channel for
574 config ETRAX_SERIAL_PORT2_DMA7_IN
575 bool "Ser2 uses DMA7 for input"
576 depends on CRIS_MACH_ARTPEC3
578 Enables the DMA7 input channel for ser2 (ttyS2).
579 If you do not enable DMA, an interrupt for each character will be
580 used when receiving data.
581 Normally you want to use DMA, unless you use the DMA channel for
587 prompt "Ser3 DMA in channel"
588 depends on ETRAX_SERIAL_PORT3
589 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
590 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
592 What DMA channel to use for ser3.
594 config ETRAX_SERIAL_PORT3_NO_DMA_IN
595 bool "Ser3 uses no DMA for input"
597 Do not use DMA for ser3 input.
599 config ETRAX_SERIAL_PORT3_DMA5_IN
600 depends on ETRAX_ARCH_V10
603 config ETRAX_SERIAL_PORT3_DMA9_IN
604 bool "Ser3 uses DMA9 for input"
607 Enables the DMA9 input channel for ser3 (ttyS3).
608 If you do not enable DMA, an interrupt for each character will be
609 used when receiving data.
610 Normally you want to use DMA, unless you use the DMA channel for
613 config ETRAX_SERIAL_PORT3_DMA3_IN
614 bool "Ser3 uses DMA3 for input"
615 depends on CRIS_MACH_ARTPEC3
617 Enables the DMA3 input channel for ser3 (ttyS3).
618 If you do not enable DMA, an interrupt for each character will be
619 used when receiving data.
620 Normally you want to use DMA, unless you use the DMA channel for
626 prompt "Ser3 DMA out channel"
627 depends on ETRAX_SERIAL_PORT3
628 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
629 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
631 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
632 bool "Ser3 uses no DMA for output"
634 Do not use DMA for ser3 output.
636 config ETRAX_SERIAL_PORT3_DMA4_OUT
637 depends on ETRAX_ARCH_V10
640 config ETRAX_SERIAL_PORT3_DMA8_OUT
641 bool "Ser3 uses DMA8 for output"
644 Enables the DMA8 output channel for ser3 (ttyS3).
645 If you do not enable DMA, an interrupt for each character will be
646 used when transmitting data.
647 Normally you want to use DMA, unless you use the DMA channel for
650 config ETRAX_SERIAL_PORT3_DMA2_OUT
651 bool "Ser3 uses DMA2 for output"
652 depends on CRIS_MACH_ARTPEC3
654 Enables the DMA2 output channel for ser3 (ttyS3).
655 If you do not enable DMA, an interrupt for each character will be
656 used when transmitting data.
657 Normally you want to use DMA, unless you use the DMA channel for
664 source "drivers/base/Kconfig"
666 # standard linux drivers
667 source "drivers/mtd/Kconfig"
669 source "drivers/parport/Kconfig"
671 source "drivers/pnp/Kconfig"
673 source "drivers/block/Kconfig"
675 source "drivers/ide/Kconfig"
677 source "drivers/net/Kconfig"
679 source "drivers/i2c/Kconfig"
681 source "drivers/rtc/Kconfig"
684 # input before char - char/joystick depends on it. As does USB.
686 source "drivers/input/Kconfig"
688 source "drivers/char/Kconfig"
692 source "drivers/usb/Kconfig"
694 source "drivers/uwb/Kconfig"
696 source "drivers/staging/Kconfig"
698 source "arch/cris/Kconfig.debug"
700 source "security/Kconfig"
702 source "crypto/Kconfig"