9 config RWSEM_GENERIC_SPINLOCK
13 config RWSEM_XCHGADD_ALGORITHM
16 config ARCH_HAS_ILOG2_U32
20 config ARCH_HAS_ILOG2_U64
24 config GENERIC_HWEIGHT
28 config GENERIC_CALIBRATE_DELAY
35 config FORCE_MAX_ZONEORDER
43 select GENERIC_ATOMIC64
44 select HAVE_GENERIC_HARDIRQS
45 select GENERIC_IRQ_SHOW
47 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
48 select GENERIC_CMOS_UPDATE
56 source "kernel/Kconfig.freezer"
60 source "fs/Kconfig.binfmt"
63 string "Kernel command line"
64 default "root=/dev/mtdblock3"
66 Pass additional commands to the kernel.
69 bool "Enable ETRAX watchdog"
71 Enable the built-in watchdog timer support on ETRAX based embedded
74 config ETRAX_WATCHDOG_NICE_DOGGY
75 bool "Disable watchdog during Oops printouts"
76 depends on ETRAX_WATCHDOG
78 By enabling this you make sure that the watchdog does not bite while
79 printing oopses. Recommended for development systems but not for
82 config ETRAX_FAST_TIMER
83 bool "Enable ETRAX fast timer API"
85 This options enables the API to a fast timer implementation using
86 timer1 to get sub jiffie resolution timers (primarily one-shot
88 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
90 config ETRAX_KMALLOCED_MODULES
91 bool "Enable module allocation with kmalloc"
93 Enable module allocation with kmalloc instead of vmalloc.
96 bool "Enable reboot at out of memory"
98 source "kernel/Kconfig.preempt"
104 menu "Hardware setup"
107 prompt "Processor type"
111 bool "ETRAX-100LX-v1"
112 select ARCH_USES_GETTIMEOFFSET
114 Support version 1 of the ETRAX 100LX.
117 bool "ETRAX-100LX-v2"
118 select ARCH_USES_GETTIMEOFFSET
120 Support version 2 of the ETRAX 100LX.
123 bool "ETRAX-100LX-for-xsim-simulator"
124 select ARCH_USES_GETTIMEOFFSET
126 Support the xsim ETRAX Simulator.
133 config CRIS_MACH_ARTPEC3
136 Support Axis ARTPEC-3.
143 Setup hardware to be run in the VCS simulator.
145 config ETRAX_ARCH_V10
147 default y if ETRAX100LX || ETRAX100LX_V2
148 default n if !(ETRAX100LX || ETRAX100LX_V2)
150 config ETRAX_ARCH_V32
152 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
153 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
155 config ETRAX_DRAM_SIZE
156 int "DRAM size (dec, in MB)"
159 Size of DRAM (decimal in MB) typically 2, 8 or 16.
161 config ETRAX_VMEM_SIZE
162 int "Video memory size (dec, in MB)"
163 depends on ETRAX_ARCH_V32 && !ETRAXFS
164 default 8 if !ETRAXFS
166 Size of Video accessible memory (decimal, in MB).
168 config ETRAX_FLASH_BUSWIDTH
169 int "Buswidth of NOR flash in bytes"
172 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
174 config ETRAX_NANDFLASH_BUSWIDTH
175 int "Buswidth of NAND flash in bytes"
178 Width in bytes of the NAND flash (1 or 2).
180 config ETRAX_FLASH1_SIZE
181 int "FLASH1 size (dec, in MB. 0 = Unknown)"
185 prompt "Product debug-port"
186 default ETRAX_DEBUG_PORT0
188 config ETRAX_DEBUG_PORT0
191 Choose a serial port for the ETRAX debug console. Default to
194 config ETRAX_DEBUG_PORT1
197 Use serial port 1 for the console.
199 config ETRAX_DEBUG_PORT2
202 Use serial port 2 for the console.
204 config ETRAX_DEBUG_PORT3
207 Use serial port 3 for the console.
209 config ETRAX_DEBUG_PORT_NULL
212 Disable serial-port debugging.
217 prompt "Kernel GDB port"
218 depends on ETRAX_KGDB
219 default ETRAX_KGDB_PORT0
221 Choose a serial port for kernel debugging. NOTE: This port should
222 not be enabled under Drivers for built-in interfaces (as it has its
223 own initialization code) and should not be the same as the debug port.
225 config ETRAX_KGDB_PORT0
228 Use serial port 0 for kernel debugging.
230 config ETRAX_KGDB_PORT1
233 Use serial port 1 for kernel debugging.
235 config ETRAX_KGDB_PORT2
238 Use serial port 2 for kernel debugging.
240 config ETRAX_KGDB_PORT3
243 Use serial port 3 for kernel debugging.
247 source arch/cris/arch-v10/Kconfig
248 source arch/cris/arch-v32/Kconfig
254 # bring in ETRAX built-in drivers
255 menu "Drivers for built-in interfaces"
256 source arch/cris/arch-v10/drivers/Kconfig
257 source arch/cris/arch-v32/drivers/Kconfig
259 config ETRAX_AXISFLASHMAP
260 bool "Axis flash-map support"
263 select MTD_CFI_AMDSTD
264 select MTD_JEDECPROBE if ETRAX_ARCH_V32
267 select MTD_COMPLEX_MAPPINGS
269 This option enables MTD mapping of flash devices. Needed to use
270 flash memories. If unsure, say Y.
273 bool "Real Time Clock support"
276 Enables drivers for the Real-Time Clock battery-backed chips on
277 some products. The kernel reads the time when booting, and
278 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
279 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
280 /dev/rtc device. You can check the time with cat /proc/rtc, but
281 normal time reading should be done using libc function time and
290 depends on ETRAX_ARCH_V10
293 Enables the driver for the DS1302 Real-Time Clock battery-backed
294 chip on some products.
299 Enables the driver for the PCF8563 Real-Time Clock battery-backed
300 chip on some products.
304 config ETRAX_SYNCHRONOUS_SERIAL
305 bool "Synchronous serial-port support"
307 Select this to enable the synchronous serial port driver.
309 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
310 bool "Synchronous serial port 0 enabled"
311 depends on ETRAX_SYNCHRONOUS_SERIAL
313 Enabled synchronous serial port 0.
315 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
316 bool "Enable DMA on synchronous serial port 0."
317 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
319 A synchronous serial port can run in manual or DMA mode.
320 Selecting this option will make it run in DMA mode.
322 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
323 bool "Synchronous serial port 1 enabled"
324 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
326 Enabled synchronous serial port 1.
328 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
329 bool "Enable DMA on synchronous serial port 1."
330 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
332 A synchronous serial port can run in manual or DMA mode.
333 Selecting this option will make it run in DMA mode.
336 prompt "Network LED behavior"
337 depends on ETRAX_ETHERNET
338 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
340 config ETRAX_NETWORK_LED_ON_WHEN_LINK
341 bool "LED_on_when_link"
343 Selecting LED_on_when_link will light the LED when there is a
344 connection and will flash off when there is activity.
346 Selecting LED_on_when_activity will light the LED only when
349 This setting will also affect the behaviour of other activity LEDs
352 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
353 bool "LED_on_when_activity"
355 Selecting LED_on_when_link will light the LED when there is a
356 connection and will flash off when there is activity.
358 Selecting LED_on_when_activity will light the LED only when
361 This setting will also affect the behaviour of other activity LEDs
367 prompt "Ser0 DMA out channel"
368 depends on ETRAX_SERIAL_PORT0
369 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
370 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
372 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
373 bool "Ser0 uses no DMA for output"
375 Do not use DMA for ser0 output.
377 config ETRAX_SERIAL_PORT0_DMA6_OUT
378 bool "Ser0 uses DMA6 for output"
381 Enables the DMA6 output channel for ser0 (ttyS0).
382 If you do not enable DMA, an interrupt for each character will be
383 used when transmitting data.
384 Normally you want to use DMA, unless you use the DMA channel for
387 config ETRAX_SERIAL_PORT0_DMA0_OUT
388 bool "Ser0 uses DMA0 for output"
389 depends on CRIS_MACH_ARTPEC3
391 Enables the DMA0 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
400 prompt "Ser0 DMA in channel "
401 depends on ETRAX_SERIAL_PORT0
402 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
403 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
405 What DMA channel to use for ser0.
407 config ETRAX_SERIAL_PORT0_NO_DMA_IN
408 bool "Ser0 uses no DMA for input"
410 Do not use DMA for ser0 input.
412 config ETRAX_SERIAL_PORT0_DMA7_IN
413 bool "Ser0 uses DMA7 for input"
416 Enables the DMA7 input channel for ser0 (ttyS0).
417 If you do not enable DMA, an interrupt for each character will be
418 used when receiving data.
419 Normally you want to use DMA, unless you use the DMA channel for
422 config ETRAX_SERIAL_PORT0_DMA1_IN
423 bool "Ser0 uses DMA1 for input"
424 depends on CRIS_MACH_ARTPEC3
426 Enables the DMA1 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
435 prompt "Ser1 DMA in channel "
436 depends on ETRAX_SERIAL_PORT1
437 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
438 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
440 What DMA channel to use for ser1.
442 config ETRAX_SERIAL_PORT1_NO_DMA_IN
443 bool "Ser1 uses no DMA for input"
445 Do not use DMA for ser1 input.
447 config ETRAX_SERIAL_PORT1_DMA5_IN
448 bool "Ser1 uses DMA5 for input"
449 depends on ETRAX_ARCH_V32
451 Enables the DMA5 input channel for ser1 (ttyS1).
452 If you do not enable DMA, an interrupt for each character will be
453 used when receiving data.
454 Normally you want this on, unless you use the DMA channel for
457 config ETRAX_SERIAL_PORT1_DMA9_IN
458 depends on ETRAX_ARCH_V10
459 bool "Ser1 uses DMA9 for input"
465 prompt "Ser1 DMA out channel"
466 depends on ETRAX_SERIAL_PORT1
467 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
468 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
470 What DMA channel to use for ser1.
472 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
473 bool "Ser1 uses no DMA for output"
475 Do not use DMA for ser1 output.
477 config ETRAX_SERIAL_PORT1_DMA8_OUT
478 depends on ETRAX_ARCH_V10
479 bool "Ser1 uses DMA8 for output"
481 config ETRAX_SERIAL_PORT1_DMA4_OUT
482 depends on ETRAX_ARCH_V32
483 bool "Ser1 uses DMA4 for output"
485 Enables the DMA4 output channel for ser1 (ttyS1).
486 If you do not enable DMA, an interrupt for each character will be
487 used when transmitting data.
488 Normally you want this on, unless you use the DMA channel for
494 prompt "Ser2 DMA out channel"
495 depends on ETRAX_SERIAL_PORT2
496 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
497 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
499 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
500 bool "Ser2 uses no DMA for output"
502 Do not use DMA for ser2 output.
504 config ETRAX_SERIAL_PORT2_DMA2_OUT
505 bool "Ser2 uses DMA2 for output"
506 depends on ETRAXFS || ETRAX_ARCH_V10
508 Enables the DMA2 output channel for ser2 (ttyS2).
509 If you do not enable DMA, an interrupt for each character will be
510 used when transmitting data.
511 Normally you want to use DMA, unless you use the DMA channel for
514 config ETRAX_SERIAL_PORT2_DMA6_OUT
515 bool "Ser2 uses DMA6 for output"
516 depends on CRIS_MACH_ARTPEC3
518 Enables the DMA6 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
527 prompt "Ser2 DMA in channel"
528 depends on ETRAX_SERIAL_PORT2
529 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
530 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
532 What DMA channel to use for ser2.
534 config ETRAX_SERIAL_PORT2_NO_DMA_IN
535 bool "Ser2 uses no DMA for input"
537 Do not use DMA for ser2 input.
539 config ETRAX_SERIAL_PORT2_DMA3_IN
540 bool "Ser2 uses DMA3 for input"
541 depends on ETRAXFS || ETRAX_ARCH_V10
543 Enables the DMA3 input channel for ser2 (ttyS2).
544 If you do not enable DMA, an interrupt for each character will be
545 used when receiving data.
546 Normally you want to use DMA, unless you use the DMA channel for
549 config ETRAX_SERIAL_PORT2_DMA7_IN
550 bool "Ser2 uses DMA7 for input"
551 depends on CRIS_MACH_ARTPEC3
553 Enables the DMA7 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
562 prompt "Ser3 DMA in channel"
563 depends on ETRAX_SERIAL_PORT3
564 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
565 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
567 What DMA channel to use for ser3.
569 config ETRAX_SERIAL_PORT3_NO_DMA_IN
570 bool "Ser3 uses no DMA for input"
572 Do not use DMA for ser3 input.
574 config ETRAX_SERIAL_PORT3_DMA5_IN
575 depends on ETRAX_ARCH_V10
578 config ETRAX_SERIAL_PORT3_DMA9_IN
579 bool "Ser3 uses DMA9 for input"
582 Enables the DMA9 input channel for ser3 (ttyS3).
583 If you do not enable DMA, an interrupt for each character will be
584 used when receiving data.
585 Normally you want to use DMA, unless you use the DMA channel for
588 config ETRAX_SERIAL_PORT3_DMA3_IN
589 bool "Ser3 uses DMA3 for input"
590 depends on CRIS_MACH_ARTPEC3
592 Enables the DMA3 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
601 prompt "Ser3 DMA out channel"
602 depends on ETRAX_SERIAL_PORT3
603 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
604 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
606 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
607 bool "Ser3 uses no DMA for output"
609 Do not use DMA for ser3 output.
611 config ETRAX_SERIAL_PORT3_DMA4_OUT
612 depends on ETRAX_ARCH_V10
615 config ETRAX_SERIAL_PORT3_DMA8_OUT
616 bool "Ser3 uses DMA8 for output"
619 Enables the DMA8 output channel for ser3 (ttyS3).
620 If you do not enable DMA, an interrupt for each character will be
621 used when transmitting data.
622 Normally you want to use DMA, unless you use the DMA channel for
625 config ETRAX_SERIAL_PORT3_DMA2_OUT
626 bool "Ser3 uses DMA2 for output"
627 depends on CRIS_MACH_ARTPEC3
629 Enables the DMA2 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
639 source "drivers/base/Kconfig"
641 # standard linux drivers
642 source "drivers/mtd/Kconfig"
644 source "drivers/parport/Kconfig"
646 source "drivers/pnp/Kconfig"
648 source "drivers/block/Kconfig"
650 source "drivers/ide/Kconfig"
652 source "drivers/net/Kconfig"
654 source "drivers/i2c/Kconfig"
656 source "drivers/rtc/Kconfig"
659 # input before char - char/joystick depends on it. As does USB.
661 source "drivers/input/Kconfig"
663 source "drivers/char/Kconfig"
667 source "drivers/usb/Kconfig"
669 source "drivers/uwb/Kconfig"
671 source "drivers/staging/Kconfig"
673 source "arch/cris/Kconfig.debug"
675 source "security/Kconfig"
677 source "crypto/Kconfig"