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
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.
147 Setup hardware to be run in the VCS simulator.
149 config ETRAX_ARCH_V10
151 default y if ETRAX100LX || ETRAX100LX_V2
152 default n if !(ETRAX100LX || ETRAX100LX_V2)
154 config ETRAX_ARCH_V32
156 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
157 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
159 config ETRAX_DRAM_SIZE
160 int "DRAM size (dec, in MB)"
163 Size of DRAM (decimal in MB) typically 2, 8 or 16.
165 config ETRAX_VMEM_SIZE
166 int "Video memory size (dec, in MB)"
167 depends on ETRAX_ARCH_V32 && !ETRAXFS
168 default 8 if !ETRAXFS
170 Size of Video accessible memory (decimal, in MB).
172 config ETRAX_FLASH_BUSWIDTH
173 int "Buswidth of NOR flash in bytes"
176 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
178 config ETRAX_NANDFLASH_BUSWIDTH
179 int "Buswidth of NAND flash in bytes"
182 Width in bytes of the NAND flash (1 or 2).
184 config ETRAX_FLASH1_SIZE
185 int "FLASH1 size (dec, in MB. 0 = Unknown)"
189 prompt "Product debug-port"
190 default ETRAX_DEBUG_PORT0
192 config ETRAX_DEBUG_PORT0
195 Choose a serial port for the ETRAX debug console. Default to
198 config ETRAX_DEBUG_PORT1
201 Use serial port 1 for the console.
203 config ETRAX_DEBUG_PORT2
206 Use serial port 2 for the console.
208 config ETRAX_DEBUG_PORT3
211 Use serial port 3 for the console.
213 config ETRAX_DEBUG_PORT_NULL
216 Disable serial-port debugging.
221 prompt "Kernel GDB port"
222 depends on ETRAX_KGDB
223 default ETRAX_KGDB_PORT0
225 Choose a serial port for kernel debugging. NOTE: This port should
226 not be enabled under Drivers for built-in interfaces (as it has its
227 own initialization code) and should not be the same as the debug port.
229 config ETRAX_KGDB_PORT0
232 Use serial port 0 for kernel debugging.
234 config ETRAX_KGDB_PORT1
237 Use serial port 1 for kernel debugging.
239 config ETRAX_KGDB_PORT2
242 Use serial port 2 for kernel debugging.
244 config ETRAX_KGDB_PORT3
247 Use serial port 3 for kernel debugging.
251 source arch/cris/arch-v10/Kconfig
252 source arch/cris/arch-v32/Kconfig
258 # bring in ETRAX built-in drivers
259 menu "Drivers for built-in interfaces"
260 source arch/cris/arch-v10/drivers/Kconfig
261 source arch/cris/arch-v32/drivers/Kconfig
263 config ETRAX_AXISFLASHMAP
264 bool "Axis flash-map support"
267 select MTD_CFI_AMDSTD
268 select MTD_JEDECPROBE if ETRAX_ARCH_V32
271 select MTD_COMPLEX_MAPPINGS
273 This option enables MTD mapping of flash devices. Needed to use
274 flash memories. If unsure, say Y.
277 bool "Real Time Clock support"
280 Enables drivers for the Real-Time Clock battery-backed chips on
281 some products. The kernel reads the time when booting, and
282 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
283 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
284 /dev/rtc device. You can check the time with cat /proc/rtc, but
285 normal time reading should be done using libc function time and
294 depends on ETRAX_ARCH_V10
297 Enables the driver for the DS1302 Real-Time Clock battery-backed
298 chip on some products.
303 Enables the driver for the PCF8563 Real-Time Clock battery-backed
304 chip on some products.
308 config ETRAX_SYNCHRONOUS_SERIAL
309 bool "Synchronous serial-port support"
311 Select this to enable the synchronous serial port driver.
313 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
314 bool "Synchronous serial port 0 enabled"
315 depends on ETRAX_SYNCHRONOUS_SERIAL
317 Enabled synchronous serial port 0.
319 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
320 bool "Enable DMA on synchronous serial port 0."
321 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
323 A synchronous serial port can run in manual or DMA mode.
324 Selecting this option will make it run in DMA mode.
326 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
327 bool "Synchronous serial port 1 enabled"
328 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
330 Enabled synchronous serial port 1.
332 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
333 bool "Enable DMA on synchronous serial port 1."
334 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
336 A synchronous serial port can run in manual or DMA mode.
337 Selecting this option will make it run in DMA mode.
340 prompt "Network LED behavior"
341 depends on ETRAX_ETHERNET
342 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
344 config ETRAX_NETWORK_LED_ON_WHEN_LINK
345 bool "LED_on_when_link"
347 Selecting LED_on_when_link will light the LED when there is a
348 connection and will flash off when there is activity.
350 Selecting LED_on_when_activity will light the LED only when
353 This setting will also affect the behaviour of other activity LEDs
356 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
357 bool "LED_on_when_activity"
359 Selecting LED_on_when_link will light the LED when there is a
360 connection and will flash off when there is activity.
362 Selecting LED_on_when_activity will light the LED only when
365 This setting will also affect the behaviour of other activity LEDs
371 prompt "Ser0 DMA out channel"
372 depends on ETRAX_SERIAL_PORT0
373 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
374 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
376 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
377 bool "Ser0 uses no DMA for output"
379 Do not use DMA for ser0 output.
381 config ETRAX_SERIAL_PORT0_DMA6_OUT
382 bool "Ser0 uses DMA6 for output"
385 Enables the DMA6 output channel for ser0 (ttyS0).
386 If you do not enable DMA, an interrupt for each character will be
387 used when transmitting data.
388 Normally you want to use DMA, unless you use the DMA channel for
391 config ETRAX_SERIAL_PORT0_DMA0_OUT
392 bool "Ser0 uses DMA0 for output"
393 depends on CRIS_MACH_ARTPEC3
395 Enables the DMA0 output channel for ser0 (ttyS0).
396 If you do not enable DMA, an interrupt for each character will be
397 used when transmitting data.
398 Normally you want to use DMA, unless you use the DMA channel for
404 prompt "Ser0 DMA in channel "
405 depends on ETRAX_SERIAL_PORT0
406 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
407 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
409 What DMA channel to use for ser0.
411 config ETRAX_SERIAL_PORT0_NO_DMA_IN
412 bool "Ser0 uses no DMA for input"
414 Do not use DMA for ser0 input.
416 config ETRAX_SERIAL_PORT0_DMA7_IN
417 bool "Ser0 uses DMA7 for input"
420 Enables the DMA7 input channel for ser0 (ttyS0).
421 If you do not enable DMA, an interrupt for each character will be
422 used when receiving data.
423 Normally you want to use DMA, unless you use the DMA channel for
426 config ETRAX_SERIAL_PORT0_DMA1_IN
427 bool "Ser0 uses DMA1 for input"
428 depends on CRIS_MACH_ARTPEC3
430 Enables the DMA1 input channel for ser0 (ttyS0).
431 If you do not enable DMA, an interrupt for each character will be
432 used when receiving data.
433 Normally you want to use DMA, unless you use the DMA channel for
439 prompt "Ser1 DMA in channel "
440 depends on ETRAX_SERIAL_PORT1
441 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
442 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
444 What DMA channel to use for ser1.
446 config ETRAX_SERIAL_PORT1_NO_DMA_IN
447 bool "Ser1 uses no DMA for input"
449 Do not use DMA for ser1 input.
451 config ETRAX_SERIAL_PORT1_DMA5_IN
452 bool "Ser1 uses DMA5 for input"
453 depends on ETRAX_ARCH_V32
455 Enables the DMA5 input channel for ser1 (ttyS1).
456 If you do not enable DMA, an interrupt for each character will be
457 used when receiving data.
458 Normally you want this on, unless you use the DMA channel for
461 config ETRAX_SERIAL_PORT1_DMA9_IN
462 depends on ETRAX_ARCH_V10
463 bool "Ser1 uses DMA9 for input"
469 prompt "Ser1 DMA out channel"
470 depends on ETRAX_SERIAL_PORT1
471 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
472 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
474 What DMA channel to use for ser1.
476 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
477 bool "Ser1 uses no DMA for output"
479 Do not use DMA for ser1 output.
481 config ETRAX_SERIAL_PORT1_DMA8_OUT
482 depends on ETRAX_ARCH_V10
483 bool "Ser1 uses DMA8 for output"
485 config ETRAX_SERIAL_PORT1_DMA4_OUT
486 depends on ETRAX_ARCH_V32
487 bool "Ser1 uses DMA4 for output"
489 Enables the DMA4 output channel for ser1 (ttyS1).
490 If you do not enable DMA, an interrupt for each character will be
491 used when transmitting data.
492 Normally you want this on, unless you use the DMA channel for
498 prompt "Ser2 DMA out channel"
499 depends on ETRAX_SERIAL_PORT2
500 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
501 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
503 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
504 bool "Ser2 uses no DMA for output"
506 Do not use DMA for ser2 output.
508 config ETRAX_SERIAL_PORT2_DMA2_OUT
509 bool "Ser2 uses DMA2 for output"
510 depends on ETRAXFS || ETRAX_ARCH_V10
512 Enables the DMA2 output channel for ser2 (ttyS2).
513 If you do not enable DMA, an interrupt for each character will be
514 used when transmitting data.
515 Normally you want to use DMA, unless you use the DMA channel for
518 config ETRAX_SERIAL_PORT2_DMA6_OUT
519 bool "Ser2 uses DMA6 for output"
520 depends on CRIS_MACH_ARTPEC3
522 Enables the DMA6 output channel for ser2 (ttyS2).
523 If you do not enable DMA, an interrupt for each character will be
524 used when transmitting data.
525 Normally you want to use DMA, unless you use the DMA channel for
531 prompt "Ser2 DMA in channel"
532 depends on ETRAX_SERIAL_PORT2
533 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
534 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
536 What DMA channel to use for ser2.
538 config ETRAX_SERIAL_PORT2_NO_DMA_IN
539 bool "Ser2 uses no DMA for input"
541 Do not use DMA for ser2 input.
543 config ETRAX_SERIAL_PORT2_DMA3_IN
544 bool "Ser2 uses DMA3 for input"
545 depends on ETRAXFS || ETRAX_ARCH_V10
547 Enables the DMA3 input channel for ser2 (ttyS2).
548 If you do not enable DMA, an interrupt for each character will be
549 used when receiving data.
550 Normally you want to use DMA, unless you use the DMA channel for
553 config ETRAX_SERIAL_PORT2_DMA7_IN
554 bool "Ser2 uses DMA7 for input"
555 depends on CRIS_MACH_ARTPEC3
557 Enables the DMA7 input channel for ser2 (ttyS2).
558 If you do not enable DMA, an interrupt for each character will be
559 used when receiving data.
560 Normally you want to use DMA, unless you use the DMA channel for
566 prompt "Ser3 DMA in channel"
567 depends on ETRAX_SERIAL_PORT3
568 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
569 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
571 What DMA channel to use for ser3.
573 config ETRAX_SERIAL_PORT3_NO_DMA_IN
574 bool "Ser3 uses no DMA for input"
576 Do not use DMA for ser3 input.
578 config ETRAX_SERIAL_PORT3_DMA5_IN
579 depends on ETRAX_ARCH_V10
582 config ETRAX_SERIAL_PORT3_DMA9_IN
583 bool "Ser3 uses DMA9 for input"
586 Enables the DMA9 input channel for ser3 (ttyS3).
587 If you do not enable DMA, an interrupt for each character will be
588 used when receiving data.
589 Normally you want to use DMA, unless you use the DMA channel for
592 config ETRAX_SERIAL_PORT3_DMA3_IN
593 bool "Ser3 uses DMA3 for input"
594 depends on CRIS_MACH_ARTPEC3
596 Enables the DMA3 input channel for ser3 (ttyS3).
597 If you do not enable DMA, an interrupt for each character will be
598 used when receiving data.
599 Normally you want to use DMA, unless you use the DMA channel for
605 prompt "Ser3 DMA out channel"
606 depends on ETRAX_SERIAL_PORT3
607 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
608 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
610 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
611 bool "Ser3 uses no DMA for output"
613 Do not use DMA for ser3 output.
615 config ETRAX_SERIAL_PORT3_DMA4_OUT
616 depends on ETRAX_ARCH_V10
619 config ETRAX_SERIAL_PORT3_DMA8_OUT
620 bool "Ser3 uses DMA8 for output"
623 Enables the DMA8 output channel for ser3 (ttyS3).
624 If you do not enable DMA, an interrupt for each character will be
625 used when transmitting data.
626 Normally you want to use DMA, unless you use the DMA channel for
629 config ETRAX_SERIAL_PORT3_DMA2_OUT
630 bool "Ser3 uses DMA2 for output"
631 depends on CRIS_MACH_ARTPEC3
633 Enables the DMA2 output channel for ser3 (ttyS3).
634 If you do not enable DMA, an interrupt for each character will be
635 used when transmitting data.
636 Normally you want to use DMA, unless you use the DMA channel for
643 source "drivers/base/Kconfig"
645 # standard linux drivers
646 source "drivers/mtd/Kconfig"
648 source "drivers/parport/Kconfig"
650 source "drivers/pnp/Kconfig"
652 source "drivers/block/Kconfig"
654 source "drivers/ide/Kconfig"
656 source "drivers/net/Kconfig"
658 source "drivers/i2c/Kconfig"
660 source "drivers/rtc/Kconfig"
663 # input before char - char/joystick depends on it. As does USB.
665 source "drivers/input/Kconfig"
667 source "drivers/char/Kconfig"
671 source "drivers/usb/Kconfig"
673 source "drivers/uwb/Kconfig"
675 source "drivers/staging/Kconfig"
677 source "arch/cris/Kconfig.debug"
679 source "security/Kconfig"
681 source "crypto/Kconfig"