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
39 config TRACE_IRQFLAGS_SUPPORT
40 depends on ETRAX_ARCH_V32
43 config STACKTRACE_SUPPORT
46 config LOCKDEP_SUPPORT
47 depends on ETRAX_ARCH_V32
54 select GENERIC_ATOMIC64
57 select ARCH_WANT_IPC_PARSE_VERSION
58 select GENERIC_IRQ_SHOW
60 select MODULES_USE_ELF_RELA
61 select CLONE_BACKWARDS2
64 select ARCH_REQUIRE_GPIOLIB
65 select IRQ_DOMAIN if ETRAX_ARCH_V32
66 select OF if ETRAX_ARCH_V32
67 select OF_EARLY_FLATTREE if ETRAX_ARCH_V32
68 select CLKSRC_MMIO if ETRAX_ARCH_V32
69 select GENERIC_CLOCKEVENTS if ETRAX_ARCH_V32
70 select GENERIC_SCHED_CLOCK if ETRAX_ARCH_V32
71 select HAVE_DEBUG_BUGVERBOSE if ETRAX_ARCH_V32
82 string "DTB to build into the kernel image"
87 source "kernel/Kconfig.freezer"
91 source "fs/Kconfig.binfmt"
94 string "Kernel command line"
95 default "root=/dev/mtdblock3"
97 Pass additional commands to the kernel.
100 bool "Enable ETRAX watchdog"
102 Enable the built-in watchdog timer support on ETRAX based embedded
105 config ETRAX_WATCHDOG_NICE_DOGGY
106 bool "Disable watchdog during Oops printouts"
107 depends on ETRAX_WATCHDOG
109 By enabling this you make sure that the watchdog does not bite while
110 printing oopses. Recommended for development systems but not for
113 config ETRAX_FAST_TIMER
114 bool "Enable ETRAX fast timer API"
116 This options enables the API to a fast timer implementation using
117 timer1 to get sub jiffie resolution timers (primarily one-shot
119 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
121 config ETRAX_KMALLOCED_MODULES
122 bool "Enable module allocation with kmalloc"
124 Enable module allocation with kmalloc instead of vmalloc.
126 source "kernel/Kconfig.preempt"
132 menu "Hardware setup"
135 prompt "Processor type"
139 bool "ETRAX-100LX-v1"
140 select ARCH_USES_GETTIMEOFFSET
142 Support version 1 of the ETRAX 100LX.
145 bool "ETRAX-100LX-v2"
146 select ARCH_USES_GETTIMEOFFSET
148 Support version 2 of the ETRAX 100LX.
155 config CRIS_MACH_ARTPEC3
158 Support Axis ARTPEC-3.
162 config ETRAX_ARCH_V10
164 default y if ETRAX100LX || ETRAX100LX_V2
165 default n if !(ETRAX100LX || ETRAX100LX_V2)
168 config ETRAX_ARCH_V32
170 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
171 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
173 config ETRAX_DRAM_SIZE
174 int "DRAM size (dec, in MB)"
177 Size of DRAM (decimal in MB) typically 2, 8 or 16.
179 config ETRAX_VMEM_SIZE
180 int "Video memory size (dec, in MB)"
181 depends on ETRAX_ARCH_V32 && !ETRAXFS
182 default 8 if !ETRAXFS
184 Size of Video accessible memory (decimal, in MB).
186 config ETRAX_FLASH_BUSWIDTH
187 int "Buswidth of NOR flash in bytes"
190 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 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
278 select MTD_COMPLEX_MAPPINGS
280 This option enables MTD mapping of flash devices. Needed to use
281 flash memories. If unsure, say Y.
283 config ETRAX_SYNCHRONOUS_SERIAL
284 bool "Synchronous serial-port support"
286 Select this to enable the synchronous serial port driver.
288 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
289 bool "Synchronous serial port 0 enabled"
290 depends on ETRAX_SYNCHRONOUS_SERIAL
292 Enabled synchronous serial port 0.
294 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
295 bool "Enable DMA on synchronous serial port 0."
296 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
298 A synchronous serial port can run in manual or DMA mode.
299 Selecting this option will make it run in DMA mode.
301 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
302 bool "Synchronous serial port 1 enabled"
303 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
305 Enabled synchronous serial port 1.
307 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
308 bool "Enable DMA on synchronous serial port 1."
309 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
311 A synchronous serial port can run in manual or DMA mode.
312 Selecting this option will make it run in DMA mode.
315 prompt "Network LED behavior"
316 depends on ETRAX_ETHERNET
317 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
319 config ETRAX_NETWORK_LED_ON_WHEN_LINK
320 bool "LED_on_when_link"
322 Selecting LED_on_when_link will light the LED when there is a
323 connection and will flash off when there is activity.
325 Selecting LED_on_when_activity will light the LED only when
328 This setting will also affect the behaviour of other activity LEDs
331 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
332 bool "LED_on_when_activity"
334 Selecting LED_on_when_link will light the LED when there is a
335 connection and will flash off when there is activity.
337 Selecting LED_on_when_activity will light the LED only when
340 This setting will also affect the behaviour of other activity LEDs
346 prompt "Ser0 DMA out channel"
347 depends on ETRAX_SERIAL_PORT0
348 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
349 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
351 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
352 bool "Ser0 uses no DMA for output"
354 Do not use DMA for ser0 output.
356 config ETRAX_SERIAL_PORT0_DMA6_OUT
357 bool "Ser0 uses DMA6 for output"
360 Enables the DMA6 output channel for ser0 (ttyS0).
361 If you do not enable DMA, an interrupt for each character will be
362 used when transmitting data.
363 Normally you want to use DMA, unless you use the DMA channel for
366 config ETRAX_SERIAL_PORT0_DMA0_OUT
367 bool "Ser0 uses DMA0 for output"
368 depends on CRIS_MACH_ARTPEC3
370 Enables the DMA0 output channel for ser0 (ttyS0).
371 If you do not enable DMA, an interrupt for each character will be
372 used when transmitting data.
373 Normally you want to use DMA, unless you use the DMA channel for
379 prompt "Ser0 DMA in channel "
380 depends on ETRAX_SERIAL_PORT0
381 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
382 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
384 What DMA channel to use for ser0.
386 config ETRAX_SERIAL_PORT0_NO_DMA_IN
387 bool "Ser0 uses no DMA for input"
389 Do not use DMA for ser0 input.
391 config ETRAX_SERIAL_PORT0_DMA7_IN
392 bool "Ser0 uses DMA7 for input"
395 Enables the DMA7 input channel for ser0 (ttyS0).
396 If you do not enable DMA, an interrupt for each character will be
397 used when receiving data.
398 Normally you want to use DMA, unless you use the DMA channel for
401 config ETRAX_SERIAL_PORT0_DMA1_IN
402 bool "Ser0 uses DMA1 for input"
403 depends on CRIS_MACH_ARTPEC3
405 Enables the DMA1 input channel for ser0 (ttyS0).
406 If you do not enable DMA, an interrupt for each character will be
407 used when receiving data.
408 Normally you want to use DMA, unless you use the DMA channel for
414 prompt "Ser1 DMA in channel "
415 depends on ETRAX_SERIAL_PORT1
416 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
417 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
419 What DMA channel to use for ser1.
421 config ETRAX_SERIAL_PORT1_NO_DMA_IN
422 bool "Ser1 uses no DMA for input"
424 Do not use DMA for ser1 input.
426 config ETRAX_SERIAL_PORT1_DMA5_IN
427 bool "Ser1 uses DMA5 for input"
428 depends on ETRAX_ARCH_V32
430 Enables the DMA5 input channel for ser1 (ttyS1).
431 If you do not enable DMA, an interrupt for each character will be
432 used when receiving data.
433 Normally you want this on, unless you use the DMA channel for
436 config ETRAX_SERIAL_PORT1_DMA9_IN
437 depends on ETRAX_ARCH_V10
438 bool "Ser1 uses DMA9 for input"
444 prompt "Ser1 DMA out channel"
445 depends on ETRAX_SERIAL_PORT1
446 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
447 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
449 What DMA channel to use for ser1.
451 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
452 bool "Ser1 uses no DMA for output"
454 Do not use DMA for ser1 output.
456 config ETRAX_SERIAL_PORT1_DMA8_OUT
457 depends on ETRAX_ARCH_V10
458 bool "Ser1 uses DMA8 for output"
460 config ETRAX_SERIAL_PORT1_DMA4_OUT
461 depends on ETRAX_ARCH_V32
462 bool "Ser1 uses DMA4 for output"
464 Enables the DMA4 output channel for ser1 (ttyS1).
465 If you do not enable DMA, an interrupt for each character will be
466 used when transmitting data.
467 Normally you want this on, unless you use the DMA channel for
473 prompt "Ser2 DMA out channel"
474 depends on ETRAX_SERIAL_PORT2
475 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
476 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
478 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
479 bool "Ser2 uses no DMA for output"
481 Do not use DMA for ser2 output.
483 config ETRAX_SERIAL_PORT2_DMA2_OUT
484 bool "Ser2 uses DMA2 for output"
485 depends on ETRAXFS || ETRAX_ARCH_V10
487 Enables the DMA2 output channel for ser2 (ttyS2).
488 If you do not enable DMA, an interrupt for each character will be
489 used when transmitting data.
490 Normally you want to use DMA, unless you use the DMA channel for
493 config ETRAX_SERIAL_PORT2_DMA6_OUT
494 bool "Ser2 uses DMA6 for output"
495 depends on CRIS_MACH_ARTPEC3
497 Enables the DMA6 output channel for ser2 (ttyS2).
498 If you do not enable DMA, an interrupt for each character will be
499 used when transmitting data.
500 Normally you want to use DMA, unless you use the DMA channel for
506 prompt "Ser2 DMA in channel"
507 depends on ETRAX_SERIAL_PORT2
508 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
509 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
511 What DMA channel to use for ser2.
513 config ETRAX_SERIAL_PORT2_NO_DMA_IN
514 bool "Ser2 uses no DMA for input"
516 Do not use DMA for ser2 input.
518 config ETRAX_SERIAL_PORT2_DMA3_IN
519 bool "Ser2 uses DMA3 for input"
520 depends on ETRAXFS || ETRAX_ARCH_V10
522 Enables the DMA3 input channel for ser2 (ttyS2).
523 If you do not enable DMA, an interrupt for each character will be
524 used when receiving data.
525 Normally you want to use DMA, unless you use the DMA channel for
528 config ETRAX_SERIAL_PORT2_DMA7_IN
529 bool "Ser2 uses DMA7 for input"
530 depends on CRIS_MACH_ARTPEC3
532 Enables the DMA7 input channel for ser2 (ttyS2).
533 If you do not enable DMA, an interrupt for each character will be
534 used when receiving data.
535 Normally you want to use DMA, unless you use the DMA channel for
541 prompt "Ser3 DMA in channel"
542 depends on ETRAX_SERIAL_PORT3
543 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
544 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
546 What DMA channel to use for ser3.
548 config ETRAX_SERIAL_PORT3_NO_DMA_IN
549 bool "Ser3 uses no DMA for input"
551 Do not use DMA for ser3 input.
553 config ETRAX_SERIAL_PORT3_DMA5_IN
554 depends on ETRAX_ARCH_V10
560 prompt "Ser3 DMA out channel"
561 depends on ETRAX_SERIAL_PORT3
562 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
563 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
565 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
566 bool "Ser3 uses no DMA for output"
568 Do not use DMA for ser3 output.
570 config ETRAX_SERIAL_PORT3_DMA4_OUT
571 depends on ETRAX_ARCH_V10
578 source "drivers/Kconfig"
582 source "arch/cris/Kconfig.debug"
584 source "security/Kconfig"
586 source "crypto/Kconfig"