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
51 select MODULES_USE_ELF_RELA
52 select CLONE_BACKWARDS2
60 source "kernel/Kconfig.freezer"
64 source "fs/Kconfig.binfmt"
67 string "Kernel command line"
68 default "root=/dev/mtdblock3"
70 Pass additional commands to the kernel.
73 bool "Enable ETRAX watchdog"
75 Enable the built-in watchdog timer support on ETRAX based embedded
78 config ETRAX_WATCHDOG_NICE_DOGGY
79 bool "Disable watchdog during Oops printouts"
80 depends on ETRAX_WATCHDOG
82 By enabling this you make sure that the watchdog does not bite while
83 printing oopses. Recommended for development systems but not for
86 config ETRAX_FAST_TIMER
87 bool "Enable ETRAX fast timer API"
89 This options enables the API to a fast timer implementation using
90 timer1 to get sub jiffie resolution timers (primarily one-shot
92 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
94 config ETRAX_KMALLOCED_MODULES
95 bool "Enable module allocation with kmalloc"
97 Enable module allocation with kmalloc instead of vmalloc.
100 bool "Enable reboot at out of memory"
102 source "kernel/Kconfig.preempt"
108 menu "Hardware setup"
111 prompt "Processor type"
115 bool "ETRAX-100LX-v1"
116 select ARCH_USES_GETTIMEOFFSET
118 Support version 1 of the ETRAX 100LX.
121 bool "ETRAX-100LX-v2"
122 select ARCH_USES_GETTIMEOFFSET
124 Support version 2 of the ETRAX 100LX.
127 bool "ETRAX-100LX-for-xsim-simulator"
128 select ARCH_USES_GETTIMEOFFSET
130 Support the xsim ETRAX Simulator.
137 config CRIS_MACH_ARTPEC3
140 Support Axis ARTPEC-3.
144 config ETRAX_ARCH_V10
146 default y if ETRAX100LX || ETRAX100LX_V2
147 default n if !(ETRAX100LX || ETRAX100LX_V2)
149 config ETRAX_ARCH_V32
151 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
152 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
154 config ETRAX_DRAM_SIZE
155 int "DRAM size (dec, in MB)"
158 Size of DRAM (decimal in MB) typically 2, 8 or 16.
160 config ETRAX_VMEM_SIZE
161 int "Video memory size (dec, in MB)"
162 depends on ETRAX_ARCH_V32 && !ETRAXFS
163 default 8 if !ETRAXFS
165 Size of Video accessible memory (decimal, in MB).
167 config ETRAX_FLASH_BUSWIDTH
168 int "Buswidth of NOR flash in bytes"
171 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
173 config ETRAX_NANDFLASH_BUSWIDTH
174 int "Buswidth of NAND flash in bytes"
177 Width in bytes of the NAND flash (1 or 2).
179 config ETRAX_FLASH1_SIZE
180 int "FLASH1 size (dec, in MB. 0 = Unknown)"
184 prompt "Product debug-port"
185 default ETRAX_DEBUG_PORT0
187 config ETRAX_DEBUG_PORT0
190 Choose a serial port for the ETRAX debug console. Default to
193 config ETRAX_DEBUG_PORT1
196 Use serial port 1 for the console.
198 config ETRAX_DEBUG_PORT2
201 Use serial port 2 for the console.
203 config ETRAX_DEBUG_PORT3
206 Use serial port 3 for the console.
208 config ETRAX_DEBUG_PORT_NULL
211 Disable serial-port debugging.
216 prompt "Kernel GDB port"
217 depends on ETRAX_KGDB
218 default ETRAX_KGDB_PORT0
220 Choose a serial port for kernel debugging. NOTE: This port should
221 not be enabled under Drivers for built-in interfaces (as it has its
222 own initialization code) and should not be the same as the debug port.
224 config ETRAX_KGDB_PORT0
227 Use serial port 0 for kernel debugging.
229 config ETRAX_KGDB_PORT1
232 Use serial port 1 for kernel debugging.
234 config ETRAX_KGDB_PORT2
237 Use serial port 2 for kernel debugging.
239 config ETRAX_KGDB_PORT3
242 Use serial port 3 for kernel debugging.
246 source arch/cris/arch-v10/Kconfig
247 source arch/cris/arch-v32/Kconfig
253 # bring in ETRAX built-in drivers
254 menu "Drivers for built-in interfaces"
255 source arch/cris/arch-v10/drivers/Kconfig
256 source arch/cris/arch-v32/drivers/Kconfig
258 config ETRAX_AXISFLASHMAP
259 bool "Axis flash-map support"
262 select MTD_CFI_AMDSTD
263 select MTD_JEDECPROBE if ETRAX_ARCH_V32
266 select MTD_COMPLEX_MAPPINGS
268 This option enables MTD mapping of flash devices. Needed to use
269 flash memories. If unsure, say Y.
272 bool "Real Time Clock support"
275 Enables drivers for the Real-Time Clock battery-backed chips on
276 some products. The kernel reads the time when booting, and
277 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
278 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
279 /dev/rtc device. You can check the time with cat /proc/rtc, but
280 normal time reading should be done using libc function time and
289 depends on ETRAX_ARCH_V10
292 Enables the driver for the DS1302 Real-Time Clock battery-backed
293 chip on some products.
298 Enables the driver for the PCF8563 Real-Time Clock battery-backed
299 chip on some products.
303 config ETRAX_SYNCHRONOUS_SERIAL
304 bool "Synchronous serial-port support"
306 Select this to enable the synchronous serial port driver.
308 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
309 bool "Synchronous serial port 0 enabled"
310 depends on ETRAX_SYNCHRONOUS_SERIAL
312 Enabled synchronous serial port 0.
314 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
315 bool "Enable DMA on synchronous serial port 0."
316 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
318 A synchronous serial port can run in manual or DMA mode.
319 Selecting this option will make it run in DMA mode.
321 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
322 bool "Synchronous serial port 1 enabled"
323 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
325 Enabled synchronous serial port 1.
327 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
328 bool "Enable DMA on synchronous serial port 1."
329 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
331 A synchronous serial port can run in manual or DMA mode.
332 Selecting this option will make it run in DMA mode.
335 prompt "Network LED behavior"
336 depends on ETRAX_ETHERNET
337 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
339 config ETRAX_NETWORK_LED_ON_WHEN_LINK
340 bool "LED_on_when_link"
342 Selecting LED_on_when_link will light the LED when there is a
343 connection and will flash off when there is activity.
345 Selecting LED_on_when_activity will light the LED only when
348 This setting will also affect the behaviour of other activity LEDs
351 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
352 bool "LED_on_when_activity"
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
366 prompt "Ser0 DMA out channel"
367 depends on ETRAX_SERIAL_PORT0
368 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
369 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
371 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
372 bool "Ser0 uses no DMA for output"
374 Do not use DMA for ser0 output.
376 config ETRAX_SERIAL_PORT0_DMA6_OUT
377 bool "Ser0 uses DMA6 for output"
380 Enables the DMA6 output channel for ser0 (ttyS0).
381 If you do not enable DMA, an interrupt for each character will be
382 used when transmitting data.
383 Normally you want to use DMA, unless you use the DMA channel for
386 config ETRAX_SERIAL_PORT0_DMA0_OUT
387 bool "Ser0 uses DMA0 for output"
388 depends on CRIS_MACH_ARTPEC3
390 Enables the DMA0 output channel for ser0 (ttyS0).
391 If you do not enable DMA, an interrupt for each character will be
392 used when transmitting data.
393 Normally you want to use DMA, unless you use the DMA channel for
399 prompt "Ser0 DMA in channel "
400 depends on ETRAX_SERIAL_PORT0
401 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
402 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
404 What DMA channel to use for ser0.
406 config ETRAX_SERIAL_PORT0_NO_DMA_IN
407 bool "Ser0 uses no DMA for input"
409 Do not use DMA for ser0 input.
411 config ETRAX_SERIAL_PORT0_DMA7_IN
412 bool "Ser0 uses DMA7 for input"
415 Enables the DMA7 input channel for ser0 (ttyS0).
416 If you do not enable DMA, an interrupt for each character will be
417 used when receiving data.
418 Normally you want to use DMA, unless you use the DMA channel for
421 config ETRAX_SERIAL_PORT0_DMA1_IN
422 bool "Ser0 uses DMA1 for input"
423 depends on CRIS_MACH_ARTPEC3
425 Enables the DMA1 input channel for ser0 (ttyS0).
426 If you do not enable DMA, an interrupt for each character will be
427 used when receiving data.
428 Normally you want to use DMA, unless you use the DMA channel for
434 prompt "Ser1 DMA in channel "
435 depends on ETRAX_SERIAL_PORT1
436 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
437 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
439 What DMA channel to use for ser1.
441 config ETRAX_SERIAL_PORT1_NO_DMA_IN
442 bool "Ser1 uses no DMA for input"
444 Do not use DMA for ser1 input.
446 config ETRAX_SERIAL_PORT1_DMA5_IN
447 bool "Ser1 uses DMA5 for input"
448 depends on ETRAX_ARCH_V32
450 Enables the DMA5 input channel for ser1 (ttyS1).
451 If you do not enable DMA, an interrupt for each character will be
452 used when receiving data.
453 Normally you want this on, unless you use the DMA channel for
456 config ETRAX_SERIAL_PORT1_DMA9_IN
457 depends on ETRAX_ARCH_V10
458 bool "Ser1 uses DMA9 for input"
464 prompt "Ser1 DMA out channel"
465 depends on ETRAX_SERIAL_PORT1
466 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
467 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
469 What DMA channel to use for ser1.
471 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
472 bool "Ser1 uses no DMA for output"
474 Do not use DMA for ser1 output.
476 config ETRAX_SERIAL_PORT1_DMA8_OUT
477 depends on ETRAX_ARCH_V10
478 bool "Ser1 uses DMA8 for output"
480 config ETRAX_SERIAL_PORT1_DMA4_OUT
481 depends on ETRAX_ARCH_V32
482 bool "Ser1 uses DMA4 for output"
484 Enables the DMA4 output channel for ser1 (ttyS1).
485 If you do not enable DMA, an interrupt for each character will be
486 used when transmitting data.
487 Normally you want this on, unless you use the DMA channel for
493 prompt "Ser2 DMA out channel"
494 depends on ETRAX_SERIAL_PORT2
495 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
496 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
498 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
499 bool "Ser2 uses no DMA for output"
501 Do not use DMA for ser2 output.
503 config ETRAX_SERIAL_PORT2_DMA2_OUT
504 bool "Ser2 uses DMA2 for output"
505 depends on ETRAXFS || ETRAX_ARCH_V10
507 Enables the DMA2 output channel for ser2 (ttyS2).
508 If you do not enable DMA, an interrupt for each character will be
509 used when transmitting data.
510 Normally you want to use DMA, unless you use the DMA channel for
513 config ETRAX_SERIAL_PORT2_DMA6_OUT
514 bool "Ser2 uses DMA6 for output"
515 depends on CRIS_MACH_ARTPEC3
517 Enables the DMA6 output channel for ser2 (ttyS2).
518 If you do not enable DMA, an interrupt for each character will be
519 used when transmitting data.
520 Normally you want to use DMA, unless you use the DMA channel for
526 prompt "Ser2 DMA in channel"
527 depends on ETRAX_SERIAL_PORT2
528 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
529 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
531 What DMA channel to use for ser2.
533 config ETRAX_SERIAL_PORT2_NO_DMA_IN
534 bool "Ser2 uses no DMA for input"
536 Do not use DMA for ser2 input.
538 config ETRAX_SERIAL_PORT2_DMA3_IN
539 bool "Ser2 uses DMA3 for input"
540 depends on ETRAXFS || ETRAX_ARCH_V10
542 Enables the DMA3 input channel for ser2 (ttyS2).
543 If you do not enable DMA, an interrupt for each character will be
544 used when receiving data.
545 Normally you want to use DMA, unless you use the DMA channel for
548 config ETRAX_SERIAL_PORT2_DMA7_IN
549 bool "Ser2 uses DMA7 for input"
550 depends on CRIS_MACH_ARTPEC3
552 Enables the DMA7 input channel for ser2 (ttyS2).
553 If you do not enable DMA, an interrupt for each character will be
554 used when receiving data.
555 Normally you want to use DMA, unless you use the DMA channel for
561 prompt "Ser3 DMA in channel"
562 depends on ETRAX_SERIAL_PORT3
563 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
564 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
566 What DMA channel to use for ser3.
568 config ETRAX_SERIAL_PORT3_NO_DMA_IN
569 bool "Ser3 uses no DMA for input"
571 Do not use DMA for ser3 input.
573 config ETRAX_SERIAL_PORT3_DMA5_IN
574 depends on ETRAX_ARCH_V10
577 config ETRAX_SERIAL_PORT3_DMA9_IN
578 bool "Ser3 uses DMA9 for input"
581 Enables the DMA9 input channel for ser3 (ttyS3).
582 If you do not enable DMA, an interrupt for each character will be
583 used when receiving data.
584 Normally you want to use DMA, unless you use the DMA channel for
587 config ETRAX_SERIAL_PORT3_DMA3_IN
588 bool "Ser3 uses DMA3 for input"
589 depends on CRIS_MACH_ARTPEC3
591 Enables the DMA3 input channel for ser3 (ttyS3).
592 If you do not enable DMA, an interrupt for each character will be
593 used when receiving data.
594 Normally you want to use DMA, unless you use the DMA channel for
600 prompt "Ser3 DMA out channel"
601 depends on ETRAX_SERIAL_PORT3
602 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
603 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
605 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
606 bool "Ser3 uses no DMA for output"
608 Do not use DMA for ser3 output.
610 config ETRAX_SERIAL_PORT3_DMA4_OUT
611 depends on ETRAX_ARCH_V10
614 config ETRAX_SERIAL_PORT3_DMA8_OUT
615 bool "Ser3 uses DMA8 for output"
618 Enables the DMA8 output channel for ser3 (ttyS3).
619 If you do not enable DMA, an interrupt for each character will be
620 used when transmitting data.
621 Normally you want to use DMA, unless you use the DMA channel for
624 config ETRAX_SERIAL_PORT3_DMA2_OUT
625 bool "Ser3 uses DMA2 for output"
626 depends on CRIS_MACH_ARTPEC3
628 Enables the DMA2 output channel for ser3 (ttyS3).
629 If you do not enable DMA, an interrupt for each character will be
630 used when transmitting data.
631 Normally you want to use DMA, unless you use the DMA channel for
638 source "drivers/base/Kconfig"
640 # standard linux drivers
641 source "drivers/mtd/Kconfig"
643 source "drivers/parport/Kconfig"
645 source "drivers/pnp/Kconfig"
647 source "drivers/block/Kconfig"
649 source "drivers/ide/Kconfig"
651 source "drivers/net/Kconfig"
653 source "drivers/i2c/Kconfig"
655 source "drivers/rtc/Kconfig"
658 # input before char - char/joystick depends on it. As does USB.
660 source "drivers/input/Kconfig"
662 source "drivers/char/Kconfig"
666 source "drivers/usb/Kconfig"
668 source "drivers/uwb/Kconfig"
670 source "drivers/staging/Kconfig"
672 source "arch/cris/Kconfig.debug"
674 source "security/Kconfig"
676 source "crypto/Kconfig"