9 config RWSEM_GENERIC_SPINLOCK
13 config RWSEM_XCHGADD_ALGORITHM
16 config GENERIC_CMOS_UPDATE
19 config ARCH_USES_GETTIMEOFFSET
22 config ARCH_HAS_ILOG2_U32
26 config ARCH_HAS_ILOG2_U64
30 config GENERIC_HWEIGHT
34 config GENERIC_CALIBRATE_DELAY
41 config FORCE_MAX_ZONEORDER
49 select HAVE_GENERIC_HARDIRQS
50 select GENERIC_IRQ_SHOW
52 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
53 select HAVE_GENERIC_INIT_TASK
61 source "kernel/Kconfig.freezer"
65 source "fs/Kconfig.binfmt"
68 string "Kernel command line"
69 default "root=/dev/mtdblock3"
71 Pass additional commands to the kernel.
74 bool "Enable ETRAX watchdog"
76 Enable the built-in watchdog timer support on ETRAX based embedded
79 config ETRAX_WATCHDOG_NICE_DOGGY
80 bool "Disable watchdog during Oops printouts"
81 depends on ETRAX_WATCHDOG
83 By enabling this you make sure that the watchdog does not bite while
84 printing oopses. Recommended for development systems but not for
87 config ETRAX_FAST_TIMER
88 bool "Enable ETRAX fast timer API"
90 This options enables the API to a fast timer implementation using
91 timer1 to get sub jiffie resolution timers (primarily one-shot
93 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
95 config ETRAX_KMALLOCED_MODULES
96 bool "Enable module allocation with kmalloc"
98 Enable module allocation with kmalloc instead of vmalloc.
101 bool "Enable reboot at out of memory"
103 source "kernel/Kconfig.preempt"
109 menu "Hardware setup"
112 prompt "Processor type"
116 bool "ETRAX-100LX-v1"
117 select ARCH_USES_GETTIMEOFFSET
119 Support version 1 of the ETRAX 100LX.
122 bool "ETRAX-100LX-v2"
123 select ARCH_USES_GETTIMEOFFSET
125 Support version 2 of the ETRAX 100LX.
128 bool "ETRAX-100LX-for-xsim-simulator"
129 select ARCH_USES_GETTIMEOFFSET
131 Support the xsim ETRAX Simulator.
138 config CRIS_MACH_ARTPEC3
141 Support Axis ARTPEC-3.
148 Setup hardware to be run in the VCS simulator.
150 config ETRAX_ARCH_V10
152 default y if ETRAX100LX || ETRAX100LX_V2
153 default n if !(ETRAX100LX || ETRAX100LX_V2)
155 config ETRAX_ARCH_V32
157 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
158 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
160 config ETRAX_DRAM_SIZE
161 int "DRAM size (dec, in MB)"
164 Size of DRAM (decimal in MB) typically 2, 8 or 16.
166 config ETRAX_VMEM_SIZE
167 int "Video memory size (dec, in MB)"
168 depends on ETRAX_ARCH_V32 && !ETRAXFS
169 default 8 if !ETRAXFS
171 Size of Video accessible memory (decimal, in MB).
173 config ETRAX_FLASH_BUSWIDTH
174 int "Buswidth of NOR flash in bytes"
177 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
179 config ETRAX_NANDFLASH_BUSWIDTH
180 int "Buswidth of NAND flash in bytes"
183 Width in bytes of the NAND flash (1 or 2).
185 config ETRAX_FLASH1_SIZE
186 int "FLASH1 size (dec, in MB. 0 = Unknown)"
190 prompt "Product debug-port"
191 default ETRAX_DEBUG_PORT0
193 config ETRAX_DEBUG_PORT0
196 Choose a serial port for the ETRAX debug console. Default to
199 config ETRAX_DEBUG_PORT1
202 Use serial port 1 for the console.
204 config ETRAX_DEBUG_PORT2
207 Use serial port 2 for the console.
209 config ETRAX_DEBUG_PORT3
212 Use serial port 3 for the console.
214 config ETRAX_DEBUG_PORT_NULL
217 Disable serial-port debugging.
222 prompt "Kernel GDB port"
223 depends on ETRAX_KGDB
224 default ETRAX_KGDB_PORT0
226 Choose a serial port for kernel debugging. NOTE: This port should
227 not be enabled under Drivers for built-in interfaces (as it has its
228 own initialization code) and should not be the same as the debug port.
230 config ETRAX_KGDB_PORT0
233 Use serial port 0 for kernel debugging.
235 config ETRAX_KGDB_PORT1
238 Use serial port 1 for kernel debugging.
240 config ETRAX_KGDB_PORT2
243 Use serial port 2 for kernel debugging.
245 config ETRAX_KGDB_PORT3
248 Use serial port 3 for kernel debugging.
252 source arch/cris/arch-v10/Kconfig
253 source arch/cris/arch-v32/Kconfig
259 # bring in ETRAX built-in drivers
260 menu "Drivers for built-in interfaces"
261 source arch/cris/arch-v10/drivers/Kconfig
262 source arch/cris/arch-v32/drivers/Kconfig
264 config ETRAX_AXISFLASHMAP
265 bool "Axis flash-map support"
268 select MTD_CFI_AMDSTD
269 select MTD_JEDECPROBE if ETRAX_ARCH_V32
272 select MTD_COMPLEX_MAPPINGS
274 This option enables MTD mapping of flash devices. Needed to use
275 flash memories. If unsure, say Y.
278 bool "Real Time Clock support"
281 Enables drivers for the Real-Time Clock battery-backed chips on
282 some products. The kernel reads the time when booting, and
283 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
284 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
285 /dev/rtc device. You can check the time with cat /proc/rtc, but
286 normal time reading should be done using libc function time and
295 depends on ETRAX_ARCH_V10
298 Enables the driver for the DS1302 Real-Time Clock battery-backed
299 chip on some products.
304 Enables the driver for the PCF8563 Real-Time Clock battery-backed
305 chip on some products.
309 config ETRAX_SYNCHRONOUS_SERIAL
310 bool "Synchronous serial-port support"
312 Select this to enable the synchronous serial port driver.
314 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
315 bool "Synchronous serial port 0 enabled"
316 depends on ETRAX_SYNCHRONOUS_SERIAL
318 Enabled synchronous serial port 0.
320 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
321 bool "Enable DMA on synchronous serial port 0."
322 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
324 A synchronous serial port can run in manual or DMA mode.
325 Selecting this option will make it run in DMA mode.
327 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
328 bool "Synchronous serial port 1 enabled"
329 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
331 Enabled synchronous serial port 1.
333 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
334 bool "Enable DMA on synchronous serial port 1."
335 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
337 A synchronous serial port can run in manual or DMA mode.
338 Selecting this option will make it run in DMA mode.
341 prompt "Network LED behavior"
342 depends on ETRAX_ETHERNET
343 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
345 config ETRAX_NETWORK_LED_ON_WHEN_LINK
346 bool "LED_on_when_link"
348 Selecting LED_on_when_link will light the LED when there is a
349 connection and will flash off when there is activity.
351 Selecting LED_on_when_activity will light the LED only when
354 This setting will also affect the behaviour of other activity LEDs
357 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
358 bool "LED_on_when_activity"
360 Selecting LED_on_when_link will light the LED when there is a
361 connection and will flash off when there is activity.
363 Selecting LED_on_when_activity will light the LED only when
366 This setting will also affect the behaviour of other activity LEDs
372 prompt "Ser0 DMA out channel"
373 depends on ETRAX_SERIAL_PORT0
374 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
375 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
377 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
378 bool "Ser0 uses no DMA for output"
380 Do not use DMA for ser0 output.
382 config ETRAX_SERIAL_PORT0_DMA6_OUT
383 bool "Ser0 uses DMA6 for output"
386 Enables the DMA6 output channel for ser0 (ttyS0).
387 If you do not enable DMA, an interrupt for each character will be
388 used when transmitting data.
389 Normally you want to use DMA, unless you use the DMA channel for
392 config ETRAX_SERIAL_PORT0_DMA0_OUT
393 bool "Ser0 uses DMA0 for output"
394 depends on CRIS_MACH_ARTPEC3
396 Enables the DMA0 output channel for ser0 (ttyS0).
397 If you do not enable DMA, an interrupt for each character will be
398 used when transmitting data.
399 Normally you want to use DMA, unless you use the DMA channel for
405 prompt "Ser0 DMA in channel "
406 depends on ETRAX_SERIAL_PORT0
407 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
408 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
410 What DMA channel to use for ser0.
412 config ETRAX_SERIAL_PORT0_NO_DMA_IN
413 bool "Ser0 uses no DMA for input"
415 Do not use DMA for ser0 input.
417 config ETRAX_SERIAL_PORT0_DMA7_IN
418 bool "Ser0 uses DMA7 for input"
421 Enables the DMA7 input channel for ser0 (ttyS0).
422 If you do not enable DMA, an interrupt for each character will be
423 used when receiving data.
424 Normally you want to use DMA, unless you use the DMA channel for
427 config ETRAX_SERIAL_PORT0_DMA1_IN
428 bool "Ser0 uses DMA1 for input"
429 depends on CRIS_MACH_ARTPEC3
431 Enables the DMA1 input channel for ser0 (ttyS0).
432 If you do not enable DMA, an interrupt for each character will be
433 used when receiving data.
434 Normally you want to use DMA, unless you use the DMA channel for
440 prompt "Ser1 DMA in channel "
441 depends on ETRAX_SERIAL_PORT1
442 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
443 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
445 What DMA channel to use for ser1.
447 config ETRAX_SERIAL_PORT1_NO_DMA_IN
448 bool "Ser1 uses no DMA for input"
450 Do not use DMA for ser1 input.
452 config ETRAX_SERIAL_PORT1_DMA5_IN
453 bool "Ser1 uses DMA5 for input"
454 depends on ETRAX_ARCH_V32
456 Enables the DMA5 input channel for ser1 (ttyS1).
457 If you do not enable DMA, an interrupt for each character will be
458 used when receiving data.
459 Normally you want this on, unless you use the DMA channel for
462 config ETRAX_SERIAL_PORT1_DMA9_IN
463 depends on ETRAX_ARCH_V10
464 bool "Ser1 uses DMA9 for input"
470 prompt "Ser1 DMA out channel"
471 depends on ETRAX_SERIAL_PORT1
472 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
473 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
475 What DMA channel to use for ser1.
477 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
478 bool "Ser1 uses no DMA for output"
480 Do not use DMA for ser1 output.
482 config ETRAX_SERIAL_PORT1_DMA8_OUT
483 depends on ETRAX_ARCH_V10
484 bool "Ser1 uses DMA8 for output"
486 config ETRAX_SERIAL_PORT1_DMA4_OUT
487 depends on ETRAX_ARCH_V32
488 bool "Ser1 uses DMA4 for output"
490 Enables the DMA4 output channel for ser1 (ttyS1).
491 If you do not enable DMA, an interrupt for each character will be
492 used when transmitting data.
493 Normally you want this on, unless you use the DMA channel for
499 prompt "Ser2 DMA out channel"
500 depends on ETRAX_SERIAL_PORT2
501 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
502 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
504 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
505 bool "Ser2 uses no DMA for output"
507 Do not use DMA for ser2 output.
509 config ETRAX_SERIAL_PORT2_DMA2_OUT
510 bool "Ser2 uses DMA2 for output"
511 depends on ETRAXFS || ETRAX_ARCH_V10
513 Enables the DMA2 output channel for ser2 (ttyS2).
514 If you do not enable DMA, an interrupt for each character will be
515 used when transmitting data.
516 Normally you want to use DMA, unless you use the DMA channel for
519 config ETRAX_SERIAL_PORT2_DMA6_OUT
520 bool "Ser2 uses DMA6 for output"
521 depends on CRIS_MACH_ARTPEC3
523 Enables the DMA6 output channel for ser2 (ttyS2).
524 If you do not enable DMA, an interrupt for each character will be
525 used when transmitting data.
526 Normally you want to use DMA, unless you use the DMA channel for
532 prompt "Ser2 DMA in channel"
533 depends on ETRAX_SERIAL_PORT2
534 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
535 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
537 What DMA channel to use for ser2.
539 config ETRAX_SERIAL_PORT2_NO_DMA_IN
540 bool "Ser2 uses no DMA for input"
542 Do not use DMA for ser2 input.
544 config ETRAX_SERIAL_PORT2_DMA3_IN
545 bool "Ser2 uses DMA3 for input"
546 depends on ETRAXFS || ETRAX_ARCH_V10
548 Enables the DMA3 input channel for ser2 (ttyS2).
549 If you do not enable DMA, an interrupt for each character will be
550 used when receiving data.
551 Normally you want to use DMA, unless you use the DMA channel for
554 config ETRAX_SERIAL_PORT2_DMA7_IN
555 bool "Ser2 uses DMA7 for input"
556 depends on CRIS_MACH_ARTPEC3
558 Enables the DMA7 input channel for ser2 (ttyS2).
559 If you do not enable DMA, an interrupt for each character will be
560 used when receiving data.
561 Normally you want to use DMA, unless you use the DMA channel for
567 prompt "Ser3 DMA in channel"
568 depends on ETRAX_SERIAL_PORT3
569 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
570 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
572 What DMA channel to use for ser3.
574 config ETRAX_SERIAL_PORT3_NO_DMA_IN
575 bool "Ser3 uses no DMA for input"
577 Do not use DMA for ser3 input.
579 config ETRAX_SERIAL_PORT3_DMA5_IN
580 depends on ETRAX_ARCH_V10
583 config ETRAX_SERIAL_PORT3_DMA9_IN
584 bool "Ser3 uses DMA9 for input"
587 Enables the DMA9 input channel for ser3 (ttyS3).
588 If you do not enable DMA, an interrupt for each character will be
589 used when receiving data.
590 Normally you want to use DMA, unless you use the DMA channel for
593 config ETRAX_SERIAL_PORT3_DMA3_IN
594 bool "Ser3 uses DMA3 for input"
595 depends on CRIS_MACH_ARTPEC3
597 Enables the DMA3 input channel for ser3 (ttyS3).
598 If you do not enable DMA, an interrupt for each character will be
599 used when receiving data.
600 Normally you want to use DMA, unless you use the DMA channel for
606 prompt "Ser3 DMA out channel"
607 depends on ETRAX_SERIAL_PORT3
608 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
609 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
611 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
612 bool "Ser3 uses no DMA for output"
614 Do not use DMA for ser3 output.
616 config ETRAX_SERIAL_PORT3_DMA4_OUT
617 depends on ETRAX_ARCH_V10
620 config ETRAX_SERIAL_PORT3_DMA8_OUT
621 bool "Ser3 uses DMA8 for output"
624 Enables the DMA8 output channel for ser3 (ttyS3).
625 If you do not enable DMA, an interrupt for each character will be
626 used when transmitting data.
627 Normally you want to use DMA, unless you use the DMA channel for
630 config ETRAX_SERIAL_PORT3_DMA2_OUT
631 bool "Ser3 uses DMA2 for output"
632 depends on CRIS_MACH_ARTPEC3
634 Enables the DMA2 output channel for ser3 (ttyS3).
635 If you do not enable DMA, an interrupt for each character will be
636 used when transmitting data.
637 Normally you want to use DMA, unless you use the DMA channel for
644 source "drivers/base/Kconfig"
646 # standard linux drivers
647 source "drivers/mtd/Kconfig"
649 source "drivers/parport/Kconfig"
651 source "drivers/pnp/Kconfig"
653 source "drivers/block/Kconfig"
655 source "drivers/ide/Kconfig"
657 source "drivers/net/Kconfig"
659 source "drivers/i2c/Kconfig"
661 source "drivers/rtc/Kconfig"
664 # input before char - char/joystick depends on it. As does USB.
666 source "drivers/input/Kconfig"
668 source "drivers/char/Kconfig"
672 source "drivers/usb/Kconfig"
674 source "drivers/uwb/Kconfig"
676 source "drivers/staging/Kconfig"
678 source "arch/cris/Kconfig.debug"
680 source "security/Kconfig"
682 source "crypto/Kconfig"