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
62 select HAVE_EXIT_THREAD if ETRAX_ARCH_V32
66 select IRQ_DOMAIN if ETRAX_ARCH_V32
67 select OF if ETRAX_ARCH_V32
68 select OF_EARLY_FLATTREE if ETRAX_ARCH_V32
69 select CLKSRC_MMIO if ETRAX_ARCH_V32
70 select GENERIC_CLOCKEVENTS if ETRAX_ARCH_V32
71 select GENERIC_SCHED_CLOCK if ETRAX_ARCH_V32
72 select HAVE_DEBUG_BUGVERBOSE if ETRAX_ARCH_V32
84 string "DTB to build into the kernel image"
89 source "kernel/Kconfig.freezer"
93 source "fs/Kconfig.binfmt"
96 string "Kernel command line"
97 default "root=/dev/mtdblock3"
99 Pass additional commands to the kernel.
101 config ETRAX_WATCHDOG
102 bool "Enable ETRAX watchdog"
104 Enable the built-in watchdog timer support on ETRAX based embedded
107 config ETRAX_WATCHDOG_NICE_DOGGY
108 bool "Disable watchdog during Oops printouts"
109 depends on ETRAX_WATCHDOG
111 By enabling this you make sure that the watchdog does not bite while
112 printing oopses. Recommended for development systems but not for
115 config ETRAX_FAST_TIMER
116 bool "Enable ETRAX fast timer API"
118 This options enables the API to a fast timer implementation using
119 timer1 to get sub jiffie resolution timers (primarily one-shot
121 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
123 config ETRAX_KMALLOCED_MODULES
124 bool "Enable module allocation with kmalloc"
126 Enable module allocation with kmalloc instead of vmalloc.
128 source "kernel/Kconfig.preempt"
134 menu "Hardware setup"
137 prompt "Processor type"
141 bool "ETRAX-100LX-v1"
142 select ARCH_USES_GETTIMEOFFSET
144 Support version 1 of the ETRAX 100LX.
147 bool "ETRAX-100LX-v2"
148 select ARCH_USES_GETTIMEOFFSET
150 Support version 2 of the ETRAX 100LX.
157 config CRIS_MACH_ARTPEC3
160 Support Axis ARTPEC-3.
164 config ETRAX_ARCH_V10
166 default y if ETRAX100LX || ETRAX100LX_V2
167 default n if !(ETRAX100LX || ETRAX100LX_V2)
170 config ETRAX_ARCH_V32
172 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
173 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
175 config ETRAX_DRAM_SIZE
176 int "DRAM size (dec, in MB)"
179 Size of DRAM (decimal in MB) typically 2, 8 or 16.
181 config ETRAX_VMEM_SIZE
182 int "Video memory size (dec, in MB)"
183 depends on ETRAX_ARCH_V32 && !ETRAXFS
184 default 8 if !ETRAXFS
186 Size of Video accessible memory (decimal, in MB).
188 config ETRAX_FLASH_BUSWIDTH
189 int "Buswidth of NOR flash in bytes"
192 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
194 config ETRAX_FLASH1_SIZE
195 int "FLASH1 size (dec, in MB. 0 = Unknown)"
199 prompt "Product debug-port"
200 default ETRAX_DEBUG_PORT0
202 config ETRAX_DEBUG_PORT0
205 Choose a serial port for the ETRAX debug console. Default to
208 config ETRAX_DEBUG_PORT1
211 Use serial port 1 for the console.
213 config ETRAX_DEBUG_PORT2
216 Use serial port 2 for the console.
218 config ETRAX_DEBUG_PORT3
221 Use serial port 3 for the console.
223 config ETRAX_DEBUG_PORT_NULL
226 Disable serial-port debugging.
231 prompt "Kernel GDB port"
232 depends on ETRAX_KGDB
233 default ETRAX_KGDB_PORT0
235 Choose a serial port for kernel debugging. NOTE: This port should
236 not be enabled under Drivers for built-in interfaces (as it has its
237 own initialization code) and should not be the same as the debug port.
239 config ETRAX_KGDB_PORT0
242 Use serial port 0 for kernel debugging.
244 config ETRAX_KGDB_PORT1
247 Use serial port 1 for kernel debugging.
249 config ETRAX_KGDB_PORT2
252 Use serial port 2 for kernel debugging.
254 config ETRAX_KGDB_PORT3
257 Use serial port 3 for kernel debugging.
261 source arch/cris/arch-v10/Kconfig
262 source arch/cris/arch-v32/Kconfig
268 # bring in ETRAX built-in drivers
269 menu "Drivers for built-in interfaces"
270 source arch/cris/arch-v10/drivers/Kconfig
271 source arch/cris/arch-v32/drivers/Kconfig
273 config ETRAX_AXISFLASHMAP
274 bool "Axis flash-map support"
277 select MTD_CFI_AMDSTD
278 select MTD_JEDECPROBE if ETRAX_ARCH_V32
280 select MTD_COMPLEX_MAPPINGS
282 This option enables MTD mapping of flash devices. Needed to use
283 flash memories. If unsure, say Y.
285 config ETRAX_SYNCHRONOUS_SERIAL
286 bool "Synchronous serial-port support"
288 Select this to enable the synchronous serial port driver.
290 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
291 bool "Synchronous serial port 0 enabled"
292 depends on ETRAX_SYNCHRONOUS_SERIAL
294 Enabled synchronous serial port 0.
296 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
297 bool "Enable DMA on synchronous serial port 0."
298 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
300 A synchronous serial port can run in manual or DMA mode.
301 Selecting this option will make it run in DMA mode.
303 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
304 bool "Synchronous serial port 1 enabled"
305 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
307 Enabled synchronous serial port 1.
309 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
310 bool "Enable DMA on synchronous serial port 1."
311 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
313 A synchronous serial port can run in manual or DMA mode.
314 Selecting this option will make it run in DMA mode.
317 prompt "Network LED behavior"
318 depends on ETRAX_ETHERNET
319 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
321 config ETRAX_NETWORK_LED_ON_WHEN_LINK
322 bool "LED_on_when_link"
324 Selecting LED_on_when_link will light the LED when there is a
325 connection and will flash off when there is activity.
327 Selecting LED_on_when_activity will light the LED only when
330 This setting will also affect the behaviour of other activity LEDs
333 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
334 bool "LED_on_when_activity"
336 Selecting LED_on_when_link will light the LED when there is a
337 connection and will flash off when there is activity.
339 Selecting LED_on_when_activity will light the LED only when
342 This setting will also affect the behaviour of other activity LEDs
348 prompt "Ser0 DMA out channel"
349 depends on ETRAX_SERIAL_PORT0
350 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
351 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
353 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
354 bool "Ser0 uses no DMA for output"
356 Do not use DMA for ser0 output.
358 config ETRAX_SERIAL_PORT0_DMA6_OUT
359 bool "Ser0 uses DMA6 for output"
362 Enables the DMA6 output channel for ser0 (ttyS0).
363 If you do not enable DMA, an interrupt for each character will be
364 used when transmitting data.
365 Normally you want to use DMA, unless you use the DMA channel for
368 config ETRAX_SERIAL_PORT0_DMA0_OUT
369 bool "Ser0 uses DMA0 for output"
370 depends on CRIS_MACH_ARTPEC3
372 Enables the DMA0 output channel for ser0 (ttyS0).
373 If you do not enable DMA, an interrupt for each character will be
374 used when transmitting data.
375 Normally you want to use DMA, unless you use the DMA channel for
381 prompt "Ser0 DMA in channel "
382 depends on ETRAX_SERIAL_PORT0
383 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
384 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
386 What DMA channel to use for ser0.
388 config ETRAX_SERIAL_PORT0_NO_DMA_IN
389 bool "Ser0 uses no DMA for input"
391 Do not use DMA for ser0 input.
393 config ETRAX_SERIAL_PORT0_DMA7_IN
394 bool "Ser0 uses DMA7 for input"
397 Enables the DMA7 input channel for ser0 (ttyS0).
398 If you do not enable DMA, an interrupt for each character will be
399 used when receiving data.
400 Normally you want to use DMA, unless you use the DMA channel for
403 config ETRAX_SERIAL_PORT0_DMA1_IN
404 bool "Ser0 uses DMA1 for input"
405 depends on CRIS_MACH_ARTPEC3
407 Enables the DMA1 input channel for ser0 (ttyS0).
408 If you do not enable DMA, an interrupt for each character will be
409 used when receiving data.
410 Normally you want to use DMA, unless you use the DMA channel for
416 prompt "Ser1 DMA in channel "
417 depends on ETRAX_SERIAL_PORT1
418 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
419 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
421 What DMA channel to use for ser1.
423 config ETRAX_SERIAL_PORT1_NO_DMA_IN
424 bool "Ser1 uses no DMA for input"
426 Do not use DMA for ser1 input.
428 config ETRAX_SERIAL_PORT1_DMA5_IN
429 bool "Ser1 uses DMA5 for input"
430 depends on ETRAX_ARCH_V32
432 Enables the DMA5 input channel for ser1 (ttyS1).
433 If you do not enable DMA, an interrupt for each character will be
434 used when receiving data.
435 Normally you want this on, unless you use the DMA channel for
438 config ETRAX_SERIAL_PORT1_DMA9_IN
439 depends on ETRAX_ARCH_V10
440 bool "Ser1 uses DMA9 for input"
446 prompt "Ser1 DMA out channel"
447 depends on ETRAX_SERIAL_PORT1
448 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
449 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
451 What DMA channel to use for ser1.
453 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
454 bool "Ser1 uses no DMA for output"
456 Do not use DMA for ser1 output.
458 config ETRAX_SERIAL_PORT1_DMA8_OUT
459 depends on ETRAX_ARCH_V10
460 bool "Ser1 uses DMA8 for output"
462 config ETRAX_SERIAL_PORT1_DMA4_OUT
463 depends on ETRAX_ARCH_V32
464 bool "Ser1 uses DMA4 for output"
466 Enables the DMA4 output channel for ser1 (ttyS1).
467 If you do not enable DMA, an interrupt for each character will be
468 used when transmitting data.
469 Normally you want this on, unless you use the DMA channel for
475 prompt "Ser2 DMA out channel"
476 depends on ETRAX_SERIAL_PORT2
477 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
478 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
480 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
481 bool "Ser2 uses no DMA for output"
483 Do not use DMA for ser2 output.
485 config ETRAX_SERIAL_PORT2_DMA2_OUT
486 bool "Ser2 uses DMA2 for output"
487 depends on ETRAXFS || ETRAX_ARCH_V10
489 Enables the DMA2 output channel for ser2 (ttyS2).
490 If you do not enable DMA, an interrupt for each character will be
491 used when transmitting data.
492 Normally you want to use DMA, unless you use the DMA channel for
495 config ETRAX_SERIAL_PORT2_DMA6_OUT
496 bool "Ser2 uses DMA6 for output"
497 depends on CRIS_MACH_ARTPEC3
499 Enables the DMA6 output channel for ser2 (ttyS2).
500 If you do not enable DMA, an interrupt for each character will be
501 used when transmitting data.
502 Normally you want to use DMA, unless you use the DMA channel for
508 prompt "Ser2 DMA in channel"
509 depends on ETRAX_SERIAL_PORT2
510 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
511 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
513 What DMA channel to use for ser2.
515 config ETRAX_SERIAL_PORT2_NO_DMA_IN
516 bool "Ser2 uses no DMA for input"
518 Do not use DMA for ser2 input.
520 config ETRAX_SERIAL_PORT2_DMA3_IN
521 bool "Ser2 uses DMA3 for input"
522 depends on ETRAXFS || ETRAX_ARCH_V10
524 Enables the DMA3 input channel for ser2 (ttyS2).
525 If you do not enable DMA, an interrupt for each character will be
526 used when receiving data.
527 Normally you want to use DMA, unless you use the DMA channel for
530 config ETRAX_SERIAL_PORT2_DMA7_IN
531 bool "Ser2 uses DMA7 for input"
532 depends on CRIS_MACH_ARTPEC3
534 Enables the DMA7 input channel for ser2 (ttyS2).
535 If you do not enable DMA, an interrupt for each character will be
536 used when receiving data.
537 Normally you want to use DMA, unless you use the DMA channel for
543 prompt "Ser3 DMA in channel"
544 depends on ETRAX_SERIAL_PORT3
545 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
546 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
548 What DMA channel to use for ser3.
550 config ETRAX_SERIAL_PORT3_NO_DMA_IN
551 bool "Ser3 uses no DMA for input"
553 Do not use DMA for ser3 input.
555 config ETRAX_SERIAL_PORT3_DMA5_IN
556 depends on ETRAX_ARCH_V10
562 prompt "Ser3 DMA out channel"
563 depends on ETRAX_SERIAL_PORT3
564 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
565 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
567 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
568 bool "Ser3 uses no DMA for output"
570 Do not use DMA for ser3 output.
572 config ETRAX_SERIAL_PORT3_DMA4_OUT
573 depends on ETRAX_ARCH_V10
580 source "drivers/Kconfig"
584 source "arch/cris/Kconfig.debug"
586 source "security/Kconfig"
588 source "crypto/Kconfig"