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
59 source "kernel/Kconfig.freezer"
63 source "fs/Kconfig.binfmt"
66 string "Kernel command line"
67 default "root=/dev/mtdblock3"
69 Pass additional commands to the kernel.
72 bool "Enable ETRAX watchdog"
74 Enable the built-in watchdog timer support on ETRAX based embedded
77 config ETRAX_WATCHDOG_NICE_DOGGY
78 bool "Disable watchdog during Oops printouts"
79 depends on ETRAX_WATCHDOG
81 By enabling this you make sure that the watchdog does not bite while
82 printing oopses. Recommended for development systems but not for
85 config ETRAX_FAST_TIMER
86 bool "Enable ETRAX fast timer API"
88 This options enables the API to a fast timer implementation using
89 timer1 to get sub jiffie resolution timers (primarily one-shot
91 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
93 config ETRAX_KMALLOCED_MODULES
94 bool "Enable module allocation with kmalloc"
96 Enable module allocation with kmalloc instead of vmalloc.
99 bool "Enable reboot at out of memory"
101 source "kernel/Kconfig.preempt"
107 menu "Hardware setup"
110 prompt "Processor type"
114 bool "ETRAX-100LX-v1"
115 select ARCH_USES_GETTIMEOFFSET
117 Support version 1 of the ETRAX 100LX.
120 bool "ETRAX-100LX-v2"
121 select ARCH_USES_GETTIMEOFFSET
123 Support version 2 of the ETRAX 100LX.
126 bool "ETRAX-100LX-for-xsim-simulator"
127 select ARCH_USES_GETTIMEOFFSET
129 Support the xsim ETRAX Simulator.
136 config CRIS_MACH_ARTPEC3
139 Support Axis ARTPEC-3.
143 config ETRAX_ARCH_V10
145 default y if ETRAX100LX || ETRAX100LX_V2
146 default n if !(ETRAX100LX || ETRAX100LX_V2)
148 config ETRAX_ARCH_V32
150 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
151 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
153 config ETRAX_DRAM_SIZE
154 int "DRAM size (dec, in MB)"
157 Size of DRAM (decimal in MB) typically 2, 8 or 16.
159 config ETRAX_VMEM_SIZE
160 int "Video memory size (dec, in MB)"
161 depends on ETRAX_ARCH_V32 && !ETRAXFS
162 default 8 if !ETRAXFS
164 Size of Video accessible memory (decimal, in MB).
166 config ETRAX_FLASH_BUSWIDTH
167 int "Buswidth of NOR flash in bytes"
170 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
172 config ETRAX_NANDFLASH_BUSWIDTH
173 int "Buswidth of NAND flash in bytes"
176 Width in bytes of the NAND flash (1 or 2).
178 config ETRAX_FLASH1_SIZE
179 int "FLASH1 size (dec, in MB. 0 = Unknown)"
183 prompt "Product debug-port"
184 default ETRAX_DEBUG_PORT0
186 config ETRAX_DEBUG_PORT0
189 Choose a serial port for the ETRAX debug console. Default to
192 config ETRAX_DEBUG_PORT1
195 Use serial port 1 for the console.
197 config ETRAX_DEBUG_PORT2
200 Use serial port 2 for the console.
202 config ETRAX_DEBUG_PORT3
205 Use serial port 3 for the console.
207 config ETRAX_DEBUG_PORT_NULL
210 Disable serial-port debugging.
215 prompt "Kernel GDB port"
216 depends on ETRAX_KGDB
217 default ETRAX_KGDB_PORT0
219 Choose a serial port for kernel debugging. NOTE: This port should
220 not be enabled under Drivers for built-in interfaces (as it has its
221 own initialization code) and should not be the same as the debug port.
223 config ETRAX_KGDB_PORT0
226 Use serial port 0 for kernel debugging.
228 config ETRAX_KGDB_PORT1
231 Use serial port 1 for kernel debugging.
233 config ETRAX_KGDB_PORT2
236 Use serial port 2 for kernel debugging.
238 config ETRAX_KGDB_PORT3
241 Use serial port 3 for kernel debugging.
245 source arch/cris/arch-v10/Kconfig
246 source arch/cris/arch-v32/Kconfig
252 # bring in ETRAX built-in drivers
253 menu "Drivers for built-in interfaces"
254 source arch/cris/arch-v10/drivers/Kconfig
255 source arch/cris/arch-v32/drivers/Kconfig
257 config ETRAX_AXISFLASHMAP
258 bool "Axis flash-map support"
261 select MTD_CFI_AMDSTD
262 select MTD_JEDECPROBE if ETRAX_ARCH_V32
265 select MTD_COMPLEX_MAPPINGS
267 This option enables MTD mapping of flash devices. Needed to use
268 flash memories. If unsure, say Y.
271 bool "Real Time Clock support"
274 Enables drivers for the Real-Time Clock battery-backed chips on
275 some products. The kernel reads the time when booting, and
276 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
277 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
278 /dev/rtc device. You can check the time with cat /proc/rtc, but
279 normal time reading should be done using libc function time and
288 depends on ETRAX_ARCH_V10
291 Enables the driver for the DS1302 Real-Time Clock battery-backed
292 chip on some products.
297 Enables the driver for the PCF8563 Real-Time Clock battery-backed
298 chip on some products.
302 config ETRAX_SYNCHRONOUS_SERIAL
303 bool "Synchronous serial-port support"
305 Select this to enable the synchronous serial port driver.
307 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
308 bool "Synchronous serial port 0 enabled"
309 depends on ETRAX_SYNCHRONOUS_SERIAL
311 Enabled synchronous serial port 0.
313 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
314 bool "Enable DMA on synchronous serial port 0."
315 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
317 A synchronous serial port can run in manual or DMA mode.
318 Selecting this option will make it run in DMA mode.
320 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
321 bool "Synchronous serial port 1 enabled"
322 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
324 Enabled synchronous serial port 1.
326 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
327 bool "Enable DMA on synchronous serial port 1."
328 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
330 A synchronous serial port can run in manual or DMA mode.
331 Selecting this option will make it run in DMA mode.
334 prompt "Network LED behavior"
335 depends on ETRAX_ETHERNET
336 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
338 config ETRAX_NETWORK_LED_ON_WHEN_LINK
339 bool "LED_on_when_link"
341 Selecting LED_on_when_link will light the LED when there is a
342 connection and will flash off when there is activity.
344 Selecting LED_on_when_activity will light the LED only when
347 This setting will also affect the behaviour of other activity LEDs
350 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
351 bool "LED_on_when_activity"
353 Selecting LED_on_when_link will light the LED when there is a
354 connection and will flash off when there is activity.
356 Selecting LED_on_when_activity will light the LED only when
359 This setting will also affect the behaviour of other activity LEDs
365 prompt "Ser0 DMA out channel"
366 depends on ETRAX_SERIAL_PORT0
367 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
368 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
370 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
371 bool "Ser0 uses no DMA for output"
373 Do not use DMA for ser0 output.
375 config ETRAX_SERIAL_PORT0_DMA6_OUT
376 bool "Ser0 uses DMA6 for output"
379 Enables the DMA6 output channel for ser0 (ttyS0).
380 If you do not enable DMA, an interrupt for each character will be
381 used when transmitting data.
382 Normally you want to use DMA, unless you use the DMA channel for
385 config ETRAX_SERIAL_PORT0_DMA0_OUT
386 bool "Ser0 uses DMA0 for output"
387 depends on CRIS_MACH_ARTPEC3
389 Enables the DMA0 output channel for ser0 (ttyS0).
390 If you do not enable DMA, an interrupt for each character will be
391 used when transmitting data.
392 Normally you want to use DMA, unless you use the DMA channel for
398 prompt "Ser0 DMA in channel "
399 depends on ETRAX_SERIAL_PORT0
400 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
401 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
403 What DMA channel to use for ser0.
405 config ETRAX_SERIAL_PORT0_NO_DMA_IN
406 bool "Ser0 uses no DMA for input"
408 Do not use DMA for ser0 input.
410 config ETRAX_SERIAL_PORT0_DMA7_IN
411 bool "Ser0 uses DMA7 for input"
414 Enables the DMA7 input channel for ser0 (ttyS0).
415 If you do not enable DMA, an interrupt for each character will be
416 used when receiving data.
417 Normally you want to use DMA, unless you use the DMA channel for
420 config ETRAX_SERIAL_PORT0_DMA1_IN
421 bool "Ser0 uses DMA1 for input"
422 depends on CRIS_MACH_ARTPEC3
424 Enables the DMA1 input channel for ser0 (ttyS0).
425 If you do not enable DMA, an interrupt for each character will be
426 used when receiving data.
427 Normally you want to use DMA, unless you use the DMA channel for
433 prompt "Ser1 DMA in channel "
434 depends on ETRAX_SERIAL_PORT1
435 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
436 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
438 What DMA channel to use for ser1.
440 config ETRAX_SERIAL_PORT1_NO_DMA_IN
441 bool "Ser1 uses no DMA for input"
443 Do not use DMA for ser1 input.
445 config ETRAX_SERIAL_PORT1_DMA5_IN
446 bool "Ser1 uses DMA5 for input"
447 depends on ETRAX_ARCH_V32
449 Enables the DMA5 input channel for ser1 (ttyS1).
450 If you do not enable DMA, an interrupt for each character will be
451 used when receiving data.
452 Normally you want this on, unless you use the DMA channel for
455 config ETRAX_SERIAL_PORT1_DMA9_IN
456 depends on ETRAX_ARCH_V10
457 bool "Ser1 uses DMA9 for input"
463 prompt "Ser1 DMA out channel"
464 depends on ETRAX_SERIAL_PORT1
465 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
466 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
468 What DMA channel to use for ser1.
470 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
471 bool "Ser1 uses no DMA for output"
473 Do not use DMA for ser1 output.
475 config ETRAX_SERIAL_PORT1_DMA8_OUT
476 depends on ETRAX_ARCH_V10
477 bool "Ser1 uses DMA8 for output"
479 config ETRAX_SERIAL_PORT1_DMA4_OUT
480 depends on ETRAX_ARCH_V32
481 bool "Ser1 uses DMA4 for output"
483 Enables the DMA4 output channel for ser1 (ttyS1).
484 If you do not enable DMA, an interrupt for each character will be
485 used when transmitting data.
486 Normally you want this on, unless you use the DMA channel for
492 prompt "Ser2 DMA out channel"
493 depends on ETRAX_SERIAL_PORT2
494 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
495 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
497 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
498 bool "Ser2 uses no DMA for output"
500 Do not use DMA for ser2 output.
502 config ETRAX_SERIAL_PORT2_DMA2_OUT
503 bool "Ser2 uses DMA2 for output"
504 depends on ETRAXFS || ETRAX_ARCH_V10
506 Enables the DMA2 output channel for ser2 (ttyS2).
507 If you do not enable DMA, an interrupt for each character will be
508 used when transmitting data.
509 Normally you want to use DMA, unless you use the DMA channel for
512 config ETRAX_SERIAL_PORT2_DMA6_OUT
513 bool "Ser2 uses DMA6 for output"
514 depends on CRIS_MACH_ARTPEC3
516 Enables the DMA6 output channel for ser2 (ttyS2).
517 If you do not enable DMA, an interrupt for each character will be
518 used when transmitting data.
519 Normally you want to use DMA, unless you use the DMA channel for
525 prompt "Ser2 DMA in channel"
526 depends on ETRAX_SERIAL_PORT2
527 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
528 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
530 What DMA channel to use for ser2.
532 config ETRAX_SERIAL_PORT2_NO_DMA_IN
533 bool "Ser2 uses no DMA for input"
535 Do not use DMA for ser2 input.
537 config ETRAX_SERIAL_PORT2_DMA3_IN
538 bool "Ser2 uses DMA3 for input"
539 depends on ETRAXFS || ETRAX_ARCH_V10
541 Enables the DMA3 input channel for ser2 (ttyS2).
542 If you do not enable DMA, an interrupt for each character will be
543 used when receiving data.
544 Normally you want to use DMA, unless you use the DMA channel for
547 config ETRAX_SERIAL_PORT2_DMA7_IN
548 bool "Ser2 uses DMA7 for input"
549 depends on CRIS_MACH_ARTPEC3
551 Enables the DMA7 input channel for ser2 (ttyS2).
552 If you do not enable DMA, an interrupt for each character will be
553 used when receiving data.
554 Normally you want to use DMA, unless you use the DMA channel for
560 prompt "Ser3 DMA in channel"
561 depends on ETRAX_SERIAL_PORT3
562 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
563 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
565 What DMA channel to use for ser3.
567 config ETRAX_SERIAL_PORT3_NO_DMA_IN
568 bool "Ser3 uses no DMA for input"
570 Do not use DMA for ser3 input.
572 config ETRAX_SERIAL_PORT3_DMA5_IN
573 depends on ETRAX_ARCH_V10
576 config ETRAX_SERIAL_PORT3_DMA9_IN
577 bool "Ser3 uses DMA9 for input"
580 Enables the DMA9 input channel for ser3 (ttyS3).
581 If you do not enable DMA, an interrupt for each character will be
582 used when receiving data.
583 Normally you want to use DMA, unless you use the DMA channel for
586 config ETRAX_SERIAL_PORT3_DMA3_IN
587 bool "Ser3 uses DMA3 for input"
588 depends on CRIS_MACH_ARTPEC3
590 Enables the DMA3 input channel for ser3 (ttyS3).
591 If you do not enable DMA, an interrupt for each character will be
592 used when receiving data.
593 Normally you want to use DMA, unless you use the DMA channel for
599 prompt "Ser3 DMA out channel"
600 depends on ETRAX_SERIAL_PORT3
601 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
602 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
604 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
605 bool "Ser3 uses no DMA for output"
607 Do not use DMA for ser3 output.
609 config ETRAX_SERIAL_PORT3_DMA4_OUT
610 depends on ETRAX_ARCH_V10
613 config ETRAX_SERIAL_PORT3_DMA8_OUT
614 bool "Ser3 uses DMA8 for output"
617 Enables the DMA8 output channel for ser3 (ttyS3).
618 If you do not enable DMA, an interrupt for each character will be
619 used when transmitting data.
620 Normally you want to use DMA, unless you use the DMA channel for
623 config ETRAX_SERIAL_PORT3_DMA2_OUT
624 bool "Ser3 uses DMA2 for output"
625 depends on CRIS_MACH_ARTPEC3
627 Enables the DMA2 output channel for ser3 (ttyS3).
628 If you do not enable DMA, an interrupt for each character will be
629 used when transmitting data.
630 Normally you want to use DMA, unless you use the DMA channel for
637 source "drivers/base/Kconfig"
639 # standard linux drivers
640 source "drivers/mtd/Kconfig"
642 source "drivers/parport/Kconfig"
644 source "drivers/pnp/Kconfig"
646 source "drivers/block/Kconfig"
648 source "drivers/ide/Kconfig"
650 source "drivers/net/Kconfig"
652 source "drivers/i2c/Kconfig"
654 source "drivers/rtc/Kconfig"
657 # input before char - char/joystick depends on it. As does USB.
659 source "drivers/input/Kconfig"
661 source "drivers/char/Kconfig"
665 source "drivers/usb/Kconfig"
667 source "drivers/uwb/Kconfig"
669 source "drivers/staging/Kconfig"
671 source "arch/cris/Kconfig.debug"
673 source "security/Kconfig"
675 source "crypto/Kconfig"