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.
141 config ETRAX_ARCH_V10
143 default y if ETRAX100LX || ETRAX100LX_V2
144 default n if !(ETRAX100LX || ETRAX100LX_V2)
146 config ETRAX_ARCH_V32
148 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
149 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
151 config ETRAX_DRAM_SIZE
152 int "DRAM size (dec, in MB)"
155 Size of DRAM (decimal in MB) typically 2, 8 or 16.
157 config ETRAX_VMEM_SIZE
158 int "Video memory size (dec, in MB)"
159 depends on ETRAX_ARCH_V32 && !ETRAXFS
160 default 8 if !ETRAXFS
162 Size of Video accessible memory (decimal, in MB).
164 config ETRAX_FLASH_BUSWIDTH
165 int "Buswidth of NOR flash in bytes"
168 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
170 config ETRAX_NANDFLASH_BUSWIDTH
171 int "Buswidth of NAND flash in bytes"
174 Width in bytes of the NAND flash (1 or 2).
176 config ETRAX_FLASH1_SIZE
177 int "FLASH1 size (dec, in MB. 0 = Unknown)"
181 prompt "Product debug-port"
182 default ETRAX_DEBUG_PORT0
184 config ETRAX_DEBUG_PORT0
187 Choose a serial port for the ETRAX debug console. Default to
190 config ETRAX_DEBUG_PORT1
193 Use serial port 1 for the console.
195 config ETRAX_DEBUG_PORT2
198 Use serial port 2 for the console.
200 config ETRAX_DEBUG_PORT3
203 Use serial port 3 for the console.
205 config ETRAX_DEBUG_PORT_NULL
208 Disable serial-port debugging.
213 prompt "Kernel GDB port"
214 depends on ETRAX_KGDB
215 default ETRAX_KGDB_PORT0
217 Choose a serial port for kernel debugging. NOTE: This port should
218 not be enabled under Drivers for built-in interfaces (as it has its
219 own initialization code) and should not be the same as the debug port.
221 config ETRAX_KGDB_PORT0
224 Use serial port 0 for kernel debugging.
226 config ETRAX_KGDB_PORT1
229 Use serial port 1 for kernel debugging.
231 config ETRAX_KGDB_PORT2
234 Use serial port 2 for kernel debugging.
236 config ETRAX_KGDB_PORT3
239 Use serial port 3 for kernel debugging.
243 source arch/cris/arch-v10/Kconfig
244 source arch/cris/arch-v32/Kconfig
250 # bring in ETRAX built-in drivers
251 menu "Drivers for built-in interfaces"
252 source arch/cris/arch-v10/drivers/Kconfig
253 source arch/cris/arch-v32/drivers/Kconfig
255 config ETRAX_AXISFLASHMAP
256 bool "Axis flash-map support"
259 select MTD_CFI_AMDSTD
260 select MTD_JEDECPROBE if ETRAX_ARCH_V32
263 select MTD_COMPLEX_MAPPINGS
265 This option enables MTD mapping of flash devices. Needed to use
266 flash memories. If unsure, say Y.
269 bool "Real Time Clock support"
272 Enables drivers for the Real-Time Clock battery-backed chips on
273 some products. The kernel reads the time when booting, and
274 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
275 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
276 /dev/rtc device. You can check the time with cat /proc/rtc, but
277 normal time reading should be done using libc function time and
286 depends on ETRAX_ARCH_V10
289 Enables the driver for the DS1302 Real-Time Clock battery-backed
290 chip on some products.
295 Enables the driver for the PCF8563 Real-Time Clock battery-backed
296 chip on some products.
300 config ETRAX_SYNCHRONOUS_SERIAL
301 bool "Synchronous serial-port support"
303 Select this to enable the synchronous serial port driver.
305 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
306 bool "Synchronous serial port 0 enabled"
307 depends on ETRAX_SYNCHRONOUS_SERIAL
309 Enabled synchronous serial port 0.
311 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
312 bool "Enable DMA on synchronous serial port 0."
313 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
315 A synchronous serial port can run in manual or DMA mode.
316 Selecting this option will make it run in DMA mode.
318 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
319 bool "Synchronous serial port 1 enabled"
320 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
322 Enabled synchronous serial port 1.
324 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
325 bool "Enable DMA on synchronous serial port 1."
326 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
328 A synchronous serial port can run in manual or DMA mode.
329 Selecting this option will make it run in DMA mode.
332 prompt "Network LED behavior"
333 depends on ETRAX_ETHERNET
334 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
336 config ETRAX_NETWORK_LED_ON_WHEN_LINK
337 bool "LED_on_when_link"
339 Selecting LED_on_when_link will light the LED when there is a
340 connection and will flash off when there is activity.
342 Selecting LED_on_when_activity will light the LED only when
345 This setting will also affect the behaviour of other activity LEDs
348 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
349 bool "LED_on_when_activity"
351 Selecting LED_on_when_link will light the LED when there is a
352 connection and will flash off when there is activity.
354 Selecting LED_on_when_activity will light the LED only when
357 This setting will also affect the behaviour of other activity LEDs
363 prompt "Ser0 DMA out channel"
364 depends on ETRAX_SERIAL_PORT0
365 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
366 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
368 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
369 bool "Ser0 uses no DMA for output"
371 Do not use DMA for ser0 output.
373 config ETRAX_SERIAL_PORT0_DMA6_OUT
374 bool "Ser0 uses DMA6 for output"
377 Enables the DMA6 output channel for ser0 (ttyS0).
378 If you do not enable DMA, an interrupt for each character will be
379 used when transmitting data.
380 Normally you want to use DMA, unless you use the DMA channel for
383 config ETRAX_SERIAL_PORT0_DMA0_OUT
384 bool "Ser0 uses DMA0 for output"
385 depends on CRIS_MACH_ARTPEC3
387 Enables the DMA0 output channel for ser0 (ttyS0).
388 If you do not enable DMA, an interrupt for each character will be
389 used when transmitting data.
390 Normally you want to use DMA, unless you use the DMA channel for
396 prompt "Ser0 DMA in channel "
397 depends on ETRAX_SERIAL_PORT0
398 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
399 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
401 What DMA channel to use for ser0.
403 config ETRAX_SERIAL_PORT0_NO_DMA_IN
404 bool "Ser0 uses no DMA for input"
406 Do not use DMA for ser0 input.
408 config ETRAX_SERIAL_PORT0_DMA7_IN
409 bool "Ser0 uses DMA7 for input"
412 Enables the DMA7 input channel for ser0 (ttyS0).
413 If you do not enable DMA, an interrupt for each character will be
414 used when receiving data.
415 Normally you want to use DMA, unless you use the DMA channel for
418 config ETRAX_SERIAL_PORT0_DMA1_IN
419 bool "Ser0 uses DMA1 for input"
420 depends on CRIS_MACH_ARTPEC3
422 Enables the DMA1 input channel for ser0 (ttyS0).
423 If you do not enable DMA, an interrupt for each character will be
424 used when receiving data.
425 Normally you want to use DMA, unless you use the DMA channel for
431 prompt "Ser1 DMA in channel "
432 depends on ETRAX_SERIAL_PORT1
433 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
434 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
436 What DMA channel to use for ser1.
438 config ETRAX_SERIAL_PORT1_NO_DMA_IN
439 bool "Ser1 uses no DMA for input"
441 Do not use DMA for ser1 input.
443 config ETRAX_SERIAL_PORT1_DMA5_IN
444 bool "Ser1 uses DMA5 for input"
445 depends on ETRAX_ARCH_V32
447 Enables the DMA5 input channel for ser1 (ttyS1).
448 If you do not enable DMA, an interrupt for each character will be
449 used when receiving data.
450 Normally you want this on, unless you use the DMA channel for
453 config ETRAX_SERIAL_PORT1_DMA9_IN
454 depends on ETRAX_ARCH_V10
455 bool "Ser1 uses DMA9 for input"
461 prompt "Ser1 DMA out channel"
462 depends on ETRAX_SERIAL_PORT1
463 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
464 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
466 What DMA channel to use for ser1.
468 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
469 bool "Ser1 uses no DMA for output"
471 Do not use DMA for ser1 output.
473 config ETRAX_SERIAL_PORT1_DMA8_OUT
474 depends on ETRAX_ARCH_V10
475 bool "Ser1 uses DMA8 for output"
477 config ETRAX_SERIAL_PORT1_DMA4_OUT
478 depends on ETRAX_ARCH_V32
479 bool "Ser1 uses DMA4 for output"
481 Enables the DMA4 output channel for ser1 (ttyS1).
482 If you do not enable DMA, an interrupt for each character will be
483 used when transmitting data.
484 Normally you want this on, unless you use the DMA channel for
490 prompt "Ser2 DMA out channel"
491 depends on ETRAX_SERIAL_PORT2
492 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
493 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
495 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
496 bool "Ser2 uses no DMA for output"
498 Do not use DMA for ser2 output.
500 config ETRAX_SERIAL_PORT2_DMA2_OUT
501 bool "Ser2 uses DMA2 for output"
502 depends on ETRAXFS || ETRAX_ARCH_V10
504 Enables the DMA2 output channel for ser2 (ttyS2).
505 If you do not enable DMA, an interrupt for each character will be
506 used when transmitting data.
507 Normally you want to use DMA, unless you use the DMA channel for
510 config ETRAX_SERIAL_PORT2_DMA6_OUT
511 bool "Ser2 uses DMA6 for output"
512 depends on CRIS_MACH_ARTPEC3
514 Enables the DMA6 output channel for ser2 (ttyS2).
515 If you do not enable DMA, an interrupt for each character will be
516 used when transmitting data.
517 Normally you want to use DMA, unless you use the DMA channel for
523 prompt "Ser2 DMA in channel"
524 depends on ETRAX_SERIAL_PORT2
525 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
526 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
528 What DMA channel to use for ser2.
530 config ETRAX_SERIAL_PORT2_NO_DMA_IN
531 bool "Ser2 uses no DMA for input"
533 Do not use DMA for ser2 input.
535 config ETRAX_SERIAL_PORT2_DMA3_IN
536 bool "Ser2 uses DMA3 for input"
537 depends on ETRAXFS || ETRAX_ARCH_V10
539 Enables the DMA3 input channel for ser2 (ttyS2).
540 If you do not enable DMA, an interrupt for each character will be
541 used when receiving data.
542 Normally you want to use DMA, unless you use the DMA channel for
545 config ETRAX_SERIAL_PORT2_DMA7_IN
546 bool "Ser2 uses DMA7 for input"
547 depends on CRIS_MACH_ARTPEC3
549 Enables the DMA7 input channel for ser2 (ttyS2).
550 If you do not enable DMA, an interrupt for each character will be
551 used when receiving data.
552 Normally you want to use DMA, unless you use the DMA channel for
558 prompt "Ser3 DMA in channel"
559 depends on ETRAX_SERIAL_PORT3
560 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
561 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
563 What DMA channel to use for ser3.
565 config ETRAX_SERIAL_PORT3_NO_DMA_IN
566 bool "Ser3 uses no DMA for input"
568 Do not use DMA for ser3 input.
570 config ETRAX_SERIAL_PORT3_DMA5_IN
571 depends on ETRAX_ARCH_V10
574 config ETRAX_SERIAL_PORT3_DMA9_IN
575 bool "Ser3 uses DMA9 for input"
578 Enables the DMA9 input channel for ser3 (ttyS3).
579 If you do not enable DMA, an interrupt for each character will be
580 used when receiving data.
581 Normally you want to use DMA, unless you use the DMA channel for
584 config ETRAX_SERIAL_PORT3_DMA3_IN
585 bool "Ser3 uses DMA3 for input"
586 depends on CRIS_MACH_ARTPEC3
588 Enables the DMA3 input channel for ser3 (ttyS3).
589 If you do not enable DMA, an interrupt for each character will be
590 used when receiving data.
591 Normally you want to use DMA, unless you use the DMA channel for
597 prompt "Ser3 DMA out channel"
598 depends on ETRAX_SERIAL_PORT3
599 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
600 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
602 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
603 bool "Ser3 uses no DMA for output"
605 Do not use DMA for ser3 output.
607 config ETRAX_SERIAL_PORT3_DMA4_OUT
608 depends on ETRAX_ARCH_V10
611 config ETRAX_SERIAL_PORT3_DMA8_OUT
612 bool "Ser3 uses DMA8 for output"
615 Enables the DMA8 output channel for ser3 (ttyS3).
616 If you do not enable DMA, an interrupt for each character will be
617 used when transmitting data.
618 Normally you want to use DMA, unless you use the DMA channel for
621 config ETRAX_SERIAL_PORT3_DMA2_OUT
622 bool "Ser3 uses DMA2 for output"
623 depends on CRIS_MACH_ARTPEC3
625 Enables the DMA2 output channel for ser3 (ttyS3).
626 If you do not enable DMA, an interrupt for each character will be
627 used when transmitting data.
628 Normally you want to use DMA, unless you use the DMA channel for
635 source "drivers/base/Kconfig"
637 # standard linux drivers
638 source "drivers/mtd/Kconfig"
640 source "drivers/parport/Kconfig"
642 source "drivers/pnp/Kconfig"
644 source "drivers/block/Kconfig"
646 source "drivers/ide/Kconfig"
648 source "drivers/net/Kconfig"
650 source "drivers/i2c/Kconfig"
652 source "drivers/rtc/Kconfig"
655 # input before char - char/joystick depends on it. As does USB.
657 source "drivers/input/Kconfig"
659 source "drivers/char/Kconfig"
663 source "drivers/usb/Kconfig"
665 source "drivers/uwb/Kconfig"
667 source "drivers/staging/Kconfig"
669 source "arch/cris/Kconfig.debug"
671 source "security/Kconfig"
673 source "crypto/Kconfig"