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
46 select ARCH_WANT_IPC_PARSE_VERSION
47 select GENERIC_IRQ_SHOW
49 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
50 select GENERIC_CMOS_UPDATE
58 source "kernel/Kconfig.freezer"
62 source "fs/Kconfig.binfmt"
65 string "Kernel command line"
66 default "root=/dev/mtdblock3"
68 Pass additional commands to the kernel.
71 bool "Enable ETRAX watchdog"
73 Enable the built-in watchdog timer support on ETRAX based embedded
76 config ETRAX_WATCHDOG_NICE_DOGGY
77 bool "Disable watchdog during Oops printouts"
78 depends on ETRAX_WATCHDOG
80 By enabling this you make sure that the watchdog does not bite while
81 printing oopses. Recommended for development systems but not for
84 config ETRAX_FAST_TIMER
85 bool "Enable ETRAX fast timer API"
87 This options enables the API to a fast timer implementation using
88 timer1 to get sub jiffie resolution timers (primarily one-shot
90 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
92 config ETRAX_KMALLOCED_MODULES
93 bool "Enable module allocation with kmalloc"
95 Enable module allocation with kmalloc instead of vmalloc.
98 bool "Enable reboot at out of memory"
100 source "kernel/Kconfig.preempt"
106 menu "Hardware setup"
109 prompt "Processor type"
113 bool "ETRAX-100LX-v1"
114 select ARCH_USES_GETTIMEOFFSET
116 Support version 1 of the ETRAX 100LX.
119 bool "ETRAX-100LX-v2"
120 select ARCH_USES_GETTIMEOFFSET
122 Support version 2 of the ETRAX 100LX.
125 bool "ETRAX-100LX-for-xsim-simulator"
126 select ARCH_USES_GETTIMEOFFSET
128 Support the xsim ETRAX Simulator.
135 config CRIS_MACH_ARTPEC3
138 Support Axis ARTPEC-3.
142 config ETRAX_ARCH_V10
144 default y if ETRAX100LX || ETRAX100LX_V2
145 default n if !(ETRAX100LX || ETRAX100LX_V2)
147 config ETRAX_ARCH_V32
149 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
150 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
152 config ETRAX_DRAM_SIZE
153 int "DRAM size (dec, in MB)"
156 Size of DRAM (decimal in MB) typically 2, 8 or 16.
158 config ETRAX_VMEM_SIZE
159 int "Video memory size (dec, in MB)"
160 depends on ETRAX_ARCH_V32 && !ETRAXFS
161 default 8 if !ETRAXFS
163 Size of Video accessible memory (decimal, in MB).
165 config ETRAX_FLASH_BUSWIDTH
166 int "Buswidth of NOR flash in bytes"
169 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
171 config ETRAX_NANDFLASH_BUSWIDTH
172 int "Buswidth of NAND flash in bytes"
175 Width in bytes of the NAND flash (1 or 2).
177 config ETRAX_FLASH1_SIZE
178 int "FLASH1 size (dec, in MB. 0 = Unknown)"
182 prompt "Product debug-port"
183 default ETRAX_DEBUG_PORT0
185 config ETRAX_DEBUG_PORT0
188 Choose a serial port for the ETRAX debug console. Default to
191 config ETRAX_DEBUG_PORT1
194 Use serial port 1 for the console.
196 config ETRAX_DEBUG_PORT2
199 Use serial port 2 for the console.
201 config ETRAX_DEBUG_PORT3
204 Use serial port 3 for the console.
206 config ETRAX_DEBUG_PORT_NULL
209 Disable serial-port debugging.
214 prompt "Kernel GDB port"
215 depends on ETRAX_KGDB
216 default ETRAX_KGDB_PORT0
218 Choose a serial port for kernel debugging. NOTE: This port should
219 not be enabled under Drivers for built-in interfaces (as it has its
220 own initialization code) and should not be the same as the debug port.
222 config ETRAX_KGDB_PORT0
225 Use serial port 0 for kernel debugging.
227 config ETRAX_KGDB_PORT1
230 Use serial port 1 for kernel debugging.
232 config ETRAX_KGDB_PORT2
235 Use serial port 2 for kernel debugging.
237 config ETRAX_KGDB_PORT3
240 Use serial port 3 for kernel debugging.
244 source arch/cris/arch-v10/Kconfig
245 source arch/cris/arch-v32/Kconfig
251 # bring in ETRAX built-in drivers
252 menu "Drivers for built-in interfaces"
253 source arch/cris/arch-v10/drivers/Kconfig
254 source arch/cris/arch-v32/drivers/Kconfig
256 config ETRAX_AXISFLASHMAP
257 bool "Axis flash-map support"
260 select MTD_CFI_AMDSTD
261 select MTD_JEDECPROBE if ETRAX_ARCH_V32
264 select MTD_COMPLEX_MAPPINGS
266 This option enables MTD mapping of flash devices. Needed to use
267 flash memories. If unsure, say Y.
270 bool "Real Time Clock support"
273 Enables drivers for the Real-Time Clock battery-backed chips on
274 some products. The kernel reads the time when booting, and
275 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
276 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
277 /dev/rtc device. You can check the time with cat /proc/rtc, but
278 normal time reading should be done using libc function time and
287 depends on ETRAX_ARCH_V10
290 Enables the driver for the DS1302 Real-Time Clock battery-backed
291 chip on some products.
296 Enables the driver for the PCF8563 Real-Time Clock battery-backed
297 chip on some products.
301 config ETRAX_SYNCHRONOUS_SERIAL
302 bool "Synchronous serial-port support"
304 Select this to enable the synchronous serial port driver.
306 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
307 bool "Synchronous serial port 0 enabled"
308 depends on ETRAX_SYNCHRONOUS_SERIAL
310 Enabled synchronous serial port 0.
312 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
313 bool "Enable DMA on synchronous serial port 0."
314 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
316 A synchronous serial port can run in manual or DMA mode.
317 Selecting this option will make it run in DMA mode.
319 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
320 bool "Synchronous serial port 1 enabled"
321 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
323 Enabled synchronous serial port 1.
325 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
326 bool "Enable DMA on synchronous serial port 1."
327 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
329 A synchronous serial port can run in manual or DMA mode.
330 Selecting this option will make it run in DMA mode.
333 prompt "Network LED behavior"
334 depends on ETRAX_ETHERNET
335 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
337 config ETRAX_NETWORK_LED_ON_WHEN_LINK
338 bool "LED_on_when_link"
340 Selecting LED_on_when_link will light the LED when there is a
341 connection and will flash off when there is activity.
343 Selecting LED_on_when_activity will light the LED only when
346 This setting will also affect the behaviour of other activity LEDs
349 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
350 bool "LED_on_when_activity"
352 Selecting LED_on_when_link will light the LED when there is a
353 connection and will flash off when there is activity.
355 Selecting LED_on_when_activity will light the LED only when
358 This setting will also affect the behaviour of other activity LEDs
364 prompt "Ser0 DMA out channel"
365 depends on ETRAX_SERIAL_PORT0
366 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
367 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
369 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
370 bool "Ser0 uses no DMA for output"
372 Do not use DMA for ser0 output.
374 config ETRAX_SERIAL_PORT0_DMA6_OUT
375 bool "Ser0 uses DMA6 for output"
378 Enables the DMA6 output channel for ser0 (ttyS0).
379 If you do not enable DMA, an interrupt for each character will be
380 used when transmitting data.
381 Normally you want to use DMA, unless you use the DMA channel for
384 config ETRAX_SERIAL_PORT0_DMA0_OUT
385 bool "Ser0 uses DMA0 for output"
386 depends on CRIS_MACH_ARTPEC3
388 Enables the DMA0 output channel for ser0 (ttyS0).
389 If you do not enable DMA, an interrupt for each character will be
390 used when transmitting data.
391 Normally you want to use DMA, unless you use the DMA channel for
397 prompt "Ser0 DMA in channel "
398 depends on ETRAX_SERIAL_PORT0
399 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
400 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
402 What DMA channel to use for ser0.
404 config ETRAX_SERIAL_PORT0_NO_DMA_IN
405 bool "Ser0 uses no DMA for input"
407 Do not use DMA for ser0 input.
409 config ETRAX_SERIAL_PORT0_DMA7_IN
410 bool "Ser0 uses DMA7 for input"
413 Enables the DMA7 input channel for ser0 (ttyS0).
414 If you do not enable DMA, an interrupt for each character will be
415 used when receiving data.
416 Normally you want to use DMA, unless you use the DMA channel for
419 config ETRAX_SERIAL_PORT0_DMA1_IN
420 bool "Ser0 uses DMA1 for input"
421 depends on CRIS_MACH_ARTPEC3
423 Enables the DMA1 input channel for ser0 (ttyS0).
424 If you do not enable DMA, an interrupt for each character will be
425 used when receiving data.
426 Normally you want to use DMA, unless you use the DMA channel for
432 prompt "Ser1 DMA in channel "
433 depends on ETRAX_SERIAL_PORT1
434 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
435 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
437 What DMA channel to use for ser1.
439 config ETRAX_SERIAL_PORT1_NO_DMA_IN
440 bool "Ser1 uses no DMA for input"
442 Do not use DMA for ser1 input.
444 config ETRAX_SERIAL_PORT1_DMA5_IN
445 bool "Ser1 uses DMA5 for input"
446 depends on ETRAX_ARCH_V32
448 Enables the DMA5 input channel for ser1 (ttyS1).
449 If you do not enable DMA, an interrupt for each character will be
450 used when receiving data.
451 Normally you want this on, unless you use the DMA channel for
454 config ETRAX_SERIAL_PORT1_DMA9_IN
455 depends on ETRAX_ARCH_V10
456 bool "Ser1 uses DMA9 for input"
462 prompt "Ser1 DMA out channel"
463 depends on ETRAX_SERIAL_PORT1
464 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
465 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
467 What DMA channel to use for ser1.
469 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
470 bool "Ser1 uses no DMA for output"
472 Do not use DMA for ser1 output.
474 config ETRAX_SERIAL_PORT1_DMA8_OUT
475 depends on ETRAX_ARCH_V10
476 bool "Ser1 uses DMA8 for output"
478 config ETRAX_SERIAL_PORT1_DMA4_OUT
479 depends on ETRAX_ARCH_V32
480 bool "Ser1 uses DMA4 for output"
482 Enables the DMA4 output channel for ser1 (ttyS1).
483 If you do not enable DMA, an interrupt for each character will be
484 used when transmitting data.
485 Normally you want this on, unless you use the DMA channel for
491 prompt "Ser2 DMA out channel"
492 depends on ETRAX_SERIAL_PORT2
493 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
494 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
496 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
497 bool "Ser2 uses no DMA for output"
499 Do not use DMA for ser2 output.
501 config ETRAX_SERIAL_PORT2_DMA2_OUT
502 bool "Ser2 uses DMA2 for output"
503 depends on ETRAXFS || ETRAX_ARCH_V10
505 Enables the DMA2 output channel for ser2 (ttyS2).
506 If you do not enable DMA, an interrupt for each character will be
507 used when transmitting data.
508 Normally you want to use DMA, unless you use the DMA channel for
511 config ETRAX_SERIAL_PORT2_DMA6_OUT
512 bool "Ser2 uses DMA6 for output"
513 depends on CRIS_MACH_ARTPEC3
515 Enables the DMA6 output channel for ser2 (ttyS2).
516 If you do not enable DMA, an interrupt for each character will be
517 used when transmitting data.
518 Normally you want to use DMA, unless you use the DMA channel for
524 prompt "Ser2 DMA in channel"
525 depends on ETRAX_SERIAL_PORT2
526 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
527 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
529 What DMA channel to use for ser2.
531 config ETRAX_SERIAL_PORT2_NO_DMA_IN
532 bool "Ser2 uses no DMA for input"
534 Do not use DMA for ser2 input.
536 config ETRAX_SERIAL_PORT2_DMA3_IN
537 bool "Ser2 uses DMA3 for input"
538 depends on ETRAXFS || ETRAX_ARCH_V10
540 Enables the DMA3 input channel for ser2 (ttyS2).
541 If you do not enable DMA, an interrupt for each character will be
542 used when receiving data.
543 Normally you want to use DMA, unless you use the DMA channel for
546 config ETRAX_SERIAL_PORT2_DMA7_IN
547 bool "Ser2 uses DMA7 for input"
548 depends on CRIS_MACH_ARTPEC3
550 Enables the DMA7 input channel for ser2 (ttyS2).
551 If you do not enable DMA, an interrupt for each character will be
552 used when receiving data.
553 Normally you want to use DMA, unless you use the DMA channel for
559 prompt "Ser3 DMA in channel"
560 depends on ETRAX_SERIAL_PORT3
561 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
562 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
564 What DMA channel to use for ser3.
566 config ETRAX_SERIAL_PORT3_NO_DMA_IN
567 bool "Ser3 uses no DMA for input"
569 Do not use DMA for ser3 input.
571 config ETRAX_SERIAL_PORT3_DMA5_IN
572 depends on ETRAX_ARCH_V10
575 config ETRAX_SERIAL_PORT3_DMA9_IN
576 bool "Ser3 uses DMA9 for input"
579 Enables the DMA9 input channel for ser3 (ttyS3).
580 If you do not enable DMA, an interrupt for each character will be
581 used when receiving data.
582 Normally you want to use DMA, unless you use the DMA channel for
585 config ETRAX_SERIAL_PORT3_DMA3_IN
586 bool "Ser3 uses DMA3 for input"
587 depends on CRIS_MACH_ARTPEC3
589 Enables the DMA3 input channel for ser3 (ttyS3).
590 If you do not enable DMA, an interrupt for each character will be
591 used when receiving data.
592 Normally you want to use DMA, unless you use the DMA channel for
598 prompt "Ser3 DMA out channel"
599 depends on ETRAX_SERIAL_PORT3
600 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
601 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
603 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
604 bool "Ser3 uses no DMA for output"
606 Do not use DMA for ser3 output.
608 config ETRAX_SERIAL_PORT3_DMA4_OUT
609 depends on ETRAX_ARCH_V10
612 config ETRAX_SERIAL_PORT3_DMA8_OUT
613 bool "Ser3 uses DMA8 for output"
616 Enables the DMA8 output channel for ser3 (ttyS3).
617 If you do not enable DMA, an interrupt for each character will be
618 used when transmitting data.
619 Normally you want to use DMA, unless you use the DMA channel for
622 config ETRAX_SERIAL_PORT3_DMA2_OUT
623 bool "Ser3 uses DMA2 for output"
624 depends on CRIS_MACH_ARTPEC3
626 Enables the DMA2 output channel for ser3 (ttyS3).
627 If you do not enable DMA, an interrupt for each character will be
628 used when transmitting data.
629 Normally you want to use DMA, unless you use the DMA channel for
636 source "drivers/base/Kconfig"
638 # standard linux drivers
639 source "drivers/mtd/Kconfig"
641 source "drivers/parport/Kconfig"
643 source "drivers/pnp/Kconfig"
645 source "drivers/block/Kconfig"
647 source "drivers/ide/Kconfig"
649 source "drivers/net/Kconfig"
651 source "drivers/i2c/Kconfig"
653 source "drivers/rtc/Kconfig"
656 # input before char - char/joystick depends on it. As does USB.
658 source "drivers/input/Kconfig"
660 source "drivers/char/Kconfig"
664 source "drivers/usb/Kconfig"
666 source "drivers/uwb/Kconfig"
668 source "drivers/staging/Kconfig"
670 source "arch/cris/Kconfig.debug"
672 source "security/Kconfig"
674 source "crypto/Kconfig"