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_IRQ_SHOW
66 source "kernel/Kconfig.freezer"
70 source "fs/Kconfig.binfmt"
73 string "Kernel command line"
74 default "root=/dev/mtdblock3"
76 Pass additional commands to the kernel.
79 bool "Enable ETRAX watchdog"
81 Enable the built-in watchdog timer support on ETRAX based embedded
84 config ETRAX_WATCHDOG_NICE_DOGGY
85 bool "Disable watchdog during Oops printouts"
86 depends on ETRAX_WATCHDOG
88 By enabling this you make sure that the watchdog does not bite while
89 printing oopses. Recommended for development systems but not for
92 config ETRAX_FAST_TIMER
93 bool "Enable ETRAX fast timer API"
95 This options enables the API to a fast timer implementation using
96 timer1 to get sub jiffie resolution timers (primarily one-shot
98 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
100 config ETRAX_KMALLOCED_MODULES
101 bool "Enable module allocation with kmalloc"
103 Enable module allocation with kmalloc instead of vmalloc.
106 bool "Enable reboot at out of memory"
108 source "kernel/Kconfig.preempt"
114 menu "Hardware setup"
117 prompt "Processor type"
121 bool "ETRAX-100LX-v1"
122 select ARCH_USES_GETTIMEOFFSET
124 Support version 1 of the ETRAX 100LX.
127 bool "ETRAX-100LX-v2"
128 select ARCH_USES_GETTIMEOFFSET
130 Support version 2 of the ETRAX 100LX.
133 bool "ETRAX-100LX-for-xsim-simulator"
134 select ARCH_USES_GETTIMEOFFSET
136 Support the xsim ETRAX Simulator.
143 config CRIS_MACH_ARTPEC3
146 Support Axis ARTPEC-3.
153 Setup hardware to be run in the VCS simulator.
155 config ETRAX_ARCH_V10
157 default y if ETRAX100LX || ETRAX100LX_V2
158 default n if !(ETRAX100LX || ETRAX100LX_V2)
160 config ETRAX_ARCH_V32
162 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
163 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
165 config ETRAX_DRAM_SIZE
166 int "DRAM size (dec, in MB)"
169 Size of DRAM (decimal in MB) typically 2, 8 or 16.
171 config ETRAX_VMEM_SIZE
172 int "Video memory size (dec, in MB)"
173 depends on ETRAX_ARCH_V32 && !ETRAXFS
174 default 8 if !ETRAXFS
176 Size of Video accessible memory (decimal, in MB).
178 config ETRAX_FLASH_BUSWIDTH
179 int "Buswidth of NOR flash in bytes"
182 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
184 config ETRAX_NANDFLASH_BUSWIDTH
185 int "Buswidth of NAND flash in bytes"
188 Width in bytes of the NAND flash (1 or 2).
190 config ETRAX_FLASH1_SIZE
191 int "FLASH1 size (dec, in MB. 0 = Unknown)"
195 prompt "Product debug-port"
196 default ETRAX_DEBUG_PORT0
198 config ETRAX_DEBUG_PORT0
201 Choose a serial port for the ETRAX debug console. Default to
204 config ETRAX_DEBUG_PORT1
207 Use serial port 1 for the console.
209 config ETRAX_DEBUG_PORT2
212 Use serial port 2 for the console.
214 config ETRAX_DEBUG_PORT3
217 Use serial port 3 for the console.
219 config ETRAX_DEBUG_PORT_NULL
222 Disable serial-port debugging.
227 prompt "Kernel GDB port"
228 depends on ETRAX_KGDB
229 default ETRAX_KGDB_PORT0
231 Choose a serial port for kernel debugging. NOTE: This port should
232 not be enabled under Drivers for built-in interfaces (as it has its
233 own initialization code) and should not be the same as the debug port.
235 config ETRAX_KGDB_PORT0
238 Use serial port 0 for kernel debugging.
240 config ETRAX_KGDB_PORT1
243 Use serial port 1 for kernel debugging.
245 config ETRAX_KGDB_PORT2
248 Use serial port 2 for kernel debugging.
250 config ETRAX_KGDB_PORT3
253 Use serial port 3 for kernel debugging.
257 source arch/cris/arch-v10/Kconfig
258 source arch/cris/arch-v32/Kconfig
264 # bring in ETRAX built-in drivers
265 menu "Drivers for built-in interfaces"
266 source arch/cris/arch-v10/drivers/Kconfig
267 source arch/cris/arch-v32/drivers/Kconfig
269 config ETRAX_AXISFLASHMAP
270 bool "Axis flash-map support"
273 select MTD_CFI_AMDSTD
274 select MTD_JEDECPROBE if ETRAX_ARCH_V32
277 select MTD_PARTITIONS
278 select MTD_COMPLEX_MAPPINGS
280 This option enables MTD mapping of flash devices. Needed to use
281 flash memories. If unsure, say Y.
284 bool "Real Time Clock support"
287 Enables drivers for the Real-Time Clock battery-backed chips on
288 some products. The kernel reads the time when booting, and
289 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
290 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
291 device. You can check the time with cat /proc/rtc, but
292 normal time reading should be done using libc function time and
301 depends on ETRAX_ARCH_V10
304 Enables the driver for the DS1302 Real-Time Clock battery-backed
305 chip on some products.
310 Enables the driver for the PCF8563 Real-Time Clock battery-backed
311 chip on some products.
315 config ETRAX_SYNCHRONOUS_SERIAL
316 bool "Synchronous serial-port support"
318 Select this to enable the synchronous serial port driver.
320 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
321 bool "Synchronous serial port 0 enabled"
322 depends on ETRAX_SYNCHRONOUS_SERIAL
324 Enabled synchronous serial port 0.
326 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
327 bool "Enable DMA on synchronous serial port 0."
328 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
330 A synchronous serial port can run in manual or DMA mode.
331 Selecting this option will make it run in DMA mode.
333 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
334 bool "Synchronous serial port 1 enabled"
335 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
337 Enabled synchronous serial port 1.
339 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
340 bool "Enable DMA on synchronous serial port 1."
341 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
343 A synchronous serial port can run in manual or DMA mode.
344 Selecting this option will make it run in DMA mode.
347 prompt "Network LED behavior"
348 depends on ETRAX_ETHERNET
349 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
351 config ETRAX_NETWORK_LED_ON_WHEN_LINK
352 bool "LED_on_when_link"
354 Selecting LED_on_when_link will light the LED when there is a
355 connection and will flash off when there is activity.
357 Selecting LED_on_when_activity will light the LED only when
360 This setting will also affect the behaviour of other activity LEDs
363 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
364 bool "LED_on_when_activity"
366 Selecting LED_on_when_link will light the LED when there is a
367 connection and will flash off when there is activity.
369 Selecting LED_on_when_activity will light the LED only when
372 This setting will also affect the behaviour of other activity LEDs
378 prompt "Ser0 DMA out channel"
379 depends on ETRAX_SERIAL_PORT0
380 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
381 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
383 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
384 bool "Ser0 uses no DMA for output"
386 Do not use DMA for ser0 output.
388 config ETRAX_SERIAL_PORT0_DMA6_OUT
389 bool "Ser0 uses DMA6 for output"
392 Enables the DMA6 output channel for ser0 (ttyS0).
393 If you do not enable DMA, an interrupt for each character will be
394 used when transmitting data.
395 Normally you want to use DMA, unless you use the DMA channel for
398 config ETRAX_SERIAL_PORT0_DMA0_OUT
399 bool "Ser0 uses DMA0 for output"
400 depends on CRIS_MACH_ARTPEC3
402 Enables the DMA0 output channel for ser0 (ttyS0).
403 If you do not enable DMA, an interrupt for each character will be
404 used when transmitting data.
405 Normally you want to use DMA, unless you use the DMA channel for
411 prompt "Ser0 DMA in channel "
412 depends on ETRAX_SERIAL_PORT0
413 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
414 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
416 What DMA channel to use for ser0.
418 config ETRAX_SERIAL_PORT0_NO_DMA_IN
419 bool "Ser0 uses no DMA for input"
421 Do not use DMA for ser0 input.
423 config ETRAX_SERIAL_PORT0_DMA7_IN
424 bool "Ser0 uses DMA7 for input"
427 Enables the DMA7 input channel for ser0 (ttyS0).
428 If you do not enable DMA, an interrupt for each character will be
429 used when receiving data.
430 Normally you want to use DMA, unless you use the DMA channel for
433 config ETRAX_SERIAL_PORT0_DMA1_IN
434 bool "Ser0 uses DMA1 for input"
435 depends on CRIS_MACH_ARTPEC3
437 Enables the DMA1 input channel for ser0 (ttyS0).
438 If you do not enable DMA, an interrupt for each character will be
439 used when receiving data.
440 Normally you want to use DMA, unless you use the DMA channel for
446 prompt "Ser1 DMA in channel "
447 depends on ETRAX_SERIAL_PORT1
448 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
449 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
451 What DMA channel to use for ser1.
453 config ETRAX_SERIAL_PORT1_NO_DMA_IN
454 bool "Ser1 uses no DMA for input"
456 Do not use DMA for ser1 input.
458 config ETRAX_SERIAL_PORT1_DMA5_IN
459 bool "Ser1 uses DMA5 for input"
460 depends on ETRAX_ARCH_V32
462 Enables the DMA5 input channel for ser1 (ttyS1).
463 If you do not enable DMA, an interrupt for each character will be
464 used when receiving data.
465 Normally you want this on, unless you use the DMA channel for
468 config ETRAX_SERIAL_PORT1_DMA9_IN
469 depends on ETRAX_ARCH_V10
470 bool "Ser1 uses DMA9 for input"
476 prompt "Ser1 DMA out channel"
477 depends on ETRAX_SERIAL_PORT1
478 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
479 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
481 What DMA channel to use for ser1.
483 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
484 bool "Ser1 uses no DMA for output"
486 Do not use DMA for ser1 output.
488 config ETRAX_SERIAL_PORT1_DMA8_OUT
489 depends on ETRAX_ARCH_V10
490 bool "Ser1 uses DMA8 for output"
492 config ETRAX_SERIAL_PORT1_DMA4_OUT
493 depends on ETRAX_ARCH_V32
494 bool "Ser1 uses DMA4 for output"
496 Enables the DMA4 output channel for ser1 (ttyS1).
497 If you do not enable DMA, an interrupt for each character will be
498 used when transmitting data.
499 Normally you want this on, unless you use the DMA channel for
505 prompt "Ser2 DMA out channel"
506 depends on ETRAX_SERIAL_PORT2
507 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
508 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
510 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
511 bool "Ser2 uses no DMA for output"
513 Do not use DMA for ser2 output.
515 config ETRAX_SERIAL_PORT2_DMA2_OUT
516 bool "Ser2 uses DMA2 for output"
517 depends on ETRAXFS || ETRAX_ARCH_V10
519 Enables the DMA2 output channel for ser2 (ttyS2).
520 If you do not enable DMA, an interrupt for each character will be
521 used when transmitting data.
522 Normally you want to use DMA, unless you use the DMA channel for
525 config ETRAX_SERIAL_PORT2_DMA6_OUT
526 bool "Ser2 uses DMA6 for output"
527 depends on CRIS_MACH_ARTPEC3
529 Enables the DMA6 output channel for ser2 (ttyS2).
530 If you do not enable DMA, an interrupt for each character will be
531 used when transmitting data.
532 Normally you want to use DMA, unless you use the DMA channel for
538 prompt "Ser2 DMA in channel"
539 depends on ETRAX_SERIAL_PORT2
540 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
541 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
543 What DMA channel to use for ser2.
545 config ETRAX_SERIAL_PORT2_NO_DMA_IN
546 bool "Ser2 uses no DMA for input"
548 Do not use DMA for ser2 input.
550 config ETRAX_SERIAL_PORT2_DMA3_IN
551 bool "Ser2 uses DMA3 for input"
552 depends on ETRAXFS || ETRAX_ARCH_V10
554 Enables the DMA3 input channel for ser2 (ttyS2).
555 If you do not enable DMA, an interrupt for each character will be
556 used when receiving data.
557 Normally you want to use DMA, unless you use the DMA channel for
560 config ETRAX_SERIAL_PORT2_DMA7_IN
561 bool "Ser2 uses DMA7 for input"
562 depends on CRIS_MACH_ARTPEC3
564 Enables the DMA7 input channel for ser2 (ttyS2).
565 If you do not enable DMA, an interrupt for each character will be
566 used when receiving data.
567 Normally you want to use DMA, unless you use the DMA channel for
573 prompt "Ser3 DMA in channel"
574 depends on ETRAX_SERIAL_PORT3
575 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
576 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
578 What DMA channel to use for ser3.
580 config ETRAX_SERIAL_PORT3_NO_DMA_IN
581 bool "Ser3 uses no DMA for input"
583 Do not use DMA for ser3 input.
585 config ETRAX_SERIAL_PORT3_DMA5_IN
586 depends on ETRAX_ARCH_V10
589 config ETRAX_SERIAL_PORT3_DMA9_IN
590 bool "Ser3 uses DMA9 for input"
593 Enables the DMA9 input channel for ser3 (ttyS3).
594 If you do not enable DMA, an interrupt for each character will be
595 used when receiving data.
596 Normally you want to use DMA, unless you use the DMA channel for
599 config ETRAX_SERIAL_PORT3_DMA3_IN
600 bool "Ser3 uses DMA3 for input"
601 depends on CRIS_MACH_ARTPEC3
603 Enables the DMA3 input channel for ser3 (ttyS3).
604 If you do not enable DMA, an interrupt for each character will be
605 used when receiving data.
606 Normally you want to use DMA, unless you use the DMA channel for
612 prompt "Ser3 DMA out channel"
613 depends on ETRAX_SERIAL_PORT3
614 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
615 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
617 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
618 bool "Ser3 uses no DMA for output"
620 Do not use DMA for ser3 output.
622 config ETRAX_SERIAL_PORT3_DMA4_OUT
623 depends on ETRAX_ARCH_V10
626 config ETRAX_SERIAL_PORT3_DMA8_OUT
627 bool "Ser3 uses DMA8 for output"
630 Enables the DMA8 output channel for ser3 (ttyS3).
631 If you do not enable DMA, an interrupt for each character will be
632 used when transmitting data.
633 Normally you want to use DMA, unless you use the DMA channel for
636 config ETRAX_SERIAL_PORT3_DMA2_OUT
637 bool "Ser3 uses DMA2 for output"
638 depends on CRIS_MACH_ARTPEC3
640 Enables the DMA2 output channel for ser3 (ttyS3).
641 If you do not enable DMA, an interrupt for each character will be
642 used when transmitting data.
643 Normally you want to use DMA, unless you use the DMA channel for
650 source "drivers/base/Kconfig"
652 # standard linux drivers
653 source "drivers/mtd/Kconfig"
655 source "drivers/parport/Kconfig"
657 source "drivers/pnp/Kconfig"
659 source "drivers/block/Kconfig"
661 source "drivers/ide/Kconfig"
663 source "drivers/net/Kconfig"
665 source "drivers/i2c/Kconfig"
667 source "drivers/rtc/Kconfig"
670 # input before char - char/joystick depends on it. As does USB.
672 source "drivers/input/Kconfig"
674 source "drivers/char/Kconfig"
678 source "drivers/usb/Kconfig"
680 source "drivers/uwb/Kconfig"
682 source "drivers/staging/Kconfig"
684 source "arch/cris/Kconfig.debug"
686 source "security/Kconfig"
688 source "crypto/Kconfig"