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 ARCH_WANT_IPC_PARSE_VERSION
46 select GENERIC_IRQ_SHOW
48 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
49 select GENERIC_CMOS_UPDATE
57 source "kernel/Kconfig.freezer"
61 source "fs/Kconfig.binfmt"
64 string "Kernel command line"
65 default "root=/dev/mtdblock3"
67 Pass additional commands to the kernel.
70 bool "Enable ETRAX watchdog"
72 Enable the built-in watchdog timer support on ETRAX based embedded
75 config ETRAX_WATCHDOG_NICE_DOGGY
76 bool "Disable watchdog during Oops printouts"
77 depends on ETRAX_WATCHDOG
79 By enabling this you make sure that the watchdog does not bite while
80 printing oopses. Recommended for development systems but not for
83 config ETRAX_FAST_TIMER
84 bool "Enable ETRAX fast timer API"
86 This options enables the API to a fast timer implementation using
87 timer1 to get sub jiffie resolution timers (primarily one-shot
89 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
91 config ETRAX_KMALLOCED_MODULES
92 bool "Enable module allocation with kmalloc"
94 Enable module allocation with kmalloc instead of vmalloc.
97 bool "Enable reboot at out of memory"
99 source "kernel/Kconfig.preempt"
105 menu "Hardware setup"
108 prompt "Processor type"
112 bool "ETRAX-100LX-v1"
113 select ARCH_USES_GETTIMEOFFSET
115 Support version 1 of the ETRAX 100LX.
118 bool "ETRAX-100LX-v2"
119 select ARCH_USES_GETTIMEOFFSET
121 Support version 2 of the ETRAX 100LX.
124 bool "ETRAX-100LX-for-xsim-simulator"
125 select ARCH_USES_GETTIMEOFFSET
127 Support the xsim ETRAX Simulator.
134 config CRIS_MACH_ARTPEC3
137 Support Axis ARTPEC-3.
144 Setup hardware to be run in the VCS simulator.
146 config ETRAX_ARCH_V10
148 default y if ETRAX100LX || ETRAX100LX_V2
149 default n if !(ETRAX100LX || ETRAX100LX_V2)
151 config ETRAX_ARCH_V32
153 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
154 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
156 config ETRAX_DRAM_SIZE
157 int "DRAM size (dec, in MB)"
160 Size of DRAM (decimal in MB) typically 2, 8 or 16.
162 config ETRAX_VMEM_SIZE
163 int "Video memory size (dec, in MB)"
164 depends on ETRAX_ARCH_V32 && !ETRAXFS
165 default 8 if !ETRAXFS
167 Size of Video accessible memory (decimal, in MB).
169 config ETRAX_FLASH_BUSWIDTH
170 int "Buswidth of NOR flash in bytes"
173 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
175 config ETRAX_NANDFLASH_BUSWIDTH
176 int "Buswidth of NAND flash in bytes"
179 Width in bytes of the NAND flash (1 or 2).
181 config ETRAX_FLASH1_SIZE
182 int "FLASH1 size (dec, in MB. 0 = Unknown)"
186 prompt "Product debug-port"
187 default ETRAX_DEBUG_PORT0
189 config ETRAX_DEBUG_PORT0
192 Choose a serial port for the ETRAX debug console. Default to
195 config ETRAX_DEBUG_PORT1
198 Use serial port 1 for the console.
200 config ETRAX_DEBUG_PORT2
203 Use serial port 2 for the console.
205 config ETRAX_DEBUG_PORT3
208 Use serial port 3 for the console.
210 config ETRAX_DEBUG_PORT_NULL
213 Disable serial-port debugging.
218 prompt "Kernel GDB port"
219 depends on ETRAX_KGDB
220 default ETRAX_KGDB_PORT0
222 Choose a serial port for kernel debugging. NOTE: This port should
223 not be enabled under Drivers for built-in interfaces (as it has its
224 own initialization code) and should not be the same as the debug port.
226 config ETRAX_KGDB_PORT0
229 Use serial port 0 for kernel debugging.
231 config ETRAX_KGDB_PORT1
234 Use serial port 1 for kernel debugging.
236 config ETRAX_KGDB_PORT2
239 Use serial port 2 for kernel debugging.
241 config ETRAX_KGDB_PORT3
244 Use serial port 3 for kernel debugging.
248 source arch/cris/arch-v10/Kconfig
249 source arch/cris/arch-v32/Kconfig
255 # bring in ETRAX built-in drivers
256 menu "Drivers for built-in interfaces"
257 source arch/cris/arch-v10/drivers/Kconfig
258 source arch/cris/arch-v32/drivers/Kconfig
260 config ETRAX_AXISFLASHMAP
261 bool "Axis flash-map support"
264 select MTD_CFI_AMDSTD
265 select MTD_JEDECPROBE if ETRAX_ARCH_V32
268 select MTD_COMPLEX_MAPPINGS
270 This option enables MTD mapping of flash devices. Needed to use
271 flash memories. If unsure, say Y.
274 bool "Real Time Clock support"
277 Enables drivers for the Real-Time Clock battery-backed chips on
278 some products. The kernel reads the time when booting, and
279 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
280 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
281 /dev/rtc device. You can check the time with cat /proc/rtc, but
282 normal time reading should be done using libc function time and
291 depends on ETRAX_ARCH_V10
294 Enables the driver for the DS1302 Real-Time Clock battery-backed
295 chip on some products.
300 Enables the driver for the PCF8563 Real-Time Clock battery-backed
301 chip on some products.
305 config ETRAX_SYNCHRONOUS_SERIAL
306 bool "Synchronous serial-port support"
308 Select this to enable the synchronous serial port driver.
310 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
311 bool "Synchronous serial port 0 enabled"
312 depends on ETRAX_SYNCHRONOUS_SERIAL
314 Enabled synchronous serial port 0.
316 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
317 bool "Enable DMA on synchronous serial port 0."
318 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
320 A synchronous serial port can run in manual or DMA mode.
321 Selecting this option will make it run in DMA mode.
323 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
324 bool "Synchronous serial port 1 enabled"
325 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
327 Enabled synchronous serial port 1.
329 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
330 bool "Enable DMA on synchronous serial port 1."
331 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
333 A synchronous serial port can run in manual or DMA mode.
334 Selecting this option will make it run in DMA mode.
337 prompt "Network LED behavior"
338 depends on ETRAX_ETHERNET
339 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
341 config ETRAX_NETWORK_LED_ON_WHEN_LINK
342 bool "LED_on_when_link"
344 Selecting LED_on_when_link will light the LED when there is a
345 connection and will flash off when there is activity.
347 Selecting LED_on_when_activity will light the LED only when
350 This setting will also affect the behaviour of other activity LEDs
353 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
354 bool "LED_on_when_activity"
356 Selecting LED_on_when_link will light the LED when there is a
357 connection and will flash off when there is activity.
359 Selecting LED_on_when_activity will light the LED only when
362 This setting will also affect the behaviour of other activity LEDs
368 prompt "Ser0 DMA out channel"
369 depends on ETRAX_SERIAL_PORT0
370 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
371 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
373 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
374 bool "Ser0 uses no DMA for output"
376 Do not use DMA for ser0 output.
378 config ETRAX_SERIAL_PORT0_DMA6_OUT
379 bool "Ser0 uses DMA6 for output"
382 Enables the DMA6 output channel for ser0 (ttyS0).
383 If you do not enable DMA, an interrupt for each character will be
384 used when transmitting data.
385 Normally you want to use DMA, unless you use the DMA channel for
388 config ETRAX_SERIAL_PORT0_DMA0_OUT
389 bool "Ser0 uses DMA0 for output"
390 depends on CRIS_MACH_ARTPEC3
392 Enables the DMA0 output channel for ser0 (ttyS0).
393 If you do not enable DMA, an interrupt for each character will be
394 used when transmitting data.
395 Normally you want to use DMA, unless you use the DMA channel for
401 prompt "Ser0 DMA in channel "
402 depends on ETRAX_SERIAL_PORT0
403 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
404 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
406 What DMA channel to use for ser0.
408 config ETRAX_SERIAL_PORT0_NO_DMA_IN
409 bool "Ser0 uses no DMA for input"
411 Do not use DMA for ser0 input.
413 config ETRAX_SERIAL_PORT0_DMA7_IN
414 bool "Ser0 uses DMA7 for input"
417 Enables the DMA7 input channel for ser0 (ttyS0).
418 If you do not enable DMA, an interrupt for each character will be
419 used when receiving data.
420 Normally you want to use DMA, unless you use the DMA channel for
423 config ETRAX_SERIAL_PORT0_DMA1_IN
424 bool "Ser0 uses DMA1 for input"
425 depends on CRIS_MACH_ARTPEC3
427 Enables the DMA1 input channel for ser0 (ttyS0).
428 If you do not enable DMA, an interrupt for each character will be
429 used when receiving data.
430 Normally you want to use DMA, unless you use the DMA channel for
436 prompt "Ser1 DMA in channel "
437 depends on ETRAX_SERIAL_PORT1
438 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
439 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
441 What DMA channel to use for ser1.
443 config ETRAX_SERIAL_PORT1_NO_DMA_IN
444 bool "Ser1 uses no DMA for input"
446 Do not use DMA for ser1 input.
448 config ETRAX_SERIAL_PORT1_DMA5_IN
449 bool "Ser1 uses DMA5 for input"
450 depends on ETRAX_ARCH_V32
452 Enables the DMA5 input channel for ser1 (ttyS1).
453 If you do not enable DMA, an interrupt for each character will be
454 used when receiving data.
455 Normally you want this on, unless you use the DMA channel for
458 config ETRAX_SERIAL_PORT1_DMA9_IN
459 depends on ETRAX_ARCH_V10
460 bool "Ser1 uses DMA9 for input"
466 prompt "Ser1 DMA out channel"
467 depends on ETRAX_SERIAL_PORT1
468 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
469 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
471 What DMA channel to use for ser1.
473 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
474 bool "Ser1 uses no DMA for output"
476 Do not use DMA for ser1 output.
478 config ETRAX_SERIAL_PORT1_DMA8_OUT
479 depends on ETRAX_ARCH_V10
480 bool "Ser1 uses DMA8 for output"
482 config ETRAX_SERIAL_PORT1_DMA4_OUT
483 depends on ETRAX_ARCH_V32
484 bool "Ser1 uses DMA4 for output"
486 Enables the DMA4 output channel for ser1 (ttyS1).
487 If you do not enable DMA, an interrupt for each character will be
488 used when transmitting data.
489 Normally you want this on, unless you use the DMA channel for
495 prompt "Ser2 DMA out channel"
496 depends on ETRAX_SERIAL_PORT2
497 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
498 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
500 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
501 bool "Ser2 uses no DMA for output"
503 Do not use DMA for ser2 output.
505 config ETRAX_SERIAL_PORT2_DMA2_OUT
506 bool "Ser2 uses DMA2 for output"
507 depends on ETRAXFS || ETRAX_ARCH_V10
509 Enables the DMA2 output channel for ser2 (ttyS2).
510 If you do not enable DMA, an interrupt for each character will be
511 used when transmitting data.
512 Normally you want to use DMA, unless you use the DMA channel for
515 config ETRAX_SERIAL_PORT2_DMA6_OUT
516 bool "Ser2 uses DMA6 for output"
517 depends on CRIS_MACH_ARTPEC3
519 Enables the DMA6 output channel for ser2 (ttyS2).
520 If you do not enable DMA, an interrupt for each character will be
521 used when transmitting data.
522 Normally you want to use DMA, unless you use the DMA channel for
528 prompt "Ser2 DMA in channel"
529 depends on ETRAX_SERIAL_PORT2
530 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
531 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
533 What DMA channel to use for ser2.
535 config ETRAX_SERIAL_PORT2_NO_DMA_IN
536 bool "Ser2 uses no DMA for input"
538 Do not use DMA for ser2 input.
540 config ETRAX_SERIAL_PORT2_DMA3_IN
541 bool "Ser2 uses DMA3 for input"
542 depends on ETRAXFS || ETRAX_ARCH_V10
544 Enables the DMA3 input channel for ser2 (ttyS2).
545 If you do not enable DMA, an interrupt for each character will be
546 used when receiving data.
547 Normally you want to use DMA, unless you use the DMA channel for
550 config ETRAX_SERIAL_PORT2_DMA7_IN
551 bool "Ser2 uses DMA7 for input"
552 depends on CRIS_MACH_ARTPEC3
554 Enables the DMA7 input channel for ser2 (ttyS2).
555 If you do not enable DMA, an interrupt for each character will be
556 used when receiving data.
557 Normally you want to use DMA, unless you use the DMA channel for
563 prompt "Ser3 DMA in channel"
564 depends on ETRAX_SERIAL_PORT3
565 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
566 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
568 What DMA channel to use for ser3.
570 config ETRAX_SERIAL_PORT3_NO_DMA_IN
571 bool "Ser3 uses no DMA for input"
573 Do not use DMA for ser3 input.
575 config ETRAX_SERIAL_PORT3_DMA5_IN
576 depends on ETRAX_ARCH_V10
579 config ETRAX_SERIAL_PORT3_DMA9_IN
580 bool "Ser3 uses DMA9 for input"
583 Enables the DMA9 input channel for ser3 (ttyS3).
584 If you do not enable DMA, an interrupt for each character will be
585 used when receiving data.
586 Normally you want to use DMA, unless you use the DMA channel for
589 config ETRAX_SERIAL_PORT3_DMA3_IN
590 bool "Ser3 uses DMA3 for input"
591 depends on CRIS_MACH_ARTPEC3
593 Enables the DMA3 input channel for ser3 (ttyS3).
594 If you do not enable DMA, an interrupt for each character will be
595 used when receiving data.
596 Normally you want to use DMA, unless you use the DMA channel for
602 prompt "Ser3 DMA out channel"
603 depends on ETRAX_SERIAL_PORT3
604 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
605 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
607 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
608 bool "Ser3 uses no DMA for output"
610 Do not use DMA for ser3 output.
612 config ETRAX_SERIAL_PORT3_DMA4_OUT
613 depends on ETRAX_ARCH_V10
616 config ETRAX_SERIAL_PORT3_DMA8_OUT
617 bool "Ser3 uses DMA8 for output"
620 Enables the DMA8 output channel for ser3 (ttyS3).
621 If you do not enable DMA, an interrupt for each character will be
622 used when transmitting data.
623 Normally you want to use DMA, unless you use the DMA channel for
626 config ETRAX_SERIAL_PORT3_DMA2_OUT
627 bool "Ser3 uses DMA2 for output"
628 depends on CRIS_MACH_ARTPEC3
630 Enables the DMA2 output channel for ser3 (ttyS3).
631 If you do not enable DMA, an interrupt for each character will be
632 used when transmitting data.
633 Normally you want to use DMA, unless you use the DMA channel for
640 source "drivers/base/Kconfig"
642 # standard linux drivers
643 source "drivers/mtd/Kconfig"
645 source "drivers/parport/Kconfig"
647 source "drivers/pnp/Kconfig"
649 source "drivers/block/Kconfig"
651 source "drivers/ide/Kconfig"
653 source "drivers/net/Kconfig"
655 source "drivers/i2c/Kconfig"
657 source "drivers/rtc/Kconfig"
660 # input before char - char/joystick depends on it. As does USB.
662 source "drivers/input/Kconfig"
664 source "drivers/char/Kconfig"
668 source "drivers/usb/Kconfig"
670 source "drivers/uwb/Kconfig"
672 source "drivers/staging/Kconfig"
674 source "arch/cris/Kconfig.debug"
676 source "security/Kconfig"
678 source "crypto/Kconfig"