9 config RWSEM_GENERIC_SPINLOCK
13 config RWSEM_XCHGADD_ALGORITHM
16 config GENERIC_CMOS_UPDATE
19 config ARCH_USES_GETTIMEOFFSET
26 config ARCH_HAS_ILOG2_U32
30 config ARCH_HAS_ILOG2_U64
34 config GENERIC_FIND_NEXT_BIT
38 config GENERIC_HWEIGHT
42 config GENERIC_CALIBRATE_DELAY
49 config FORCE_MAX_ZONEORDER
57 select HAVE_GENERIC_HARDIRQS
58 select GENERIC_HARDIRQS_NO_DEPRECATED
59 select GENERIC_IRQ_SHOW
67 source "kernel/Kconfig.freezer"
71 source "fs/Kconfig.binfmt"
74 string "Kernel command line"
75 default "root=/dev/mtdblock3"
77 Pass additional commands to the kernel.
80 bool "Enable ETRAX watchdog"
82 Enable the built-in watchdog timer support on ETRAX based embedded
85 config ETRAX_WATCHDOG_NICE_DOGGY
86 bool "Disable watchdog during Oops printouts"
87 depends on ETRAX_WATCHDOG
89 By enabling this you make sure that the watchdog does not bite while
90 printing oopses. Recommended for development systems but not for
93 config ETRAX_FAST_TIMER
94 bool "Enable ETRAX fast timer API"
96 This options enables the API to a fast timer implementation using
97 timer1 to get sub jiffie resolution timers (primarily one-shot
99 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
101 config ETRAX_KMALLOCED_MODULES
102 bool "Enable module allocation with kmalloc"
104 Enable module allocation with kmalloc instead of vmalloc.
107 bool "Enable reboot at out of memory"
109 source "kernel/Kconfig.preempt"
115 menu "Hardware setup"
118 prompt "Processor type"
122 bool "ETRAX-100LX-v1"
123 select ARCH_USES_GETTIMEOFFSET
125 Support version 1 of the ETRAX 100LX.
128 bool "ETRAX-100LX-v2"
129 select ARCH_USES_GETTIMEOFFSET
131 Support version 2 of the ETRAX 100LX.
134 bool "ETRAX-100LX-for-xsim-simulator"
135 select ARCH_USES_GETTIMEOFFSET
137 Support the xsim ETRAX Simulator.
144 config CRIS_MACH_ARTPEC3
147 Support Axis ARTPEC-3.
154 Setup hardware to be run in the VCS simulator.
156 config ETRAX_ARCH_V10
158 default y if ETRAX100LX || ETRAX100LX_V2
159 default n if !(ETRAX100LX || ETRAX100LX_V2)
161 config ETRAX_ARCH_V32
163 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
164 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
166 config ETRAX_DRAM_SIZE
167 int "DRAM size (dec, in MB)"
170 Size of DRAM (decimal in MB) typically 2, 8 or 16.
172 config ETRAX_VMEM_SIZE
173 int "Video memory size (dec, in MB)"
174 depends on ETRAX_ARCH_V32 && !ETRAXFS
175 default 8 if !ETRAXFS
177 Size of Video accessible memory (decimal, in MB).
179 config ETRAX_FLASH_BUSWIDTH
180 int "Buswidth of NOR flash in bytes"
183 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
185 config ETRAX_NANDFLASH_BUSWIDTH
186 int "Buswidth of NAND flash in bytes"
189 Width in bytes of the NAND flash (1 or 2).
191 config ETRAX_FLASH1_SIZE
192 int "FLASH1 size (dec, in MB. 0 = Unknown)"
196 prompt "Product debug-port"
197 default ETRAX_DEBUG_PORT0
199 config ETRAX_DEBUG_PORT0
202 Choose a serial port for the ETRAX debug console. Default to
205 config ETRAX_DEBUG_PORT1
208 Use serial port 1 for the console.
210 config ETRAX_DEBUG_PORT2
213 Use serial port 2 for the console.
215 config ETRAX_DEBUG_PORT3
218 Use serial port 3 for the console.
220 config ETRAX_DEBUG_PORT_NULL
223 Disable serial-port debugging.
228 prompt "Kernel GDB port"
229 depends on ETRAX_KGDB
230 default ETRAX_KGDB_PORT0
232 Choose a serial port for kernel debugging. NOTE: This port should
233 not be enabled under Drivers for built-in interfaces (as it has its
234 own initialization code) and should not be the same as the debug port.
236 config ETRAX_KGDB_PORT0
239 Use serial port 0 for kernel debugging.
241 config ETRAX_KGDB_PORT1
244 Use serial port 1 for kernel debugging.
246 config ETRAX_KGDB_PORT2
249 Use serial port 2 for kernel debugging.
251 config ETRAX_KGDB_PORT3
254 Use serial port 3 for kernel debugging.
258 source arch/cris/arch-v10/Kconfig
259 source arch/cris/arch-v32/Kconfig
265 # bring in ETRAX built-in drivers
266 menu "Drivers for built-in interfaces"
267 source arch/cris/arch-v10/drivers/Kconfig
268 source arch/cris/arch-v32/drivers/Kconfig
270 config ETRAX_AXISFLASHMAP
271 bool "Axis flash-map support"
274 select MTD_CFI_AMDSTD
275 select MTD_JEDECPROBE if ETRAX_ARCH_V32
278 select MTD_PARTITIONS
279 select MTD_COMPLEX_MAPPINGS
281 This option enables MTD mapping of flash devices. Needed to use
282 flash memories. If unsure, say Y.
285 bool "Real Time Clock support"
288 Enables drivers for the Real-Time Clock battery-backed chips on
289 some products. The kernel reads the time when booting, and
290 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
291 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
292 device. You can check the time with cat /proc/rtc, but
293 normal time reading should be done using libc function time and
302 depends on ETRAX_ARCH_V10
305 Enables the driver for the DS1302 Real-Time Clock battery-backed
306 chip on some products.
311 Enables the driver for the PCF8563 Real-Time Clock battery-backed
312 chip on some products.
316 config ETRAX_SYNCHRONOUS_SERIAL
317 bool "Synchronous serial-port support"
319 Select this to enable the synchronous serial port driver.
321 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
322 bool "Synchronous serial port 0 enabled"
323 depends on ETRAX_SYNCHRONOUS_SERIAL
325 Enabled synchronous serial port 0.
327 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
328 bool "Enable DMA on synchronous serial port 0."
329 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
331 A synchronous serial port can run in manual or DMA mode.
332 Selecting this option will make it run in DMA mode.
334 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
335 bool "Synchronous serial port 1 enabled"
336 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
338 Enabled synchronous serial port 1.
340 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
341 bool "Enable DMA on synchronous serial port 1."
342 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
344 A synchronous serial port can run in manual or DMA mode.
345 Selecting this option will make it run in DMA mode.
348 prompt "Network LED behavior"
349 depends on ETRAX_ETHERNET
350 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
352 config ETRAX_NETWORK_LED_ON_WHEN_LINK
353 bool "LED_on_when_link"
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
364 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
365 bool "LED_on_when_activity"
367 Selecting LED_on_when_link will light the LED when there is a
368 connection and will flash off when there is activity.
370 Selecting LED_on_when_activity will light the LED only when
373 This setting will also affect the behaviour of other activity LEDs
379 prompt "Ser0 DMA out channel"
380 depends on ETRAX_SERIAL_PORT0
381 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
382 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
384 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
385 bool "Ser0 uses no DMA for output"
387 Do not use DMA for ser0 output.
389 config ETRAX_SERIAL_PORT0_DMA6_OUT
390 bool "Ser0 uses DMA6 for output"
393 Enables the DMA6 output channel for ser0 (ttyS0).
394 If you do not enable DMA, an interrupt for each character will be
395 used when transmitting data.
396 Normally you want to use DMA, unless you use the DMA channel for
399 config ETRAX_SERIAL_PORT0_DMA0_OUT
400 bool "Ser0 uses DMA0 for output"
401 depends on CRIS_MACH_ARTPEC3
403 Enables the DMA0 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
412 prompt "Ser0 DMA in channel "
413 depends on ETRAX_SERIAL_PORT0
414 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
415 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
417 What DMA channel to use for ser0.
419 config ETRAX_SERIAL_PORT0_NO_DMA_IN
420 bool "Ser0 uses no DMA for input"
422 Do not use DMA for ser0 input.
424 config ETRAX_SERIAL_PORT0_DMA7_IN
425 bool "Ser0 uses DMA7 for input"
428 Enables the DMA7 input channel for ser0 (ttyS0).
429 If you do not enable DMA, an interrupt for each character will be
430 used when receiving data.
431 Normally you want to use DMA, unless you use the DMA channel for
434 config ETRAX_SERIAL_PORT0_DMA1_IN
435 bool "Ser0 uses DMA1 for input"
436 depends on CRIS_MACH_ARTPEC3
438 Enables the DMA1 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
447 prompt "Ser1 DMA in channel "
448 depends on ETRAX_SERIAL_PORT1
449 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
450 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
452 What DMA channel to use for ser1.
454 config ETRAX_SERIAL_PORT1_NO_DMA_IN
455 bool "Ser1 uses no DMA for input"
457 Do not use DMA for ser1 input.
459 config ETRAX_SERIAL_PORT1_DMA5_IN
460 bool "Ser1 uses DMA5 for input"
461 depends on ETRAX_ARCH_V32
463 Enables the DMA5 input channel for ser1 (ttyS1).
464 If you do not enable DMA, an interrupt for each character will be
465 used when receiving data.
466 Normally you want this on, unless you use the DMA channel for
469 config ETRAX_SERIAL_PORT1_DMA9_IN
470 depends on ETRAX_ARCH_V10
471 bool "Ser1 uses DMA9 for input"
477 prompt "Ser1 DMA out channel"
478 depends on ETRAX_SERIAL_PORT1
479 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
480 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
482 What DMA channel to use for ser1.
484 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
485 bool "Ser1 uses no DMA for output"
487 Do not use DMA for ser1 output.
489 config ETRAX_SERIAL_PORT1_DMA8_OUT
490 depends on ETRAX_ARCH_V10
491 bool "Ser1 uses DMA8 for output"
493 config ETRAX_SERIAL_PORT1_DMA4_OUT
494 depends on ETRAX_ARCH_V32
495 bool "Ser1 uses DMA4 for output"
497 Enables the DMA4 output channel for ser1 (ttyS1).
498 If you do not enable DMA, an interrupt for each character will be
499 used when transmitting data.
500 Normally you want this on, unless you use the DMA channel for
506 prompt "Ser2 DMA out channel"
507 depends on ETRAX_SERIAL_PORT2
508 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
509 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
511 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
512 bool "Ser2 uses no DMA for output"
514 Do not use DMA for ser2 output.
516 config ETRAX_SERIAL_PORT2_DMA2_OUT
517 bool "Ser2 uses DMA2 for output"
518 depends on ETRAXFS || ETRAX_ARCH_V10
520 Enables the DMA2 output channel for ser2 (ttyS2).
521 If you do not enable DMA, an interrupt for each character will be
522 used when transmitting data.
523 Normally you want to use DMA, unless you use the DMA channel for
526 config ETRAX_SERIAL_PORT2_DMA6_OUT
527 bool "Ser2 uses DMA6 for output"
528 depends on CRIS_MACH_ARTPEC3
530 Enables the DMA6 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
539 prompt "Ser2 DMA in channel"
540 depends on ETRAX_SERIAL_PORT2
541 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
542 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
544 What DMA channel to use for ser2.
546 config ETRAX_SERIAL_PORT2_NO_DMA_IN
547 bool "Ser2 uses no DMA for input"
549 Do not use DMA for ser2 input.
551 config ETRAX_SERIAL_PORT2_DMA3_IN
552 bool "Ser2 uses DMA3 for input"
553 depends on ETRAXFS || ETRAX_ARCH_V10
555 Enables the DMA3 input channel for ser2 (ttyS2).
556 If you do not enable DMA, an interrupt for each character will be
557 used when receiving data.
558 Normally you want to use DMA, unless you use the DMA channel for
561 config ETRAX_SERIAL_PORT2_DMA7_IN
562 bool "Ser2 uses DMA7 for input"
563 depends on CRIS_MACH_ARTPEC3
565 Enables the DMA7 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
574 prompt "Ser3 DMA in channel"
575 depends on ETRAX_SERIAL_PORT3
576 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
577 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
579 What DMA channel to use for ser3.
581 config ETRAX_SERIAL_PORT3_NO_DMA_IN
582 bool "Ser3 uses no DMA for input"
584 Do not use DMA for ser3 input.
586 config ETRAX_SERIAL_PORT3_DMA5_IN
587 depends on ETRAX_ARCH_V10
590 config ETRAX_SERIAL_PORT3_DMA9_IN
591 bool "Ser3 uses DMA9 for input"
594 Enables the DMA9 input channel for ser3 (ttyS3).
595 If you do not enable DMA, an interrupt for each character will be
596 used when receiving data.
597 Normally you want to use DMA, unless you use the DMA channel for
600 config ETRAX_SERIAL_PORT3_DMA3_IN
601 bool "Ser3 uses DMA3 for input"
602 depends on CRIS_MACH_ARTPEC3
604 Enables the DMA3 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
613 prompt "Ser3 DMA out channel"
614 depends on ETRAX_SERIAL_PORT3
615 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
616 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
618 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
619 bool "Ser3 uses no DMA for output"
621 Do not use DMA for ser3 output.
623 config ETRAX_SERIAL_PORT3_DMA4_OUT
624 depends on ETRAX_ARCH_V10
627 config ETRAX_SERIAL_PORT3_DMA8_OUT
628 bool "Ser3 uses DMA8 for output"
631 Enables the DMA8 output channel for ser3 (ttyS3).
632 If you do not enable DMA, an interrupt for each character will be
633 used when transmitting data.
634 Normally you want to use DMA, unless you use the DMA channel for
637 config ETRAX_SERIAL_PORT3_DMA2_OUT
638 bool "Ser3 uses DMA2 for output"
639 depends on CRIS_MACH_ARTPEC3
641 Enables the DMA2 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
651 source "drivers/base/Kconfig"
653 # standard linux drivers
654 source "drivers/mtd/Kconfig"
656 source "drivers/parport/Kconfig"
658 source "drivers/pnp/Kconfig"
660 source "drivers/block/Kconfig"
662 source "drivers/ide/Kconfig"
664 source "drivers/net/Kconfig"
666 source "drivers/i2c/Kconfig"
668 source "drivers/rtc/Kconfig"
671 # input before char - char/joystick depends on it. As does USB.
673 source "drivers/input/Kconfig"
675 source "drivers/char/Kconfig"
679 source "drivers/usb/Kconfig"
681 source "drivers/uwb/Kconfig"
683 source "drivers/staging/Kconfig"
685 source "arch/cris/Kconfig.debug"
687 source "security/Kconfig"
689 source "crypto/Kconfig"