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 ARCH_USES_GETTIMEOFFSET
33 config ARCH_HAS_ILOG2_U32
37 config ARCH_HAS_ILOG2_U64
41 config GENERIC_FIND_NEXT_BIT
45 config GENERIC_HWEIGHT
49 config GENERIC_CALIBRATE_DELAY
56 config FORCE_MAX_ZONEORDER
71 source "kernel/Kconfig.freezer"
75 source "fs/Kconfig.binfmt"
77 config GENERIC_HARDIRQS
82 string "Kernel command line"
83 default "root=/dev/mtdblock3"
85 Pass additional commands to the kernel.
88 bool "Enable ETRAX watchdog"
90 Enable the built-in watchdog timer support on ETRAX based embedded
93 config ETRAX_WATCHDOG_NICE_DOGGY
94 bool "Disable watchdog during Oops printouts"
95 depends on ETRAX_WATCHDOG
97 By enabling this you make sure that the watchdog does not bite while
98 printing oopses. Recommended for development systems but not for
101 config ETRAX_FAST_TIMER
102 bool "Enable ETRAX fast timer API"
104 This options enables the API to a fast timer implementation using
105 timer1 to get sub jiffie resolution timers (primarily one-shot
107 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
109 config ETRAX_KMALLOCED_MODULES
110 bool "Enable module allocation with kmalloc"
112 Enable module allocation with kmalloc instead of vmalloc.
115 bool "Enable reboot at out of memory"
117 source "kernel/Kconfig.preempt"
123 menu "Hardware setup"
126 prompt "Processor type"
130 bool "ETRAX-100LX-v1"
132 Support version 1 of the ETRAX 100LX.
135 bool "ETRAX-100LX-v2"
137 Support version 2 of the ETRAX 100LX.
140 bool "ETRAX-100LX-for-xsim-simulator"
142 Support the xsim ETRAX Simulator.
149 config CRIS_MACH_ARTPEC3
152 Support Axis ARTPEC-3.
159 Setup hardware to be run in the VCS simulator.
161 config ETRAX_ARCH_V10
163 default y if ETRAX100LX || ETRAX100LX_V2
164 default n if !(ETRAX100LX || ETRAX100LX_V2)
166 config ETRAX_ARCH_V32
168 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
169 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
171 config ETRAX_DRAM_SIZE
172 int "DRAM size (dec, in MB)"
175 Size of DRAM (decimal in MB) typically 2, 8 or 16.
177 config ETRAX_VMEM_SIZE
178 int "Video memory size (dec, in MB)"
179 depends on ETRAX_ARCH_V32 && !ETRAXFS
180 default 8 if !ETRAXFS
182 Size of Video accessible memory (decimal, in MB).
184 config ETRAX_FLASH_BUSWIDTH
185 int "Buswidth of NOR flash in bytes"
188 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
190 config ETRAX_NANDFLASH_BUSWIDTH
191 int "Buswidth of NAND flash in bytes"
194 Width in bytes of the NAND flash (1 or 2).
196 config ETRAX_FLASH1_SIZE
197 int "FLASH1 size (dec, in MB. 0 = Unknown)"
201 prompt "Product debug-port"
202 default ETRAX_DEBUG_PORT0
204 config ETRAX_DEBUG_PORT0
207 Choose a serial port for the ETRAX debug console. Default to
210 config ETRAX_DEBUG_PORT1
213 Use serial port 1 for the console.
215 config ETRAX_DEBUG_PORT2
218 Use serial port 2 for the console.
220 config ETRAX_DEBUG_PORT3
223 Use serial port 3 for the console.
225 config ETRAX_DEBUG_PORT_NULL
228 Disable serial-port debugging.
233 prompt "Kernel GDB port"
234 depends on ETRAX_KGDB
235 default ETRAX_KGDB_PORT0
237 Choose a serial port for kernel debugging. NOTE: This port should
238 not be enabled under Drivers for built-in interfaces (as it has its
239 own initialization code) and should not be the same as the debug port.
241 config ETRAX_KGDB_PORT0
244 Use serial port 0 for kernel debugging.
246 config ETRAX_KGDB_PORT1
249 Use serial port 1 for kernel debugging.
251 config ETRAX_KGDB_PORT2
254 Use serial port 2 for kernel debugging.
256 config ETRAX_KGDB_PORT3
259 Use serial port 3 for kernel debugging.
263 source arch/cris/arch-v10/Kconfig
264 source arch/cris/arch-v32/Kconfig
270 # bring in ETRAX built-in drivers
271 menu "Drivers for built-in interfaces"
272 source arch/cris/arch-v10/drivers/Kconfig
273 source arch/cris/arch-v32/drivers/Kconfig
275 config ETRAX_AXISFLASHMAP
276 bool "Axis flash-map support"
279 select MTD_CFI_AMDSTD
280 select MTD_JEDECPROBE if ETRAX_ARCH_V32
283 select MTD_PARTITIONS
285 select MTD_COMPLEX_MAPPINGS
287 This option enables MTD mapping of flash devices. Needed to use
288 flash memories. If unsure, say Y.
291 bool "Real Time Clock support"
294 Enables drivers for the Real-Time Clock battery-backed chips on
295 some products. The kernel reads the time when booting, and
296 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
297 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
298 device. You can check the time with cat /proc/rtc, but
299 normal time reading should be done using libc function time and
305 default ETRAX_PCF8563 if ETRAX_ARCH_V32
306 default ETRAX_DS1302 if ETRAX_ARCH_V10
309 depends on ETRAX_ARCH_V10
312 Enables the driver for the DS1302 Real-Time Clock battery-backed
313 chip on some products.
318 Enables the driver for the PCF8563 Real-Time Clock battery-backed
319 chip on some products.
323 config ETRAX_SYNCHRONOUS_SERIAL
324 bool "Synchronous serial-port support"
326 Select this to enable the synchronous serial port driver.
328 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
329 bool "Synchronous serial port 0 enabled"
330 depends on ETRAX_SYNCHRONOUS_SERIAL
332 Enabled synchronous serial port 0.
334 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
335 bool "Enable DMA on synchronous serial port 0."
336 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
338 A synchronous serial port can run in manual or DMA mode.
339 Selecting this option will make it run in DMA mode.
341 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
342 bool "Synchronous serial port 1 enabled"
343 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
345 Enabled synchronous serial port 1.
347 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
348 bool "Enable DMA on synchronous serial port 1."
349 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
351 A synchronous serial port can run in manual or DMA mode.
352 Selecting this option will make it run in DMA mode.
355 prompt "Network LED behavior"
356 depends on ETRAX_ETHERNET
357 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
359 config ETRAX_NETWORK_LED_ON_WHEN_LINK
360 bool "LED_on_when_link"
362 Selecting LED_on_when_link will light the LED when there is a
363 connection and will flash off when there is activity.
365 Selecting LED_on_when_activity will light the LED only when
368 This setting will also affect the behaviour of other activity LEDs
371 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
372 bool "LED_on_when_activity"
374 Selecting LED_on_when_link will light the LED when there is a
375 connection and will flash off when there is activity.
377 Selecting LED_on_when_activity will light the LED only when
380 This setting will also affect the behaviour of other activity LEDs
386 prompt "Ser0 DMA out channel"
387 depends on ETRAX_SERIAL_PORT0
388 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
389 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
391 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
392 bool "Ser0 uses no DMA for output"
394 Do not use DMA for ser0 output.
396 config ETRAX_SERIAL_PORT0_DMA6_OUT
397 bool "Ser0 uses DMA6 for output"
400 Enables the DMA6 output channel for ser0 (ttyS0).
401 If you do not enable DMA, an interrupt for each character will be
402 used when transmitting data.
403 Normally you want to use DMA, unless you use the DMA channel for
406 config ETRAX_SERIAL_PORT0_DMA0_OUT
407 bool "Ser0 uses DMA0 for output"
408 depends on CRIS_MACH_ARTPEC3
410 Enables the DMA0 output channel for ser0 (ttyS0).
411 If you do not enable DMA, an interrupt for each character will be
412 used when transmitting data.
413 Normally you want to use DMA, unless you use the DMA channel for
419 prompt "Ser0 DMA in channel "
420 depends on ETRAX_SERIAL_PORT0
421 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
422 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
424 What DMA channel to use for ser0.
426 config ETRAX_SERIAL_PORT0_NO_DMA_IN
427 bool "Ser0 uses no DMA for input"
429 Do not use DMA for ser0 input.
431 config ETRAX_SERIAL_PORT0_DMA7_IN
432 bool "Ser0 uses DMA7 for input"
435 Enables the DMA7 input channel for ser0 (ttyS0).
436 If you do not enable DMA, an interrupt for each character will be
437 used when receiving data.
438 Normally you want to use DMA, unless you use the DMA channel for
441 config ETRAX_SERIAL_PORT0_DMA1_IN
442 bool "Ser0 uses DMA1 for input"
443 depends on CRIS_MACH_ARTPEC3
445 Enables the DMA1 input channel for ser0 (ttyS0).
446 If you do not enable DMA, an interrupt for each character will be
447 used when receiving data.
448 Normally you want to use DMA, unless you use the DMA channel for
454 prompt "Ser1 DMA in channel "
455 depends on ETRAX_SERIAL_PORT1
456 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
457 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
459 What DMA channel to use for ser1.
461 config ETRAX_SERIAL_PORT1_NO_DMA_IN
462 bool "Ser1 uses no DMA for input"
464 Do not use DMA for ser1 input.
466 config ETRAX_SERIAL_PORT1_DMA5_IN
467 bool "Ser1 uses DMA5 for input"
468 depends on ETRAX_ARCH_V32
470 Enables the DMA5 input channel for ser1 (ttyS1).
471 If you do not enable DMA, an interrupt for each character will be
472 used when receiving data.
473 Normally you want this on, unless you use the DMA channel for
476 config ETRAX_SERIAL_PORT1_DMA9_IN
477 depends on ETRAX_ARCH_V10
478 bool "Ser1 uses DMA9 for input"
484 prompt "Ser1 DMA out channel"
485 depends on ETRAX_SERIAL_PORT1
486 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
487 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
489 What DMA channel to use for ser1.
491 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
492 bool "Ser1 uses no DMA for output"
494 Do not use DMA for ser1 output.
496 config ETRAX_SERIAL_PORT1_DMA8_OUT
497 depends on ETRAX_ARCH_V10
498 bool "Ser1 uses DMA8 for output"
500 config ETRAX_SERIAL_PORT1_DMA4_OUT
501 depends on ETRAX_ARCH_V32
502 bool "Ser1 uses DMA4 for output"
504 Enables the DMA4 output channel for ser1 (ttyS1).
505 If you do not enable DMA, an interrupt for each character will be
506 used when transmitting data.
507 Normally you want this on, unless you use the DMA channel for
513 prompt "Ser2 DMA out channel"
514 depends on ETRAX_SERIAL_PORT2
515 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
516 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
518 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
519 bool "Ser2 uses no DMA for output"
521 Do not use DMA for ser2 output.
523 config ETRAX_SERIAL_PORT2_DMA2_OUT
524 bool "Ser2 uses DMA2 for output"
525 depends on ETRAXFS || ETRAX_ARCH_V10
527 Enables the DMA2 output channel for ser2 (ttyS2).
528 If you do not enable DMA, an interrupt for each character will be
529 used when transmitting data.
530 Normally you want to use DMA, unless you use the DMA channel for
533 config ETRAX_SERIAL_PORT2_DMA6_OUT
534 bool "Ser2 uses DMA6 for output"
535 depends on CRIS_MACH_ARTPEC3
537 Enables the DMA6 output channel for ser2 (ttyS2).
538 If you do not enable DMA, an interrupt for each character will be
539 used when transmitting data.
540 Normally you want to use DMA, unless you use the DMA channel for
546 prompt "Ser2 DMA in channel"
547 depends on ETRAX_SERIAL_PORT2
548 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
549 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
551 What DMA channel to use for ser2.
553 config ETRAX_SERIAL_PORT2_NO_DMA_IN
554 bool "Ser2 uses no DMA for input"
556 Do not use DMA for ser2 input.
558 config ETRAX_SERIAL_PORT2_DMA3_IN
559 bool "Ser2 uses DMA3 for input"
560 depends on ETRAXFS || ETRAX_ARCH_V10
562 Enables the DMA3 input channel for ser2 (ttyS2).
563 If you do not enable DMA, an interrupt for each character will be
564 used when receiving data.
565 Normally you want to use DMA, unless you use the DMA channel for
568 config ETRAX_SERIAL_PORT2_DMA7_IN
569 bool "Ser2 uses DMA7 for input"
570 depends on CRIS_MACH_ARTPEC3
572 Enables the DMA7 input channel for ser2 (ttyS2).
573 If you do not enable DMA, an interrupt for each character will be
574 used when receiving data.
575 Normally you want to use DMA, unless you use the DMA channel for
581 prompt "Ser3 DMA in channel"
582 depends on ETRAX_SERIAL_PORT3
583 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
584 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
586 What DMA channel to use for ser3.
588 config ETRAX_SERIAL_PORT3_NO_DMA_IN
589 bool "Ser3 uses no DMA for input"
591 Do not use DMA for ser3 input.
593 config ETRAX_SERIAL_PORT3_DMA5_IN
594 depends on ETRAX_ARCH_V10
597 config ETRAX_SERIAL_PORT3_DMA9_IN
598 bool "Ser3 uses DMA9 for input"
601 Enables the DMA9 input channel for ser3 (ttyS3).
602 If you do not enable DMA, an interrupt for each character will be
603 used when receiving data.
604 Normally you want to use DMA, unless you use the DMA channel for
607 config ETRAX_SERIAL_PORT3_DMA3_IN
608 bool "Ser3 uses DMA3 for input"
609 depends on CRIS_MACH_ARTPEC3
611 Enables the DMA3 input channel for ser3 (ttyS3).
612 If you do not enable DMA, an interrupt for each character will be
613 used when receiving data.
614 Normally you want to use DMA, unless you use the DMA channel for
620 prompt "Ser3 DMA out channel"
621 depends on ETRAX_SERIAL_PORT3
622 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
623 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
625 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
626 bool "Ser3 uses no DMA for output"
628 Do not use DMA for ser3 output.
630 config ETRAX_SERIAL_PORT3_DMA4_OUT
631 depends on ETRAX_ARCH_V10
634 config ETRAX_SERIAL_PORT3_DMA8_OUT
635 bool "Ser3 uses DMA8 for output"
638 Enables the DMA8 output channel for ser3 (ttyS3).
639 If you do not enable DMA, an interrupt for each character will be
640 used when transmitting data.
641 Normally you want to use DMA, unless you use the DMA channel for
644 config ETRAX_SERIAL_PORT3_DMA2_OUT
645 bool "Ser3 uses DMA2 for output"
646 depends on CRIS_MACH_ARTPEC3
648 Enables the DMA2 output channel for ser3 (ttyS3).
649 If you do not enable DMA, an interrupt for each character will be
650 used when transmitting data.
651 Normally you want to use DMA, unless you use the DMA channel for
658 source "drivers/base/Kconfig"
660 # standard linux drivers
661 source "drivers/mtd/Kconfig"
663 source "drivers/parport/Kconfig"
665 source "drivers/pnp/Kconfig"
667 source "drivers/block/Kconfig"
669 source "drivers/ide/Kconfig"
671 source "drivers/net/Kconfig"
673 source "drivers/i2c/Kconfig"
675 source "drivers/rtc/Kconfig"
678 # input before char - char/joystick depends on it. As does USB.
680 source "drivers/input/Kconfig"
682 source "drivers/char/Kconfig"
686 source "drivers/usb/Kconfig"
688 source "drivers/uwb/Kconfig"
690 source "drivers/staging/Kconfig"
692 source "arch/cris/Kconfig.debug"
694 source "security/Kconfig"
696 source "crypto/Kconfig"