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.
137 select CPU_FREQ_TABLE if CPU_FREQ
141 config CRIS_MACH_ARTPEC3
143 select CPU_FREQ_TABLE if CPU_FREQ
145 Support Axis ARTPEC-3.
149 config ETRAX_ARCH_V10
151 default y if ETRAX100LX || ETRAX100LX_V2
152 default n if !(ETRAX100LX || ETRAX100LX_V2)
154 config ETRAX_ARCH_V32
156 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
157 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
159 config ETRAX_DRAM_SIZE
160 int "DRAM size (dec, in MB)"
163 Size of DRAM (decimal in MB) typically 2, 8 or 16.
165 config ETRAX_VMEM_SIZE
166 int "Video memory size (dec, in MB)"
167 depends on ETRAX_ARCH_V32 && !ETRAXFS
168 default 8 if !ETRAXFS
170 Size of Video accessible memory (decimal, in MB).
172 config ETRAX_FLASH_BUSWIDTH
173 int "Buswidth of NOR flash in bytes"
176 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
178 config ETRAX_NANDFLASH_BUSWIDTH
179 int "Buswidth of NAND flash in bytes"
182 Width in bytes of the NAND flash (1 or 2).
184 config ETRAX_FLASH1_SIZE
185 int "FLASH1 size (dec, in MB. 0 = Unknown)"
189 prompt "Product debug-port"
190 default ETRAX_DEBUG_PORT0
192 config ETRAX_DEBUG_PORT0
195 Choose a serial port for the ETRAX debug console. Default to
198 config ETRAX_DEBUG_PORT1
201 Use serial port 1 for the console.
203 config ETRAX_DEBUG_PORT2
206 Use serial port 2 for the console.
208 config ETRAX_DEBUG_PORT3
211 Use serial port 3 for the console.
213 config ETRAX_DEBUG_PORT_NULL
216 Disable serial-port debugging.
221 prompt "Kernel GDB port"
222 depends on ETRAX_KGDB
223 default ETRAX_KGDB_PORT0
225 Choose a serial port for kernel debugging. NOTE: This port should
226 not be enabled under Drivers for built-in interfaces (as it has its
227 own initialization code) and should not be the same as the debug port.
229 config ETRAX_KGDB_PORT0
232 Use serial port 0 for kernel debugging.
234 config ETRAX_KGDB_PORT1
237 Use serial port 1 for kernel debugging.
239 config ETRAX_KGDB_PORT2
242 Use serial port 2 for kernel debugging.
244 config ETRAX_KGDB_PORT3
247 Use serial port 3 for kernel debugging.
251 source arch/cris/arch-v10/Kconfig
252 source arch/cris/arch-v32/Kconfig
258 # bring in ETRAX built-in drivers
259 menu "Drivers for built-in interfaces"
260 source arch/cris/arch-v10/drivers/Kconfig
261 source arch/cris/arch-v32/drivers/Kconfig
263 config ETRAX_AXISFLASHMAP
264 bool "Axis flash-map support"
267 select MTD_CFI_AMDSTD
268 select MTD_JEDECPROBE if ETRAX_ARCH_V32
270 select MTD_COMPLEX_MAPPINGS
272 This option enables MTD mapping of flash devices. Needed to use
273 flash memories. If unsure, say Y.
276 bool "Real Time Clock support"
279 Enables drivers for the Real-Time Clock battery-backed chips on
280 some products. The kernel reads the time when booting, and
281 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
282 rtc_time struct (see <file:arch/cris/include/asm/rtc.h>) on the
283 /dev/rtc device. You can check the time with cat /proc/rtc, but
284 normal time reading should be done using libc function time and
293 depends on ETRAX_ARCH_V10
296 Enables the driver for the DS1302 Real-Time Clock battery-backed
297 chip on some products.
302 Enables the driver for the PCF8563 Real-Time Clock battery-backed
303 chip on some products.
307 config ETRAX_SYNCHRONOUS_SERIAL
308 bool "Synchronous serial-port support"
310 Select this to enable the synchronous serial port driver.
312 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
313 bool "Synchronous serial port 0 enabled"
314 depends on ETRAX_SYNCHRONOUS_SERIAL
316 Enabled synchronous serial port 0.
318 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
319 bool "Enable DMA on synchronous serial port 0."
320 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
322 A synchronous serial port can run in manual or DMA mode.
323 Selecting this option will make it run in DMA mode.
325 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
326 bool "Synchronous serial port 1 enabled"
327 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
329 Enabled synchronous serial port 1.
331 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
332 bool "Enable DMA on synchronous serial port 1."
333 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
335 A synchronous serial port can run in manual or DMA mode.
336 Selecting this option will make it run in DMA mode.
339 prompt "Network LED behavior"
340 depends on ETRAX_ETHERNET
341 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
343 config ETRAX_NETWORK_LED_ON_WHEN_LINK
344 bool "LED_on_when_link"
346 Selecting LED_on_when_link will light the LED when there is a
347 connection and will flash off when there is activity.
349 Selecting LED_on_when_activity will light the LED only when
352 This setting will also affect the behaviour of other activity LEDs
355 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
356 bool "LED_on_when_activity"
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
370 prompt "Ser0 DMA out channel"
371 depends on ETRAX_SERIAL_PORT0
372 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
373 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
375 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
376 bool "Ser0 uses no DMA for output"
378 Do not use DMA for ser0 output.
380 config ETRAX_SERIAL_PORT0_DMA6_OUT
381 bool "Ser0 uses DMA6 for output"
384 Enables the DMA6 output channel for ser0 (ttyS0).
385 If you do not enable DMA, an interrupt for each character will be
386 used when transmitting data.
387 Normally you want to use DMA, unless you use the DMA channel for
390 config ETRAX_SERIAL_PORT0_DMA0_OUT
391 bool "Ser0 uses DMA0 for output"
392 depends on CRIS_MACH_ARTPEC3
394 Enables the DMA0 output channel for ser0 (ttyS0).
395 If you do not enable DMA, an interrupt for each character will be
396 used when transmitting data.
397 Normally you want to use DMA, unless you use the DMA channel for
403 prompt "Ser0 DMA in channel "
404 depends on ETRAX_SERIAL_PORT0
405 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
406 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
408 What DMA channel to use for ser0.
410 config ETRAX_SERIAL_PORT0_NO_DMA_IN
411 bool "Ser0 uses no DMA for input"
413 Do not use DMA for ser0 input.
415 config ETRAX_SERIAL_PORT0_DMA7_IN
416 bool "Ser0 uses DMA7 for input"
419 Enables the DMA7 input channel for ser0 (ttyS0).
420 If you do not enable DMA, an interrupt for each character will be
421 used when receiving data.
422 Normally you want to use DMA, unless you use the DMA channel for
425 config ETRAX_SERIAL_PORT0_DMA1_IN
426 bool "Ser0 uses DMA1 for input"
427 depends on CRIS_MACH_ARTPEC3
429 Enables the DMA1 input channel for ser0 (ttyS0).
430 If you do not enable DMA, an interrupt for each character will be
431 used when receiving data.
432 Normally you want to use DMA, unless you use the DMA channel for
438 prompt "Ser1 DMA in channel "
439 depends on ETRAX_SERIAL_PORT1
440 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
441 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
443 What DMA channel to use for ser1.
445 config ETRAX_SERIAL_PORT1_NO_DMA_IN
446 bool "Ser1 uses no DMA for input"
448 Do not use DMA for ser1 input.
450 config ETRAX_SERIAL_PORT1_DMA5_IN
451 bool "Ser1 uses DMA5 for input"
452 depends on ETRAX_ARCH_V32
454 Enables the DMA5 input channel for ser1 (ttyS1).
455 If you do not enable DMA, an interrupt for each character will be
456 used when receiving data.
457 Normally you want this on, unless you use the DMA channel for
460 config ETRAX_SERIAL_PORT1_DMA9_IN
461 depends on ETRAX_ARCH_V10
462 bool "Ser1 uses DMA9 for input"
468 prompt "Ser1 DMA out channel"
469 depends on ETRAX_SERIAL_PORT1
470 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
471 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
473 What DMA channel to use for ser1.
475 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
476 bool "Ser1 uses no DMA for output"
478 Do not use DMA for ser1 output.
480 config ETRAX_SERIAL_PORT1_DMA8_OUT
481 depends on ETRAX_ARCH_V10
482 bool "Ser1 uses DMA8 for output"
484 config ETRAX_SERIAL_PORT1_DMA4_OUT
485 depends on ETRAX_ARCH_V32
486 bool "Ser1 uses DMA4 for output"
488 Enables the DMA4 output channel for ser1 (ttyS1).
489 If you do not enable DMA, an interrupt for each character will be
490 used when transmitting data.
491 Normally you want this on, unless you use the DMA channel for
497 prompt "Ser2 DMA out channel"
498 depends on ETRAX_SERIAL_PORT2
499 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
500 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
502 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
503 bool "Ser2 uses no DMA for output"
505 Do not use DMA for ser2 output.
507 config ETRAX_SERIAL_PORT2_DMA2_OUT
508 bool "Ser2 uses DMA2 for output"
509 depends on ETRAXFS || ETRAX_ARCH_V10
511 Enables the DMA2 output channel for ser2 (ttyS2).
512 If you do not enable DMA, an interrupt for each character will be
513 used when transmitting data.
514 Normally you want to use DMA, unless you use the DMA channel for
517 config ETRAX_SERIAL_PORT2_DMA6_OUT
518 bool "Ser2 uses DMA6 for output"
519 depends on CRIS_MACH_ARTPEC3
521 Enables the DMA6 output channel for ser2 (ttyS2).
522 If you do not enable DMA, an interrupt for each character will be
523 used when transmitting data.
524 Normally you want to use DMA, unless you use the DMA channel for
530 prompt "Ser2 DMA in channel"
531 depends on ETRAX_SERIAL_PORT2
532 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
533 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
535 What DMA channel to use for ser2.
537 config ETRAX_SERIAL_PORT2_NO_DMA_IN
538 bool "Ser2 uses no DMA for input"
540 Do not use DMA for ser2 input.
542 config ETRAX_SERIAL_PORT2_DMA3_IN
543 bool "Ser2 uses DMA3 for input"
544 depends on ETRAXFS || ETRAX_ARCH_V10
546 Enables the DMA3 input channel for ser2 (ttyS2).
547 If you do not enable DMA, an interrupt for each character will be
548 used when receiving data.
549 Normally you want to use DMA, unless you use the DMA channel for
552 config ETRAX_SERIAL_PORT2_DMA7_IN
553 bool "Ser2 uses DMA7 for input"
554 depends on CRIS_MACH_ARTPEC3
556 Enables the DMA7 input channel for ser2 (ttyS2).
557 If you do not enable DMA, an interrupt for each character will be
558 used when receiving data.
559 Normally you want to use DMA, unless you use the DMA channel for
565 prompt "Ser3 DMA in channel"
566 depends on ETRAX_SERIAL_PORT3
567 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
568 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
570 What DMA channel to use for ser3.
572 config ETRAX_SERIAL_PORT3_NO_DMA_IN
573 bool "Ser3 uses no DMA for input"
575 Do not use DMA for ser3 input.
577 config ETRAX_SERIAL_PORT3_DMA5_IN
578 depends on ETRAX_ARCH_V10
581 config ETRAX_SERIAL_PORT3_DMA9_IN
582 bool "Ser3 uses DMA9 for input"
585 Enables the DMA9 input channel for ser3 (ttyS3).
586 If you do not enable DMA, an interrupt for each character will be
587 used when receiving data.
588 Normally you want to use DMA, unless you use the DMA channel for
591 config ETRAX_SERIAL_PORT3_DMA3_IN
592 bool "Ser3 uses DMA3 for input"
593 depends on CRIS_MACH_ARTPEC3
595 Enables the DMA3 input channel for ser3 (ttyS3).
596 If you do not enable DMA, an interrupt for each character will be
597 used when receiving data.
598 Normally you want to use DMA, unless you use the DMA channel for
604 prompt "Ser3 DMA out channel"
605 depends on ETRAX_SERIAL_PORT3
606 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
607 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
609 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
610 bool "Ser3 uses no DMA for output"
612 Do not use DMA for ser3 output.
614 config ETRAX_SERIAL_PORT3_DMA4_OUT
615 depends on ETRAX_ARCH_V10
618 config ETRAX_SERIAL_PORT3_DMA8_OUT
619 bool "Ser3 uses DMA8 for output"
622 Enables the DMA8 output channel for ser3 (ttyS3).
623 If you do not enable DMA, an interrupt for each character will be
624 used when transmitting data.
625 Normally you want to use DMA, unless you use the DMA channel for
628 config ETRAX_SERIAL_PORT3_DMA2_OUT
629 bool "Ser3 uses DMA2 for output"
630 depends on CRIS_MACH_ARTPEC3
632 Enables the DMA2 output channel for ser3 (ttyS3).
633 If you do not enable DMA, an interrupt for each character will be
634 used when transmitting data.
635 Normally you want to use DMA, unless you use the DMA channel for
642 source "drivers/Kconfig"
646 source "arch/cris/Kconfig.debug"
648 source "security/Kconfig"
650 source "crypto/Kconfig"