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
47 select ARCH_WANT_IPC_PARSE_VERSION
48 select GENERIC_IRQ_SHOW
50 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
51 select GENERIC_CMOS_UPDATE
52 select MODULES_USE_ELF_RELA
53 select CLONE_BACKWARDS2
63 source "kernel/Kconfig.freezer"
67 source "fs/Kconfig.binfmt"
70 string "Kernel command line"
71 default "root=/dev/mtdblock3"
73 Pass additional commands to the kernel.
76 bool "Enable ETRAX watchdog"
78 Enable the built-in watchdog timer support on ETRAX based embedded
81 config ETRAX_WATCHDOG_NICE_DOGGY
82 bool "Disable watchdog during Oops printouts"
83 depends on ETRAX_WATCHDOG
85 By enabling this you make sure that the watchdog does not bite while
86 printing oopses. Recommended for development systems but not for
89 config ETRAX_FAST_TIMER
90 bool "Enable ETRAX fast timer API"
92 This options enables the API to a fast timer implementation using
93 timer1 to get sub jiffie resolution timers (primarily one-shot
95 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
97 config ETRAX_KMALLOCED_MODULES
98 bool "Enable module allocation with kmalloc"
100 Enable module allocation with kmalloc instead of vmalloc.
103 bool "Enable reboot at out of memory"
105 source "kernel/Kconfig.preempt"
111 menu "Hardware setup"
114 prompt "Processor type"
118 bool "ETRAX-100LX-v1"
119 select ARCH_USES_GETTIMEOFFSET
121 Support version 1 of the ETRAX 100LX.
124 bool "ETRAX-100LX-v2"
125 select ARCH_USES_GETTIMEOFFSET
127 Support version 2 of the ETRAX 100LX.
130 bool "ETRAX-100LX-for-xsim-simulator"
131 select ARCH_USES_GETTIMEOFFSET
133 Support the xsim ETRAX Simulator.
140 config CRIS_MACH_ARTPEC3
143 Support Axis ARTPEC-3.
147 config ETRAX_ARCH_V10
149 default y if ETRAX100LX || ETRAX100LX_V2
150 default n if !(ETRAX100LX || ETRAX100LX_V2)
152 config ETRAX_ARCH_V32
154 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
155 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
157 config ETRAX_DRAM_SIZE
158 int "DRAM size (dec, in MB)"
161 Size of DRAM (decimal in MB) typically 2, 8 or 16.
163 config ETRAX_VMEM_SIZE
164 int "Video memory size (dec, in MB)"
165 depends on ETRAX_ARCH_V32 && !ETRAXFS
166 default 8 if !ETRAXFS
168 Size of Video accessible memory (decimal, in MB).
170 config ETRAX_FLASH_BUSWIDTH
171 int "Buswidth of NOR flash in bytes"
174 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
176 config ETRAX_NANDFLASH_BUSWIDTH
177 int "Buswidth of NAND flash in bytes"
180 Width in bytes of the NAND flash (1 or 2).
182 config ETRAX_FLASH1_SIZE
183 int "FLASH1 size (dec, in MB. 0 = Unknown)"
187 prompt "Product debug-port"
188 default ETRAX_DEBUG_PORT0
190 config ETRAX_DEBUG_PORT0
193 Choose a serial port for the ETRAX debug console. Default to
196 config ETRAX_DEBUG_PORT1
199 Use serial port 1 for the console.
201 config ETRAX_DEBUG_PORT2
204 Use serial port 2 for the console.
206 config ETRAX_DEBUG_PORT3
209 Use serial port 3 for the console.
211 config ETRAX_DEBUG_PORT_NULL
214 Disable serial-port debugging.
219 prompt "Kernel GDB port"
220 depends on ETRAX_KGDB
221 default ETRAX_KGDB_PORT0
223 Choose a serial port for kernel debugging. NOTE: This port should
224 not be enabled under Drivers for built-in interfaces (as it has its
225 own initialization code) and should not be the same as the debug port.
227 config ETRAX_KGDB_PORT0
230 Use serial port 0 for kernel debugging.
232 config ETRAX_KGDB_PORT1
235 Use serial port 1 for kernel debugging.
237 config ETRAX_KGDB_PORT2
240 Use serial port 2 for kernel debugging.
242 config ETRAX_KGDB_PORT3
245 Use serial port 3 for kernel debugging.
249 source arch/cris/arch-v10/Kconfig
250 source arch/cris/arch-v32/Kconfig
256 # bring in ETRAX built-in drivers
257 menu "Drivers for built-in interfaces"
258 source arch/cris/arch-v10/drivers/Kconfig
259 source arch/cris/arch-v32/drivers/Kconfig
261 config ETRAX_AXISFLASHMAP
262 bool "Axis flash-map support"
265 select MTD_CFI_AMDSTD
266 select MTD_JEDECPROBE if ETRAX_ARCH_V32
269 select MTD_COMPLEX_MAPPINGS
271 This option enables MTD mapping of flash devices. Needed to use
272 flash memories. If unsure, say Y.
275 bool "Real Time Clock support"
278 Enables drivers for the Real-Time Clock battery-backed chips on
279 some products. The kernel reads the time when booting, and
280 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
281 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
282 /dev/rtc device. You can check the time with cat /proc/rtc, but
283 normal time reading should be done using libc function time and
292 depends on ETRAX_ARCH_V10
295 Enables the driver for the DS1302 Real-Time Clock battery-backed
296 chip on some products.
301 Enables the driver for the PCF8563 Real-Time Clock battery-backed
302 chip on some products.
306 config ETRAX_SYNCHRONOUS_SERIAL
307 bool "Synchronous serial-port support"
309 Select this to enable the synchronous serial port driver.
311 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
312 bool "Synchronous serial port 0 enabled"
313 depends on ETRAX_SYNCHRONOUS_SERIAL
315 Enabled synchronous serial port 0.
317 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
318 bool "Enable DMA on synchronous serial port 0."
319 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
321 A synchronous serial port can run in manual or DMA mode.
322 Selecting this option will make it run in DMA mode.
324 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
325 bool "Synchronous serial port 1 enabled"
326 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
328 Enabled synchronous serial port 1.
330 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
331 bool "Enable DMA on synchronous serial port 1."
332 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
334 A synchronous serial port can run in manual or DMA mode.
335 Selecting this option will make it run in DMA mode.
338 prompt "Network LED behavior"
339 depends on ETRAX_ETHERNET
340 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
342 config ETRAX_NETWORK_LED_ON_WHEN_LINK
343 bool "LED_on_when_link"
345 Selecting LED_on_when_link will light the LED when there is a
346 connection and will flash off when there is activity.
348 Selecting LED_on_when_activity will light the LED only when
351 This setting will also affect the behaviour of other activity LEDs
354 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
355 bool "LED_on_when_activity"
357 Selecting LED_on_when_link will light the LED when there is a
358 connection and will flash off when there is activity.
360 Selecting LED_on_when_activity will light the LED only when
363 This setting will also affect the behaviour of other activity LEDs
369 prompt "Ser0 DMA out channel"
370 depends on ETRAX_SERIAL_PORT0
371 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
372 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
374 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
375 bool "Ser0 uses no DMA for output"
377 Do not use DMA for ser0 output.
379 config ETRAX_SERIAL_PORT0_DMA6_OUT
380 bool "Ser0 uses DMA6 for output"
383 Enables the DMA6 output channel for ser0 (ttyS0).
384 If you do not enable DMA, an interrupt for each character will be
385 used when transmitting data.
386 Normally you want to use DMA, unless you use the DMA channel for
389 config ETRAX_SERIAL_PORT0_DMA0_OUT
390 bool "Ser0 uses DMA0 for output"
391 depends on CRIS_MACH_ARTPEC3
393 Enables the DMA0 output channel for ser0 (ttyS0).
394 If you do not enable DMA, an interrupt for each character will be
395 used when transmitting data.
396 Normally you want to use DMA, unless you use the DMA channel for
402 prompt "Ser0 DMA in channel "
403 depends on ETRAX_SERIAL_PORT0
404 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
405 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
407 What DMA channel to use for ser0.
409 config ETRAX_SERIAL_PORT0_NO_DMA_IN
410 bool "Ser0 uses no DMA for input"
412 Do not use DMA for ser0 input.
414 config ETRAX_SERIAL_PORT0_DMA7_IN
415 bool "Ser0 uses DMA7 for input"
418 Enables the DMA7 input channel for ser0 (ttyS0).
419 If you do not enable DMA, an interrupt for each character will be
420 used when receiving data.
421 Normally you want to use DMA, unless you use the DMA channel for
424 config ETRAX_SERIAL_PORT0_DMA1_IN
425 bool "Ser0 uses DMA1 for input"
426 depends on CRIS_MACH_ARTPEC3
428 Enables the DMA1 input channel for ser0 (ttyS0).
429 If you do not enable DMA, an interrupt for each character will be
430 used when receiving data.
431 Normally you want to use DMA, unless you use the DMA channel for
437 prompt "Ser1 DMA in channel "
438 depends on ETRAX_SERIAL_PORT1
439 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
440 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
442 What DMA channel to use for ser1.
444 config ETRAX_SERIAL_PORT1_NO_DMA_IN
445 bool "Ser1 uses no DMA for input"
447 Do not use DMA for ser1 input.
449 config ETRAX_SERIAL_PORT1_DMA5_IN
450 bool "Ser1 uses DMA5 for input"
451 depends on ETRAX_ARCH_V32
453 Enables the DMA5 input channel for ser1 (ttyS1).
454 If you do not enable DMA, an interrupt for each character will be
455 used when receiving data.
456 Normally you want this on, unless you use the DMA channel for
459 config ETRAX_SERIAL_PORT1_DMA9_IN
460 depends on ETRAX_ARCH_V10
461 bool "Ser1 uses DMA9 for input"
467 prompt "Ser1 DMA out channel"
468 depends on ETRAX_SERIAL_PORT1
469 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
470 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
472 What DMA channel to use for ser1.
474 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
475 bool "Ser1 uses no DMA for output"
477 Do not use DMA for ser1 output.
479 config ETRAX_SERIAL_PORT1_DMA8_OUT
480 depends on ETRAX_ARCH_V10
481 bool "Ser1 uses DMA8 for output"
483 config ETRAX_SERIAL_PORT1_DMA4_OUT
484 depends on ETRAX_ARCH_V32
485 bool "Ser1 uses DMA4 for output"
487 Enables the DMA4 output channel for ser1 (ttyS1).
488 If you do not enable DMA, an interrupt for each character will be
489 used when transmitting data.
490 Normally you want this on, unless you use the DMA channel for
496 prompt "Ser2 DMA out channel"
497 depends on ETRAX_SERIAL_PORT2
498 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
499 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
501 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
502 bool "Ser2 uses no DMA for output"
504 Do not use DMA for ser2 output.
506 config ETRAX_SERIAL_PORT2_DMA2_OUT
507 bool "Ser2 uses DMA2 for output"
508 depends on ETRAXFS || ETRAX_ARCH_V10
510 Enables the DMA2 output channel for ser2 (ttyS2).
511 If you do not enable DMA, an interrupt for each character will be
512 used when transmitting data.
513 Normally you want to use DMA, unless you use the DMA channel for
516 config ETRAX_SERIAL_PORT2_DMA6_OUT
517 bool "Ser2 uses DMA6 for output"
518 depends on CRIS_MACH_ARTPEC3
520 Enables the DMA6 output channel for ser2 (ttyS2).
521 If you do not enable DMA, an interrupt for each character will be
522 used when transmitting data.
523 Normally you want to use DMA, unless you use the DMA channel for
529 prompt "Ser2 DMA in channel"
530 depends on ETRAX_SERIAL_PORT2
531 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
532 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
534 What DMA channel to use for ser2.
536 config ETRAX_SERIAL_PORT2_NO_DMA_IN
537 bool "Ser2 uses no DMA for input"
539 Do not use DMA for ser2 input.
541 config ETRAX_SERIAL_PORT2_DMA3_IN
542 bool "Ser2 uses DMA3 for input"
543 depends on ETRAXFS || ETRAX_ARCH_V10
545 Enables the DMA3 input channel for ser2 (ttyS2).
546 If you do not enable DMA, an interrupt for each character will be
547 used when receiving data.
548 Normally you want to use DMA, unless you use the DMA channel for
551 config ETRAX_SERIAL_PORT2_DMA7_IN
552 bool "Ser2 uses DMA7 for input"
553 depends on CRIS_MACH_ARTPEC3
555 Enables the DMA7 input channel for ser2 (ttyS2).
556 If you do not enable DMA, an interrupt for each character will be
557 used when receiving data.
558 Normally you want to use DMA, unless you use the DMA channel for
564 prompt "Ser3 DMA in channel"
565 depends on ETRAX_SERIAL_PORT3
566 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
567 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
569 What DMA channel to use for ser3.
571 config ETRAX_SERIAL_PORT3_NO_DMA_IN
572 bool "Ser3 uses no DMA for input"
574 Do not use DMA for ser3 input.
576 config ETRAX_SERIAL_PORT3_DMA5_IN
577 depends on ETRAX_ARCH_V10
580 config ETRAX_SERIAL_PORT3_DMA9_IN
581 bool "Ser3 uses DMA9 for input"
584 Enables the DMA9 input channel for ser3 (ttyS3).
585 If you do not enable DMA, an interrupt for each character will be
586 used when receiving data.
587 Normally you want to use DMA, unless you use the DMA channel for
590 config ETRAX_SERIAL_PORT3_DMA3_IN
591 bool "Ser3 uses DMA3 for input"
592 depends on CRIS_MACH_ARTPEC3
594 Enables the DMA3 input channel for ser3 (ttyS3).
595 If you do not enable DMA, an interrupt for each character will be
596 used when receiving data.
597 Normally you want to use DMA, unless you use the DMA channel for
603 prompt "Ser3 DMA out channel"
604 depends on ETRAX_SERIAL_PORT3
605 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
606 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
608 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
609 bool "Ser3 uses no DMA for output"
611 Do not use DMA for ser3 output.
613 config ETRAX_SERIAL_PORT3_DMA4_OUT
614 depends on ETRAX_ARCH_V10
617 config ETRAX_SERIAL_PORT3_DMA8_OUT
618 bool "Ser3 uses DMA8 for output"
621 Enables the DMA8 output channel for ser3 (ttyS3).
622 If you do not enable DMA, an interrupt for each character will be
623 used when transmitting data.
624 Normally you want to use DMA, unless you use the DMA channel for
627 config ETRAX_SERIAL_PORT3_DMA2_OUT
628 bool "Ser3 uses DMA2 for output"
629 depends on CRIS_MACH_ARTPEC3
631 Enables the DMA2 output channel for ser3 (ttyS3).
632 If you do not enable DMA, an interrupt for each character will be
633 used when transmitting data.
634 Normally you want to use DMA, unless you use the DMA channel for
641 source "drivers/base/Kconfig"
643 # standard linux drivers
644 source "drivers/mtd/Kconfig"
646 source "drivers/parport/Kconfig"
648 source "drivers/pnp/Kconfig"
650 source "drivers/block/Kconfig"
652 source "drivers/ide/Kconfig"
654 source "drivers/net/Kconfig"
656 source "drivers/i2c/Kconfig"
658 source "drivers/rtc/Kconfig"
661 # input before char - char/joystick depends on it. As does USB.
663 source "drivers/input/Kconfig"
665 source "drivers/char/Kconfig"
669 source "drivers/usb/Kconfig"
671 source "drivers/uwb/Kconfig"
673 source "drivers/staging/Kconfig"
675 source "arch/cris/Kconfig.debug"
677 source "security/Kconfig"
679 source "crypto/Kconfig"