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 GENERIC_CMOS_UPDATE
61 select MODULES_USE_ELF_RELA
62 select CLONE_BACKWARDS2
65 select ARCH_REQUIRE_GPIOLIB
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
83 string "DTB to build into the kernel image"
88 source "kernel/Kconfig.freezer"
92 source "fs/Kconfig.binfmt"
95 string "Kernel command line"
96 default "root=/dev/mtdblock3"
98 Pass additional commands to the kernel.
100 config ETRAX_WATCHDOG
101 bool "Enable ETRAX watchdog"
103 Enable the built-in watchdog timer support on ETRAX based embedded
106 config ETRAX_WATCHDOG_NICE_DOGGY
107 bool "Disable watchdog during Oops printouts"
108 depends on ETRAX_WATCHDOG
110 By enabling this you make sure that the watchdog does not bite while
111 printing oopses. Recommended for development systems but not for
114 config ETRAX_FAST_TIMER
115 bool "Enable ETRAX fast timer API"
117 This options enables the API to a fast timer implementation using
118 timer1 to get sub jiffie resolution timers (primarily one-shot
120 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
122 config ETRAX_KMALLOCED_MODULES
123 bool "Enable module allocation with kmalloc"
125 Enable module allocation with kmalloc instead of vmalloc.
127 source "kernel/Kconfig.preempt"
133 menu "Hardware setup"
136 prompt "Processor type"
140 bool "ETRAX-100LX-v1"
141 select ARCH_USES_GETTIMEOFFSET
143 Support version 1 of the ETRAX 100LX.
146 bool "ETRAX-100LX-v2"
147 select ARCH_USES_GETTIMEOFFSET
149 Support version 2 of the ETRAX 100LX.
156 config CRIS_MACH_ARTPEC3
159 Support Axis ARTPEC-3.
163 config ETRAX_ARCH_V10
165 default y if ETRAX100LX || ETRAX100LX_V2
166 default n if !(ETRAX100LX || ETRAX100LX_V2)
169 config ETRAX_ARCH_V32
171 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
172 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
174 config ETRAX_DRAM_SIZE
175 int "DRAM size (dec, in MB)"
178 Size of DRAM (decimal in MB) typically 2, 8 or 16.
180 config ETRAX_VMEM_SIZE
181 int "Video memory size (dec, in MB)"
182 depends on ETRAX_ARCH_V32 && !ETRAXFS
183 default 8 if !ETRAXFS
185 Size of Video accessible memory (decimal, in MB).
187 config ETRAX_FLASH_BUSWIDTH
188 int "Buswidth of NOR flash in bytes"
191 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
193 config ETRAX_FLASH1_SIZE
194 int "FLASH1 size (dec, in MB. 0 = Unknown)"
198 prompt "Product debug-port"
199 default ETRAX_DEBUG_PORT0
201 config ETRAX_DEBUG_PORT0
204 Choose a serial port for the ETRAX debug console. Default to
207 config ETRAX_DEBUG_PORT1
210 Use serial port 1 for the console.
212 config ETRAX_DEBUG_PORT2
215 Use serial port 2 for the console.
217 config ETRAX_DEBUG_PORT3
220 Use serial port 3 for the console.
222 config ETRAX_DEBUG_PORT_NULL
225 Disable serial-port debugging.
230 prompt "Kernel GDB port"
231 depends on ETRAX_KGDB
232 default ETRAX_KGDB_PORT0
234 Choose a serial port for kernel debugging. NOTE: This port should
235 not be enabled under Drivers for built-in interfaces (as it has its
236 own initialization code) and should not be the same as the debug port.
238 config ETRAX_KGDB_PORT0
241 Use serial port 0 for kernel debugging.
243 config ETRAX_KGDB_PORT1
246 Use serial port 1 for kernel debugging.
248 config ETRAX_KGDB_PORT2
251 Use serial port 2 for kernel debugging.
253 config ETRAX_KGDB_PORT3
256 Use serial port 3 for kernel debugging.
260 source arch/cris/arch-v10/Kconfig
261 source arch/cris/arch-v32/Kconfig
267 # bring in ETRAX built-in drivers
268 menu "Drivers for built-in interfaces"
269 source arch/cris/arch-v10/drivers/Kconfig
270 source arch/cris/arch-v32/drivers/Kconfig
272 config ETRAX_AXISFLASHMAP
273 bool "Axis flash-map support"
276 select MTD_CFI_AMDSTD
277 select MTD_JEDECPROBE if ETRAX_ARCH_V32
279 select MTD_COMPLEX_MAPPINGS
281 This option enables MTD mapping of flash devices. Needed to use
282 flash memories. If unsure, say Y.
284 config ETRAX_SYNCHRONOUS_SERIAL
285 bool "Synchronous serial-port support"
287 Select this to enable the synchronous serial port driver.
289 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
290 bool "Synchronous serial port 0 enabled"
291 depends on ETRAX_SYNCHRONOUS_SERIAL
293 Enabled synchronous serial port 0.
295 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
296 bool "Enable DMA on synchronous serial port 0."
297 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
299 A synchronous serial port can run in manual or DMA mode.
300 Selecting this option will make it run in DMA mode.
302 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
303 bool "Synchronous serial port 1 enabled"
304 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
306 Enabled synchronous serial port 1.
308 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
309 bool "Enable DMA on synchronous serial port 1."
310 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
312 A synchronous serial port can run in manual or DMA mode.
313 Selecting this option will make it run in DMA mode.
316 prompt "Network LED behavior"
317 depends on ETRAX_ETHERNET
318 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
320 config ETRAX_NETWORK_LED_ON_WHEN_LINK
321 bool "LED_on_when_link"
323 Selecting LED_on_when_link will light the LED when there is a
324 connection and will flash off when there is activity.
326 Selecting LED_on_when_activity will light the LED only when
329 This setting will also affect the behaviour of other activity LEDs
332 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
333 bool "LED_on_when_activity"
335 Selecting LED_on_when_link will light the LED when there is a
336 connection and will flash off when there is activity.
338 Selecting LED_on_when_activity will light the LED only when
341 This setting will also affect the behaviour of other activity LEDs
347 prompt "Ser0 DMA out channel"
348 depends on ETRAX_SERIAL_PORT0
349 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
350 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
352 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
353 bool "Ser0 uses no DMA for output"
355 Do not use DMA for ser0 output.
357 config ETRAX_SERIAL_PORT0_DMA6_OUT
358 bool "Ser0 uses DMA6 for output"
361 Enables the DMA6 output channel for ser0 (ttyS0).
362 If you do not enable DMA, an interrupt for each character will be
363 used when transmitting data.
364 Normally you want to use DMA, unless you use the DMA channel for
367 config ETRAX_SERIAL_PORT0_DMA0_OUT
368 bool "Ser0 uses DMA0 for output"
369 depends on CRIS_MACH_ARTPEC3
371 Enables the DMA0 output channel for ser0 (ttyS0).
372 If you do not enable DMA, an interrupt for each character will be
373 used when transmitting data.
374 Normally you want to use DMA, unless you use the DMA channel for
380 prompt "Ser0 DMA in channel "
381 depends on ETRAX_SERIAL_PORT0
382 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
383 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
385 What DMA channel to use for ser0.
387 config ETRAX_SERIAL_PORT0_NO_DMA_IN
388 bool "Ser0 uses no DMA for input"
390 Do not use DMA for ser0 input.
392 config ETRAX_SERIAL_PORT0_DMA7_IN
393 bool "Ser0 uses DMA7 for input"
396 Enables the DMA7 input channel for ser0 (ttyS0).
397 If you do not enable DMA, an interrupt for each character will be
398 used when receiving data.
399 Normally you want to use DMA, unless you use the DMA channel for
402 config ETRAX_SERIAL_PORT0_DMA1_IN
403 bool "Ser0 uses DMA1 for input"
404 depends on CRIS_MACH_ARTPEC3
406 Enables the DMA1 input channel for ser0 (ttyS0).
407 If you do not enable DMA, an interrupt for each character will be
408 used when receiving data.
409 Normally you want to use DMA, unless you use the DMA channel for
415 prompt "Ser1 DMA in channel "
416 depends on ETRAX_SERIAL_PORT1
417 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
418 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
420 What DMA channel to use for ser1.
422 config ETRAX_SERIAL_PORT1_NO_DMA_IN
423 bool "Ser1 uses no DMA for input"
425 Do not use DMA for ser1 input.
427 config ETRAX_SERIAL_PORT1_DMA5_IN
428 bool "Ser1 uses DMA5 for input"
429 depends on ETRAX_ARCH_V32
431 Enables the DMA5 input channel for ser1 (ttyS1).
432 If you do not enable DMA, an interrupt for each character will be
433 used when receiving data.
434 Normally you want this on, unless you use the DMA channel for
437 config ETRAX_SERIAL_PORT1_DMA9_IN
438 depends on ETRAX_ARCH_V10
439 bool "Ser1 uses DMA9 for input"
445 prompt "Ser1 DMA out channel"
446 depends on ETRAX_SERIAL_PORT1
447 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
448 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
450 What DMA channel to use for ser1.
452 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
453 bool "Ser1 uses no DMA for output"
455 Do not use DMA for ser1 output.
457 config ETRAX_SERIAL_PORT1_DMA8_OUT
458 depends on ETRAX_ARCH_V10
459 bool "Ser1 uses DMA8 for output"
461 config ETRAX_SERIAL_PORT1_DMA4_OUT
462 depends on ETRAX_ARCH_V32
463 bool "Ser1 uses DMA4 for output"
465 Enables the DMA4 output channel for ser1 (ttyS1).
466 If you do not enable DMA, an interrupt for each character will be
467 used when transmitting data.
468 Normally you want this on, unless you use the DMA channel for
474 prompt "Ser2 DMA out channel"
475 depends on ETRAX_SERIAL_PORT2
476 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
477 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
479 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
480 bool "Ser2 uses no DMA for output"
482 Do not use DMA for ser2 output.
484 config ETRAX_SERIAL_PORT2_DMA2_OUT
485 bool "Ser2 uses DMA2 for output"
486 depends on ETRAXFS || ETRAX_ARCH_V10
488 Enables the DMA2 output channel for ser2 (ttyS2).
489 If you do not enable DMA, an interrupt for each character will be
490 used when transmitting data.
491 Normally you want to use DMA, unless you use the DMA channel for
494 config ETRAX_SERIAL_PORT2_DMA6_OUT
495 bool "Ser2 uses DMA6 for output"
496 depends on CRIS_MACH_ARTPEC3
498 Enables the DMA6 output channel for ser2 (ttyS2).
499 If you do not enable DMA, an interrupt for each character will be
500 used when transmitting data.
501 Normally you want to use DMA, unless you use the DMA channel for
507 prompt "Ser2 DMA in channel"
508 depends on ETRAX_SERIAL_PORT2
509 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
510 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
512 What DMA channel to use for ser2.
514 config ETRAX_SERIAL_PORT2_NO_DMA_IN
515 bool "Ser2 uses no DMA for input"
517 Do not use DMA for ser2 input.
519 config ETRAX_SERIAL_PORT2_DMA3_IN
520 bool "Ser2 uses DMA3 for input"
521 depends on ETRAXFS || ETRAX_ARCH_V10
523 Enables the DMA3 input channel for ser2 (ttyS2).
524 If you do not enable DMA, an interrupt for each character will be
525 used when receiving data.
526 Normally you want to use DMA, unless you use the DMA channel for
529 config ETRAX_SERIAL_PORT2_DMA7_IN
530 bool "Ser2 uses DMA7 for input"
531 depends on CRIS_MACH_ARTPEC3
533 Enables the DMA7 input channel for ser2 (ttyS2).
534 If you do not enable DMA, an interrupt for each character will be
535 used when receiving data.
536 Normally you want to use DMA, unless you use the DMA channel for
542 prompt "Ser3 DMA in channel"
543 depends on ETRAX_SERIAL_PORT3
544 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
545 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
547 What DMA channel to use for ser3.
549 config ETRAX_SERIAL_PORT3_NO_DMA_IN
550 bool "Ser3 uses no DMA for input"
552 Do not use DMA for ser3 input.
554 config ETRAX_SERIAL_PORT3_DMA5_IN
555 depends on ETRAX_ARCH_V10
561 prompt "Ser3 DMA out channel"
562 depends on ETRAX_SERIAL_PORT3
563 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
564 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
566 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
567 bool "Ser3 uses no DMA for output"
569 Do not use DMA for ser3 output.
571 config ETRAX_SERIAL_PORT3_DMA4_OUT
572 depends on ETRAX_ARCH_V10
579 source "drivers/Kconfig"
583 source "arch/cris/Kconfig.debug"
585 source "security/Kconfig"
587 source "crypto/Kconfig"