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
50 select GENERIC_ATOMIC64
53 select ARCH_WANT_IPC_PARSE_VERSION
54 select GENERIC_IRQ_SHOW
56 select GENERIC_CMOS_UPDATE
57 select MODULES_USE_ELF_RELA
58 select CLONE_BACKWARDS2
61 select ARCH_REQUIRE_GPIOLIB
62 select IRQ_DOMAIN if ETRAX_ARCH_V32
63 select OF if ETRAX_ARCH_V32
64 select OF_EARLY_FLATTREE if ETRAX_ARCH_V32
65 select CLKSRC_MMIO if ETRAX_ARCH_V32
66 select GENERIC_CLOCKEVENTS if ETRAX_ARCH_V32
67 select GENERIC_SCHED_CLOCK if ETRAX_ARCH_V32
68 select HAVE_DEBUG_BUGVERBOSE if ETRAX_ARCH_V32
79 string "DTB to build into the kernel image"
84 source "kernel/Kconfig.freezer"
88 source "fs/Kconfig.binfmt"
91 string "Kernel command line"
92 default "root=/dev/mtdblock3"
94 Pass additional commands to the kernel.
97 bool "Enable ETRAX watchdog"
99 Enable the built-in watchdog timer support on ETRAX based embedded
102 config ETRAX_WATCHDOG_NICE_DOGGY
103 bool "Disable watchdog during Oops printouts"
104 depends on ETRAX_WATCHDOG
106 By enabling this you make sure that the watchdog does not bite while
107 printing oopses. Recommended for development systems but not for
110 config ETRAX_FAST_TIMER
111 bool "Enable ETRAX fast timer API"
113 This options enables the API to a fast timer implementation using
114 timer1 to get sub jiffie resolution timers (primarily one-shot
116 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
118 config ETRAX_KMALLOCED_MODULES
119 bool "Enable module allocation with kmalloc"
121 Enable module allocation with kmalloc instead of vmalloc.
123 source "kernel/Kconfig.preempt"
129 menu "Hardware setup"
132 prompt "Processor type"
136 bool "ETRAX-100LX-v1"
137 select ARCH_USES_GETTIMEOFFSET
139 Support version 1 of the ETRAX 100LX.
142 bool "ETRAX-100LX-v2"
143 select ARCH_USES_GETTIMEOFFSET
145 Support version 2 of the ETRAX 100LX.
152 config CRIS_MACH_ARTPEC3
155 Support Axis ARTPEC-3.
159 config ETRAX_ARCH_V10
161 default y if ETRAX100LX || ETRAX100LX_V2
162 default n if !(ETRAX100LX || ETRAX100LX_V2)
165 config ETRAX_ARCH_V32
167 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
168 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
170 config ETRAX_DRAM_SIZE
171 int "DRAM size (dec, in MB)"
174 Size of DRAM (decimal in MB) typically 2, 8 or 16.
176 config ETRAX_VMEM_SIZE
177 int "Video memory size (dec, in MB)"
178 depends on ETRAX_ARCH_V32 && !ETRAXFS
179 default 8 if !ETRAXFS
181 Size of Video accessible memory (decimal, in MB).
183 config ETRAX_FLASH_BUSWIDTH
184 int "Buswidth of NOR flash in bytes"
187 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
189 config ETRAX_FLASH1_SIZE
190 int "FLASH1 size (dec, in MB. 0 = Unknown)"
194 prompt "Product debug-port"
195 default ETRAX_DEBUG_PORT0
197 config ETRAX_DEBUG_PORT0
200 Choose a serial port for the ETRAX debug console. Default to
203 config ETRAX_DEBUG_PORT1
206 Use serial port 1 for the console.
208 config ETRAX_DEBUG_PORT2
211 Use serial port 2 for the console.
213 config ETRAX_DEBUG_PORT3
216 Use serial port 3 for the console.
218 config ETRAX_DEBUG_PORT_NULL
221 Disable serial-port debugging.
226 prompt "Kernel GDB port"
227 depends on ETRAX_KGDB
228 default ETRAX_KGDB_PORT0
230 Choose a serial port for kernel debugging. NOTE: This port should
231 not be enabled under Drivers for built-in interfaces (as it has its
232 own initialization code) and should not be the same as the debug port.
234 config ETRAX_KGDB_PORT0
237 Use serial port 0 for kernel debugging.
239 config ETRAX_KGDB_PORT1
242 Use serial port 1 for kernel debugging.
244 config ETRAX_KGDB_PORT2
247 Use serial port 2 for kernel debugging.
249 config ETRAX_KGDB_PORT3
252 Use serial port 3 for kernel debugging.
256 source arch/cris/arch-v10/Kconfig
257 source arch/cris/arch-v32/Kconfig
263 # bring in ETRAX built-in drivers
264 menu "Drivers for built-in interfaces"
265 source arch/cris/arch-v10/drivers/Kconfig
266 source arch/cris/arch-v32/drivers/Kconfig
268 config ETRAX_AXISFLASHMAP
269 bool "Axis flash-map support"
272 select MTD_CFI_AMDSTD
273 select MTD_JEDECPROBE if ETRAX_ARCH_V32
275 select MTD_COMPLEX_MAPPINGS
277 This option enables MTD mapping of flash devices. Needed to use
278 flash memories. If unsure, say Y.
280 config ETRAX_SYNCHRONOUS_SERIAL
281 bool "Synchronous serial-port support"
283 Select this to enable the synchronous serial port driver.
285 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
286 bool "Synchronous serial port 0 enabled"
287 depends on ETRAX_SYNCHRONOUS_SERIAL
289 Enabled synchronous serial port 0.
291 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
292 bool "Enable DMA on synchronous serial port 0."
293 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
295 A synchronous serial port can run in manual or DMA mode.
296 Selecting this option will make it run in DMA mode.
298 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
299 bool "Synchronous serial port 1 enabled"
300 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
302 Enabled synchronous serial port 1.
304 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
305 bool "Enable DMA on synchronous serial port 1."
306 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
308 A synchronous serial port can run in manual or DMA mode.
309 Selecting this option will make it run in DMA mode.
312 prompt "Network LED behavior"
313 depends on ETRAX_ETHERNET
314 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
316 config ETRAX_NETWORK_LED_ON_WHEN_LINK
317 bool "LED_on_when_link"
319 Selecting LED_on_when_link will light the LED when there is a
320 connection and will flash off when there is activity.
322 Selecting LED_on_when_activity will light the LED only when
325 This setting will also affect the behaviour of other activity LEDs
328 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
329 bool "LED_on_when_activity"
331 Selecting LED_on_when_link will light the LED when there is a
332 connection and will flash off when there is activity.
334 Selecting LED_on_when_activity will light the LED only when
337 This setting will also affect the behaviour of other activity LEDs
343 prompt "Ser0 DMA out channel"
344 depends on ETRAX_SERIAL_PORT0
345 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
346 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
348 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
349 bool "Ser0 uses no DMA for output"
351 Do not use DMA for ser0 output.
353 config ETRAX_SERIAL_PORT0_DMA6_OUT
354 bool "Ser0 uses DMA6 for output"
357 Enables the DMA6 output channel for ser0 (ttyS0).
358 If you do not enable DMA, an interrupt for each character will be
359 used when transmitting data.
360 Normally you want to use DMA, unless you use the DMA channel for
363 config ETRAX_SERIAL_PORT0_DMA0_OUT
364 bool "Ser0 uses DMA0 for output"
365 depends on CRIS_MACH_ARTPEC3
367 Enables the DMA0 output channel for ser0 (ttyS0).
368 If you do not enable DMA, an interrupt for each character will be
369 used when transmitting data.
370 Normally you want to use DMA, unless you use the DMA channel for
376 prompt "Ser0 DMA in channel "
377 depends on ETRAX_SERIAL_PORT0
378 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
379 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
381 What DMA channel to use for ser0.
383 config ETRAX_SERIAL_PORT0_NO_DMA_IN
384 bool "Ser0 uses no DMA for input"
386 Do not use DMA for ser0 input.
388 config ETRAX_SERIAL_PORT0_DMA7_IN
389 bool "Ser0 uses DMA7 for input"
392 Enables the DMA7 input channel for ser0 (ttyS0).
393 If you do not enable DMA, an interrupt for each character will be
394 used when receiving data.
395 Normally you want to use DMA, unless you use the DMA channel for
398 config ETRAX_SERIAL_PORT0_DMA1_IN
399 bool "Ser0 uses DMA1 for input"
400 depends on CRIS_MACH_ARTPEC3
402 Enables the DMA1 input channel for ser0 (ttyS0).
403 If you do not enable DMA, an interrupt for each character will be
404 used when receiving data.
405 Normally you want to use DMA, unless you use the DMA channel for
411 prompt "Ser1 DMA in channel "
412 depends on ETRAX_SERIAL_PORT1
413 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
414 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
416 What DMA channel to use for ser1.
418 config ETRAX_SERIAL_PORT1_NO_DMA_IN
419 bool "Ser1 uses no DMA for input"
421 Do not use DMA for ser1 input.
423 config ETRAX_SERIAL_PORT1_DMA5_IN
424 bool "Ser1 uses DMA5 for input"
425 depends on ETRAX_ARCH_V32
427 Enables the DMA5 input channel for ser1 (ttyS1).
428 If you do not enable DMA, an interrupt for each character will be
429 used when receiving data.
430 Normally you want this on, unless you use the DMA channel for
433 config ETRAX_SERIAL_PORT1_DMA9_IN
434 depends on ETRAX_ARCH_V10
435 bool "Ser1 uses DMA9 for input"
441 prompt "Ser1 DMA out channel"
442 depends on ETRAX_SERIAL_PORT1
443 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
444 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
446 What DMA channel to use for ser1.
448 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
449 bool "Ser1 uses no DMA for output"
451 Do not use DMA for ser1 output.
453 config ETRAX_SERIAL_PORT1_DMA8_OUT
454 depends on ETRAX_ARCH_V10
455 bool "Ser1 uses DMA8 for output"
457 config ETRAX_SERIAL_PORT1_DMA4_OUT
458 depends on ETRAX_ARCH_V32
459 bool "Ser1 uses DMA4 for output"
461 Enables the DMA4 output channel for ser1 (ttyS1).
462 If you do not enable DMA, an interrupt for each character will be
463 used when transmitting data.
464 Normally you want this on, unless you use the DMA channel for
470 prompt "Ser2 DMA out channel"
471 depends on ETRAX_SERIAL_PORT2
472 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
473 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
475 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
476 bool "Ser2 uses no DMA for output"
478 Do not use DMA for ser2 output.
480 config ETRAX_SERIAL_PORT2_DMA2_OUT
481 bool "Ser2 uses DMA2 for output"
482 depends on ETRAXFS || ETRAX_ARCH_V10
484 Enables the DMA2 output channel for ser2 (ttyS2).
485 If you do not enable DMA, an interrupt for each character will be
486 used when transmitting data.
487 Normally you want to use DMA, unless you use the DMA channel for
490 config ETRAX_SERIAL_PORT2_DMA6_OUT
491 bool "Ser2 uses DMA6 for output"
492 depends on CRIS_MACH_ARTPEC3
494 Enables the DMA6 output channel for ser2 (ttyS2).
495 If you do not enable DMA, an interrupt for each character will be
496 used when transmitting data.
497 Normally you want to use DMA, unless you use the DMA channel for
503 prompt "Ser2 DMA in channel"
504 depends on ETRAX_SERIAL_PORT2
505 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
506 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
508 What DMA channel to use for ser2.
510 config ETRAX_SERIAL_PORT2_NO_DMA_IN
511 bool "Ser2 uses no DMA for input"
513 Do not use DMA for ser2 input.
515 config ETRAX_SERIAL_PORT2_DMA3_IN
516 bool "Ser2 uses DMA3 for input"
517 depends on ETRAXFS || ETRAX_ARCH_V10
519 Enables the DMA3 input channel for ser2 (ttyS2).
520 If you do not enable DMA, an interrupt for each character will be
521 used when receiving data.
522 Normally you want to use DMA, unless you use the DMA channel for
525 config ETRAX_SERIAL_PORT2_DMA7_IN
526 bool "Ser2 uses DMA7 for input"
527 depends on CRIS_MACH_ARTPEC3
529 Enables the DMA7 input channel for ser2 (ttyS2).
530 If you do not enable DMA, an interrupt for each character will be
531 used when receiving data.
532 Normally you want to use DMA, unless you use the DMA channel for
538 prompt "Ser3 DMA in channel"
539 depends on ETRAX_SERIAL_PORT3
540 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
541 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
543 What DMA channel to use for ser3.
545 config ETRAX_SERIAL_PORT3_NO_DMA_IN
546 bool "Ser3 uses no DMA for input"
548 Do not use DMA for ser3 input.
550 config ETRAX_SERIAL_PORT3_DMA5_IN
551 depends on ETRAX_ARCH_V10
557 prompt "Ser3 DMA out channel"
558 depends on ETRAX_SERIAL_PORT3
559 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
560 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
562 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
563 bool "Ser3 uses no DMA for output"
565 Do not use DMA for ser3 output.
567 config ETRAX_SERIAL_PORT3_DMA4_OUT
568 depends on ETRAX_ARCH_V10
575 source "drivers/Kconfig"
579 source "arch/cris/Kconfig.debug"
581 source "security/Kconfig"
583 source "crypto/Kconfig"