9 config RWSEM_GENERIC_SPINLOCK
13 config RWSEM_XCHGADD_ALGORITHM
16 config GENERIC_CMOS_UPDATE
19 config ARCH_USES_GETTIMEOFFSET
26 config ARCH_HAS_ILOG2_U32
30 config ARCH_HAS_ILOG2_U64
34 config GENERIC_FIND_NEXT_BIT
38 config GENERIC_HWEIGHT
42 config GENERIC_CALIBRATE_DELAY
49 config FORCE_MAX_ZONEORDER
64 source "kernel/Kconfig.freezer"
68 source "fs/Kconfig.binfmt"
70 config GENERIC_HARDIRQS
75 string "Kernel command line"
76 default "root=/dev/mtdblock3"
78 Pass additional commands to the kernel.
81 bool "Enable ETRAX watchdog"
83 Enable the built-in watchdog timer support on ETRAX based embedded
86 config ETRAX_WATCHDOG_NICE_DOGGY
87 bool "Disable watchdog during Oops printouts"
88 depends on ETRAX_WATCHDOG
90 By enabling this you make sure that the watchdog does not bite while
91 printing oopses. Recommended for development systems but not for
94 config ETRAX_FAST_TIMER
95 bool "Enable ETRAX fast timer API"
97 This options enables the API to a fast timer implementation using
98 timer1 to get sub jiffie resolution timers (primarily one-shot
100 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
102 config ETRAX_KMALLOCED_MODULES
103 bool "Enable module allocation with kmalloc"
105 Enable module allocation with kmalloc instead of vmalloc.
108 bool "Enable reboot at out of memory"
110 source "kernel/Kconfig.preempt"
116 menu "Hardware setup"
119 prompt "Processor type"
123 bool "ETRAX-100LX-v1"
124 select ARCH_USES_GETTIMEOFFSET
126 Support version 1 of the ETRAX 100LX.
129 bool "ETRAX-100LX-v2"
130 select ARCH_USES_GETTIMEOFFSET
132 Support version 2 of the ETRAX 100LX.
135 bool "ETRAX-100LX-for-xsim-simulator"
136 select ARCH_USES_GETTIMEOFFSET
138 Support the xsim ETRAX Simulator.
145 config CRIS_MACH_ARTPEC3
148 Support Axis ARTPEC-3.
155 Setup hardware to be run in the VCS simulator.
157 config ETRAX_ARCH_V10
159 default y if ETRAX100LX || ETRAX100LX_V2
160 default n if !(ETRAX100LX || ETRAX100LX_V2)
162 config ETRAX_ARCH_V32
164 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
165 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
167 config ETRAX_DRAM_SIZE
168 int "DRAM size (dec, in MB)"
171 Size of DRAM (decimal in MB) typically 2, 8 or 16.
173 config ETRAX_VMEM_SIZE
174 int "Video memory size (dec, in MB)"
175 depends on ETRAX_ARCH_V32 && !ETRAXFS
176 default 8 if !ETRAXFS
178 Size of Video accessible memory (decimal, in MB).
180 config ETRAX_FLASH_BUSWIDTH
181 int "Buswidth of NOR flash in bytes"
184 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
186 config ETRAX_NANDFLASH_BUSWIDTH
187 int "Buswidth of NAND flash in bytes"
190 Width in bytes of the NAND flash (1 or 2).
192 config ETRAX_FLASH1_SIZE
193 int "FLASH1 size (dec, in MB. 0 = Unknown)"
197 prompt "Product debug-port"
198 default ETRAX_DEBUG_PORT0
200 config ETRAX_DEBUG_PORT0
203 Choose a serial port for the ETRAX debug console. Default to
206 config ETRAX_DEBUG_PORT1
209 Use serial port 1 for the console.
211 config ETRAX_DEBUG_PORT2
214 Use serial port 2 for the console.
216 config ETRAX_DEBUG_PORT3
219 Use serial port 3 for the console.
221 config ETRAX_DEBUG_PORT_NULL
224 Disable serial-port debugging.
229 prompt "Kernel GDB port"
230 depends on ETRAX_KGDB
231 default ETRAX_KGDB_PORT0
233 Choose a serial port for kernel debugging. NOTE: This port should
234 not be enabled under Drivers for built-in interfaces (as it has its
235 own initialization code) and should not be the same as the debug port.
237 config ETRAX_KGDB_PORT0
240 Use serial port 0 for kernel debugging.
242 config ETRAX_KGDB_PORT1
245 Use serial port 1 for kernel debugging.
247 config ETRAX_KGDB_PORT2
250 Use serial port 2 for kernel debugging.
252 config ETRAX_KGDB_PORT3
255 Use serial port 3 for kernel debugging.
259 source arch/cris/arch-v10/Kconfig
260 source arch/cris/arch-v32/Kconfig
266 # bring in ETRAX built-in drivers
267 menu "Drivers for built-in interfaces"
268 source arch/cris/arch-v10/drivers/Kconfig
269 source arch/cris/arch-v32/drivers/Kconfig
271 config ETRAX_AXISFLASHMAP
272 bool "Axis flash-map support"
275 select MTD_CFI_AMDSTD
276 select MTD_JEDECPROBE if ETRAX_ARCH_V32
279 select MTD_PARTITIONS
281 select MTD_COMPLEX_MAPPINGS
283 This option enables MTD mapping of flash devices. Needed to use
284 flash memories. If unsure, say Y.
287 bool "Real Time Clock support"
290 Enables drivers for the Real-Time Clock battery-backed chips on
291 some products. The kernel reads the time when booting, and
292 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
293 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
294 device. You can check the time with cat /proc/rtc, but
295 normal time reading should be done using libc function time and
301 default ETRAX_PCF8563 if ETRAX_ARCH_V32
302 default ETRAX_DS1302 if ETRAX_ARCH_V10
305 depends on ETRAX_ARCH_V10
308 Enables the driver for the DS1302 Real-Time Clock battery-backed
309 chip on some products.
314 Enables the driver for the PCF8563 Real-Time Clock battery-backed
315 chip on some products.
319 config ETRAX_SYNCHRONOUS_SERIAL
320 bool "Synchronous serial-port support"
322 Select this to enable the synchronous serial port driver.
324 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
325 bool "Synchronous serial port 0 enabled"
326 depends on ETRAX_SYNCHRONOUS_SERIAL
328 Enabled synchronous serial port 0.
330 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
331 bool "Enable DMA on synchronous serial port 0."
332 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
334 A synchronous serial port can run in manual or DMA mode.
335 Selecting this option will make it run in DMA mode.
337 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
338 bool "Synchronous serial port 1 enabled"
339 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
341 Enabled synchronous serial port 1.
343 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
344 bool "Enable DMA on synchronous serial port 1."
345 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
347 A synchronous serial port can run in manual or DMA mode.
348 Selecting this option will make it run in DMA mode.
351 prompt "Network LED behavior"
352 depends on ETRAX_ETHERNET
353 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
355 config ETRAX_NETWORK_LED_ON_WHEN_LINK
356 bool "LED_on_when_link"
358 Selecting LED_on_when_link will light the LED when there is a
359 connection and will flash off when there is activity.
361 Selecting LED_on_when_activity will light the LED only when
364 This setting will also affect the behaviour of other activity LEDs
367 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
368 bool "LED_on_when_activity"
370 Selecting LED_on_when_link will light the LED when there is a
371 connection and will flash off when there is activity.
373 Selecting LED_on_when_activity will light the LED only when
376 This setting will also affect the behaviour of other activity LEDs
382 prompt "Ser0 DMA out channel"
383 depends on ETRAX_SERIAL_PORT0
384 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
385 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
387 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
388 bool "Ser0 uses no DMA for output"
390 Do not use DMA for ser0 output.
392 config ETRAX_SERIAL_PORT0_DMA6_OUT
393 bool "Ser0 uses DMA6 for output"
396 Enables the DMA6 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
402 config ETRAX_SERIAL_PORT0_DMA0_OUT
403 bool "Ser0 uses DMA0 for output"
404 depends on CRIS_MACH_ARTPEC3
406 Enables the DMA0 output channel for ser0 (ttyS0).
407 If you do not enable DMA, an interrupt for each character will be
408 used when transmitting data.
409 Normally you want to use DMA, unless you use the DMA channel for
415 prompt "Ser0 DMA in channel "
416 depends on ETRAX_SERIAL_PORT0
417 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
418 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
420 What DMA channel to use for ser0.
422 config ETRAX_SERIAL_PORT0_NO_DMA_IN
423 bool "Ser0 uses no DMA for input"
425 Do not use DMA for ser0 input.
427 config ETRAX_SERIAL_PORT0_DMA7_IN
428 bool "Ser0 uses DMA7 for input"
431 Enables the DMA7 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
437 config ETRAX_SERIAL_PORT0_DMA1_IN
438 bool "Ser0 uses DMA1 for input"
439 depends on CRIS_MACH_ARTPEC3
441 Enables the DMA1 input channel for ser0 (ttyS0).
442 If you do not enable DMA, an interrupt for each character will be
443 used when receiving data.
444 Normally you want to use DMA, unless you use the DMA channel for
450 prompt "Ser1 DMA in channel "
451 depends on ETRAX_SERIAL_PORT1
452 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
453 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
455 What DMA channel to use for ser1.
457 config ETRAX_SERIAL_PORT1_NO_DMA_IN
458 bool "Ser1 uses no DMA for input"
460 Do not use DMA for ser1 input.
462 config ETRAX_SERIAL_PORT1_DMA5_IN
463 bool "Ser1 uses DMA5 for input"
464 depends on ETRAX_ARCH_V32
466 Enables the DMA5 input channel for ser1 (ttyS1).
467 If you do not enable DMA, an interrupt for each character will be
468 used when receiving data.
469 Normally you want this on, unless you use the DMA channel for
472 config ETRAX_SERIAL_PORT1_DMA9_IN
473 depends on ETRAX_ARCH_V10
474 bool "Ser1 uses DMA9 for input"
480 prompt "Ser1 DMA out channel"
481 depends on ETRAX_SERIAL_PORT1
482 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
483 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
485 What DMA channel to use for ser1.
487 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
488 bool "Ser1 uses no DMA for output"
490 Do not use DMA for ser1 output.
492 config ETRAX_SERIAL_PORT1_DMA8_OUT
493 depends on ETRAX_ARCH_V10
494 bool "Ser1 uses DMA8 for output"
496 config ETRAX_SERIAL_PORT1_DMA4_OUT
497 depends on ETRAX_ARCH_V32
498 bool "Ser1 uses DMA4 for output"
500 Enables the DMA4 output channel for ser1 (ttyS1).
501 If you do not enable DMA, an interrupt for each character will be
502 used when transmitting data.
503 Normally you want this on, unless you use the DMA channel for
509 prompt "Ser2 DMA out channel"
510 depends on ETRAX_SERIAL_PORT2
511 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
512 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
514 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
515 bool "Ser2 uses no DMA for output"
517 Do not use DMA for ser2 output.
519 config ETRAX_SERIAL_PORT2_DMA2_OUT
520 bool "Ser2 uses DMA2 for output"
521 depends on ETRAXFS || ETRAX_ARCH_V10
523 Enables the DMA2 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
529 config ETRAX_SERIAL_PORT2_DMA6_OUT
530 bool "Ser2 uses DMA6 for output"
531 depends on CRIS_MACH_ARTPEC3
533 Enables the DMA6 output channel for ser2 (ttyS2).
534 If you do not enable DMA, an interrupt for each character will be
535 used when transmitting data.
536 Normally you want to use DMA, unless you use the DMA channel for
542 prompt "Ser2 DMA in channel"
543 depends on ETRAX_SERIAL_PORT2
544 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
545 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
547 What DMA channel to use for ser2.
549 config ETRAX_SERIAL_PORT2_NO_DMA_IN
550 bool "Ser2 uses no DMA for input"
552 Do not use DMA for ser2 input.
554 config ETRAX_SERIAL_PORT2_DMA3_IN
555 bool "Ser2 uses DMA3 for input"
556 depends on ETRAXFS || ETRAX_ARCH_V10
558 Enables the DMA3 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
564 config ETRAX_SERIAL_PORT2_DMA7_IN
565 bool "Ser2 uses DMA7 for input"
566 depends on CRIS_MACH_ARTPEC3
568 Enables the DMA7 input channel for ser2 (ttyS2).
569 If you do not enable DMA, an interrupt for each character will be
570 used when receiving data.
571 Normally you want to use DMA, unless you use the DMA channel for
577 prompt "Ser3 DMA in channel"
578 depends on ETRAX_SERIAL_PORT3
579 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
580 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
582 What DMA channel to use for ser3.
584 config ETRAX_SERIAL_PORT3_NO_DMA_IN
585 bool "Ser3 uses no DMA for input"
587 Do not use DMA for ser3 input.
589 config ETRAX_SERIAL_PORT3_DMA5_IN
590 depends on ETRAX_ARCH_V10
593 config ETRAX_SERIAL_PORT3_DMA9_IN
594 bool "Ser3 uses DMA9 for input"
597 Enables the DMA9 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
603 config ETRAX_SERIAL_PORT3_DMA3_IN
604 bool "Ser3 uses DMA3 for input"
605 depends on CRIS_MACH_ARTPEC3
607 Enables the DMA3 input channel for ser3 (ttyS3).
608 If you do not enable DMA, an interrupt for each character will be
609 used when receiving data.
610 Normally you want to use DMA, unless you use the DMA channel for
616 prompt "Ser3 DMA out channel"
617 depends on ETRAX_SERIAL_PORT3
618 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
619 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
621 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
622 bool "Ser3 uses no DMA for output"
624 Do not use DMA for ser3 output.
626 config ETRAX_SERIAL_PORT3_DMA4_OUT
627 depends on ETRAX_ARCH_V10
630 config ETRAX_SERIAL_PORT3_DMA8_OUT
631 bool "Ser3 uses DMA8 for output"
634 Enables the DMA8 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
640 config ETRAX_SERIAL_PORT3_DMA2_OUT
641 bool "Ser3 uses DMA2 for output"
642 depends on CRIS_MACH_ARTPEC3
644 Enables the DMA2 output channel for ser3 (ttyS3).
645 If you do not enable DMA, an interrupt for each character will be
646 used when transmitting data.
647 Normally you want to use DMA, unless you use the DMA channel for
654 source "drivers/base/Kconfig"
656 # standard linux drivers
657 source "drivers/mtd/Kconfig"
659 source "drivers/parport/Kconfig"
661 source "drivers/pnp/Kconfig"
663 source "drivers/block/Kconfig"
665 source "drivers/ide/Kconfig"
667 source "drivers/net/Kconfig"
669 source "drivers/i2c/Kconfig"
671 source "drivers/rtc/Kconfig"
674 # input before char - char/joystick depends on it. As does USB.
676 source "drivers/input/Kconfig"
678 source "drivers/char/Kconfig"
682 source "drivers/usb/Kconfig"
684 source "drivers/uwb/Kconfig"
686 source "drivers/staging/Kconfig"
688 source "arch/cris/Kconfig.debug"
690 source "security/Kconfig"
692 source "crypto/Kconfig"