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.
140 config ETRAX_ARCH_V10
142 default y if ETRAX100LX || ETRAX100LX_V2
143 default n if !(ETRAX100LX || ETRAX100LX_V2)
145 config ETRAX_ARCH_V32
147 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
148 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
150 config ETRAX_DRAM_SIZE
151 int "DRAM size (dec, in MB)"
154 Size of DRAM (decimal in MB) typically 2, 8 or 16.
156 config ETRAX_VMEM_SIZE
157 int "Video memory size (dec, in MB)"
158 depends on ETRAX_ARCH_V32 && !ETRAXFS
159 default 8 if !ETRAXFS
161 Size of Video accessible memory (decimal, in MB).
163 config ETRAX_FLASH_BUSWIDTH
164 int "Buswidth of NOR flash in bytes"
167 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
169 config ETRAX_NANDFLASH_BUSWIDTH
170 int "Buswidth of NAND flash in bytes"
173 Width in bytes of the NAND flash (1 or 2).
175 config ETRAX_FLASH1_SIZE
176 int "FLASH1 size (dec, in MB. 0 = Unknown)"
180 prompt "Product debug-port"
181 default ETRAX_DEBUG_PORT0
183 config ETRAX_DEBUG_PORT0
186 Choose a serial port for the ETRAX debug console. Default to
189 config ETRAX_DEBUG_PORT1
192 Use serial port 1 for the console.
194 config ETRAX_DEBUG_PORT2
197 Use serial port 2 for the console.
199 config ETRAX_DEBUG_PORT3
202 Use serial port 3 for the console.
204 config ETRAX_DEBUG_PORT_NULL
207 Disable serial-port debugging.
212 prompt "Kernel GDB port"
213 depends on ETRAX_KGDB
214 default ETRAX_KGDB_PORT0
216 Choose a serial port for kernel debugging. NOTE: This port should
217 not be enabled under Drivers for built-in interfaces (as it has its
218 own initialization code) and should not be the same as the debug port.
220 config ETRAX_KGDB_PORT0
223 Use serial port 0 for kernel debugging.
225 config ETRAX_KGDB_PORT1
228 Use serial port 1 for kernel debugging.
230 config ETRAX_KGDB_PORT2
233 Use serial port 2 for kernel debugging.
235 config ETRAX_KGDB_PORT3
238 Use serial port 3 for kernel debugging.
242 source arch/cris/arch-v10/Kconfig
243 source arch/cris/arch-v32/Kconfig
249 # bring in ETRAX built-in drivers
250 menu "Drivers for built-in interfaces"
251 source arch/cris/arch-v10/drivers/Kconfig
252 source arch/cris/arch-v32/drivers/Kconfig
254 config ETRAX_AXISFLASHMAP
255 bool "Axis flash-map support"
258 select MTD_CFI_AMDSTD
259 select MTD_JEDECPROBE if ETRAX_ARCH_V32
262 select MTD_COMPLEX_MAPPINGS
264 This option enables MTD mapping of flash devices. Needed to use
265 flash memories. If unsure, say Y.
268 bool "Real Time Clock support"
271 Enables drivers for the Real-Time Clock battery-backed chips on
272 some products. The kernel reads the time when booting, and
273 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
274 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
275 /dev/rtc device. You can check the time with cat /proc/rtc, but
276 normal time reading should be done using libc function time and
285 depends on ETRAX_ARCH_V10
288 Enables the driver for the DS1302 Real-Time Clock battery-backed
289 chip on some products.
294 Enables the driver for the PCF8563 Real-Time Clock battery-backed
295 chip on some products.
299 config ETRAX_SYNCHRONOUS_SERIAL
300 bool "Synchronous serial-port support"
302 Select this to enable the synchronous serial port driver.
304 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
305 bool "Synchronous serial port 0 enabled"
306 depends on ETRAX_SYNCHRONOUS_SERIAL
308 Enabled synchronous serial port 0.
310 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
311 bool "Enable DMA on synchronous serial port 0."
312 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
314 A synchronous serial port can run in manual or DMA mode.
315 Selecting this option will make it run in DMA mode.
317 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
318 bool "Synchronous serial port 1 enabled"
319 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
321 Enabled synchronous serial port 1.
323 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
324 bool "Enable DMA on synchronous serial port 1."
325 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
327 A synchronous serial port can run in manual or DMA mode.
328 Selecting this option will make it run in DMA mode.
331 prompt "Network LED behavior"
332 depends on ETRAX_ETHERNET
333 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
335 config ETRAX_NETWORK_LED_ON_WHEN_LINK
336 bool "LED_on_when_link"
338 Selecting LED_on_when_link will light the LED when there is a
339 connection and will flash off when there is activity.
341 Selecting LED_on_when_activity will light the LED only when
344 This setting will also affect the behaviour of other activity LEDs
347 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
348 bool "LED_on_when_activity"
350 Selecting LED_on_when_link will light the LED when there is a
351 connection and will flash off when there is activity.
353 Selecting LED_on_when_activity will light the LED only when
356 This setting will also affect the behaviour of other activity LEDs
362 prompt "Ser0 DMA out channel"
363 depends on ETRAX_SERIAL_PORT0
364 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
365 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
367 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
368 bool "Ser0 uses no DMA for output"
370 Do not use DMA for ser0 output.
372 config ETRAX_SERIAL_PORT0_DMA6_OUT
373 bool "Ser0 uses DMA6 for output"
376 Enables the DMA6 output channel for ser0 (ttyS0).
377 If you do not enable DMA, an interrupt for each character will be
378 used when transmitting data.
379 Normally you want to use DMA, unless you use the DMA channel for
382 config ETRAX_SERIAL_PORT0_DMA0_OUT
383 bool "Ser0 uses DMA0 for output"
384 depends on CRIS_MACH_ARTPEC3
386 Enables the DMA0 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
395 prompt "Ser0 DMA in channel "
396 depends on ETRAX_SERIAL_PORT0
397 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
398 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
400 What DMA channel to use for ser0.
402 config ETRAX_SERIAL_PORT0_NO_DMA_IN
403 bool "Ser0 uses no DMA for input"
405 Do not use DMA for ser0 input.
407 config ETRAX_SERIAL_PORT0_DMA7_IN
408 bool "Ser0 uses DMA7 for input"
411 Enables the DMA7 input channel for ser0 (ttyS0).
412 If you do not enable DMA, an interrupt for each character will be
413 used when receiving data.
414 Normally you want to use DMA, unless you use the DMA channel for
417 config ETRAX_SERIAL_PORT0_DMA1_IN
418 bool "Ser0 uses DMA1 for input"
419 depends on CRIS_MACH_ARTPEC3
421 Enables the DMA1 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
430 prompt "Ser1 DMA in channel "
431 depends on ETRAX_SERIAL_PORT1
432 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
433 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
435 What DMA channel to use for ser1.
437 config ETRAX_SERIAL_PORT1_NO_DMA_IN
438 bool "Ser1 uses no DMA for input"
440 Do not use DMA for ser1 input.
442 config ETRAX_SERIAL_PORT1_DMA5_IN
443 bool "Ser1 uses DMA5 for input"
444 depends on ETRAX_ARCH_V32
446 Enables the DMA5 input channel for ser1 (ttyS1).
447 If you do not enable DMA, an interrupt for each character will be
448 used when receiving data.
449 Normally you want this on, unless you use the DMA channel for
452 config ETRAX_SERIAL_PORT1_DMA9_IN
453 depends on ETRAX_ARCH_V10
454 bool "Ser1 uses DMA9 for input"
460 prompt "Ser1 DMA out channel"
461 depends on ETRAX_SERIAL_PORT1
462 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
463 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
465 What DMA channel to use for ser1.
467 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
468 bool "Ser1 uses no DMA for output"
470 Do not use DMA for ser1 output.
472 config ETRAX_SERIAL_PORT1_DMA8_OUT
473 depends on ETRAX_ARCH_V10
474 bool "Ser1 uses DMA8 for output"
476 config ETRAX_SERIAL_PORT1_DMA4_OUT
477 depends on ETRAX_ARCH_V32
478 bool "Ser1 uses DMA4 for output"
480 Enables the DMA4 output channel for ser1 (ttyS1).
481 If you do not enable DMA, an interrupt for each character will be
482 used when transmitting data.
483 Normally you want this on, unless you use the DMA channel for
489 prompt "Ser2 DMA out channel"
490 depends on ETRAX_SERIAL_PORT2
491 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
492 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
494 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
495 bool "Ser2 uses no DMA for output"
497 Do not use DMA for ser2 output.
499 config ETRAX_SERIAL_PORT2_DMA2_OUT
500 bool "Ser2 uses DMA2 for output"
501 depends on ETRAXFS || ETRAX_ARCH_V10
503 Enables the DMA2 output channel for ser2 (ttyS2).
504 If you do not enable DMA, an interrupt for each character will be
505 used when transmitting data.
506 Normally you want to use DMA, unless you use the DMA channel for
509 config ETRAX_SERIAL_PORT2_DMA6_OUT
510 bool "Ser2 uses DMA6 for output"
511 depends on CRIS_MACH_ARTPEC3
513 Enables the DMA6 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
522 prompt "Ser2 DMA in channel"
523 depends on ETRAX_SERIAL_PORT2
524 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
525 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
527 What DMA channel to use for ser2.
529 config ETRAX_SERIAL_PORT2_NO_DMA_IN
530 bool "Ser2 uses no DMA for input"
532 Do not use DMA for ser2 input.
534 config ETRAX_SERIAL_PORT2_DMA3_IN
535 bool "Ser2 uses DMA3 for input"
536 depends on ETRAXFS || ETRAX_ARCH_V10
538 Enables the DMA3 input channel for ser2 (ttyS2).
539 If you do not enable DMA, an interrupt for each character will be
540 used when receiving data.
541 Normally you want to use DMA, unless you use the DMA channel for
544 config ETRAX_SERIAL_PORT2_DMA7_IN
545 bool "Ser2 uses DMA7 for input"
546 depends on CRIS_MACH_ARTPEC3
548 Enables the DMA7 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
557 prompt "Ser3 DMA in channel"
558 depends on ETRAX_SERIAL_PORT3
559 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
560 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
562 What DMA channel to use for ser3.
564 config ETRAX_SERIAL_PORT3_NO_DMA_IN
565 bool "Ser3 uses no DMA for input"
567 Do not use DMA for ser3 input.
569 config ETRAX_SERIAL_PORT3_DMA5_IN
570 depends on ETRAX_ARCH_V10
573 config ETRAX_SERIAL_PORT3_DMA9_IN
574 bool "Ser3 uses DMA9 for input"
577 Enables the DMA9 input channel for ser3 (ttyS3).
578 If you do not enable DMA, an interrupt for each character will be
579 used when receiving data.
580 Normally you want to use DMA, unless you use the DMA channel for
583 config ETRAX_SERIAL_PORT3_DMA3_IN
584 bool "Ser3 uses DMA3 for input"
585 depends on CRIS_MACH_ARTPEC3
587 Enables the DMA3 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
596 prompt "Ser3 DMA out channel"
597 depends on ETRAX_SERIAL_PORT3
598 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
599 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
601 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
602 bool "Ser3 uses no DMA for output"
604 Do not use DMA for ser3 output.
606 config ETRAX_SERIAL_PORT3_DMA4_OUT
607 depends on ETRAX_ARCH_V10
610 config ETRAX_SERIAL_PORT3_DMA8_OUT
611 bool "Ser3 uses DMA8 for output"
614 Enables the DMA8 output channel for ser3 (ttyS3).
615 If you do not enable DMA, an interrupt for each character will be
616 used when transmitting data.
617 Normally you want to use DMA, unless you use the DMA channel for
620 config ETRAX_SERIAL_PORT3_DMA2_OUT
621 bool "Ser3 uses DMA2 for output"
622 depends on CRIS_MACH_ARTPEC3
624 Enables the DMA2 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
634 source "drivers/base/Kconfig"
636 # standard linux drivers
637 source "drivers/mtd/Kconfig"
639 source "drivers/parport/Kconfig"
641 source "drivers/pnp/Kconfig"
643 source "drivers/block/Kconfig"
645 source "drivers/ide/Kconfig"
647 source "drivers/net/Kconfig"
649 source "drivers/i2c/Kconfig"
651 source "drivers/rtc/Kconfig"
654 # input before char - char/joystick depends on it. As does USB.
656 source "drivers/input/Kconfig"
658 source "drivers/char/Kconfig"
662 source "drivers/usb/Kconfig"
664 source "drivers/uwb/Kconfig"
666 source "drivers/staging/Kconfig"
668 source "arch/cris/Kconfig.debug"
670 source "security/Kconfig"
672 source "crypto/Kconfig"