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
47 select GENERIC_ATOMIC64
50 select ARCH_WANT_IPC_PARSE_VERSION
51 select GENERIC_IRQ_SHOW
53 select GENERIC_CMOS_UPDATE
54 select MODULES_USE_ELF_RELA
55 select CLONE_BACKWARDS2
58 select ARCH_REQUIRE_GPIOLIB
59 select IRQ_DOMAIN if ETRAX_ARCH_V32
60 select OF if ETRAX_ARCH_V32
61 select OF_EARLY_FLATTREE if ETRAX_ARCH_V32
62 select CLKSRC_MMIO if ETRAX_ARCH_V32
63 select GENERIC_CLOCKEVENTS if ETRAX_ARCH_V32
64 select GENERIC_SCHED_CLOCK if ETRAX_ARCH_V32
65 select HAVE_DEBUG_BUGVERBOSE if ETRAX_ARCH_V32
76 string "DTB to build into the kernel image"
81 source "kernel/Kconfig.freezer"
85 source "fs/Kconfig.binfmt"
88 string "Kernel command line"
89 default "root=/dev/mtdblock3"
91 Pass additional commands to the kernel.
94 bool "Enable ETRAX watchdog"
96 Enable the built-in watchdog timer support on ETRAX based embedded
99 config ETRAX_WATCHDOG_NICE_DOGGY
100 bool "Disable watchdog during Oops printouts"
101 depends on ETRAX_WATCHDOG
103 By enabling this you make sure that the watchdog does not bite while
104 printing oopses. Recommended for development systems but not for
107 config ETRAX_FAST_TIMER
108 bool "Enable ETRAX fast timer API"
110 This options enables the API to a fast timer implementation using
111 timer1 to get sub jiffie resolution timers (primarily one-shot
113 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
115 config ETRAX_KMALLOCED_MODULES
116 bool "Enable module allocation with kmalloc"
118 Enable module allocation with kmalloc instead of vmalloc.
120 source "kernel/Kconfig.preempt"
126 menu "Hardware setup"
129 prompt "Processor type"
133 bool "ETRAX-100LX-v1"
134 select ARCH_USES_GETTIMEOFFSET
136 Support version 1 of the ETRAX 100LX.
139 bool "ETRAX-100LX-v2"
140 select ARCH_USES_GETTIMEOFFSET
142 Support version 2 of the ETRAX 100LX.
149 config CRIS_MACH_ARTPEC3
152 Support Axis ARTPEC-3.
156 config ETRAX_ARCH_V10
158 default y if ETRAX100LX || ETRAX100LX_V2
159 default n if !(ETRAX100LX || ETRAX100LX_V2)
162 config ETRAX_ARCH_V32
164 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
165 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
167 config ETRAX_DRAM_SIZE
168 int "DRAM size (dec, in MB)"
171 Size of DRAM (decimal in MB) typically 2, 8 or 16.
173 config ETRAX_VMEM_SIZE
174 int "Video memory size (dec, in MB)"
175 depends on ETRAX_ARCH_V32 && !ETRAXFS
176 default 8 if !ETRAXFS
178 Size of Video accessible memory (decimal, in MB).
180 config ETRAX_FLASH_BUSWIDTH
181 int "Buswidth of NOR flash in bytes"
184 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
186 config ETRAX_FLASH1_SIZE
187 int "FLASH1 size (dec, in MB. 0 = Unknown)"
191 prompt "Product debug-port"
192 default ETRAX_DEBUG_PORT0
194 config ETRAX_DEBUG_PORT0
197 Choose a serial port for the ETRAX debug console. Default to
200 config ETRAX_DEBUG_PORT1
203 Use serial port 1 for the console.
205 config ETRAX_DEBUG_PORT2
208 Use serial port 2 for the console.
210 config ETRAX_DEBUG_PORT3
213 Use serial port 3 for the console.
215 config ETRAX_DEBUG_PORT_NULL
218 Disable serial-port debugging.
223 prompt "Kernel GDB port"
224 depends on ETRAX_KGDB
225 default ETRAX_KGDB_PORT0
227 Choose a serial port for kernel debugging. NOTE: This port should
228 not be enabled under Drivers for built-in interfaces (as it has its
229 own initialization code) and should not be the same as the debug port.
231 config ETRAX_KGDB_PORT0
234 Use serial port 0 for kernel debugging.
236 config ETRAX_KGDB_PORT1
239 Use serial port 1 for kernel debugging.
241 config ETRAX_KGDB_PORT2
244 Use serial port 2 for kernel debugging.
246 config ETRAX_KGDB_PORT3
249 Use serial port 3 for kernel debugging.
253 source arch/cris/arch-v10/Kconfig
254 source arch/cris/arch-v32/Kconfig
260 # bring in ETRAX built-in drivers
261 menu "Drivers for built-in interfaces"
262 source arch/cris/arch-v10/drivers/Kconfig
263 source arch/cris/arch-v32/drivers/Kconfig
265 config ETRAX_AXISFLASHMAP
266 bool "Axis flash-map support"
269 select MTD_CFI_AMDSTD
270 select MTD_JEDECPROBE if ETRAX_ARCH_V32
272 select MTD_COMPLEX_MAPPINGS
274 This option enables MTD mapping of flash devices. Needed to use
275 flash memories. If unsure, say Y.
277 config ETRAX_SYNCHRONOUS_SERIAL
278 bool "Synchronous serial-port support"
280 Select this to enable the synchronous serial port driver.
282 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
283 bool "Synchronous serial port 0 enabled"
284 depends on ETRAX_SYNCHRONOUS_SERIAL
286 Enabled synchronous serial port 0.
288 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
289 bool "Enable DMA on synchronous serial port 0."
290 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
292 A synchronous serial port can run in manual or DMA mode.
293 Selecting this option will make it run in DMA mode.
295 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
296 bool "Synchronous serial port 1 enabled"
297 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
299 Enabled synchronous serial port 1.
301 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
302 bool "Enable DMA on synchronous serial port 1."
303 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
305 A synchronous serial port can run in manual or DMA mode.
306 Selecting this option will make it run in DMA mode.
309 prompt "Network LED behavior"
310 depends on ETRAX_ETHERNET
311 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
313 config ETRAX_NETWORK_LED_ON_WHEN_LINK
314 bool "LED_on_when_link"
316 Selecting LED_on_when_link will light the LED when there is a
317 connection and will flash off when there is activity.
319 Selecting LED_on_when_activity will light the LED only when
322 This setting will also affect the behaviour of other activity LEDs
325 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
326 bool "LED_on_when_activity"
328 Selecting LED_on_when_link will light the LED when there is a
329 connection and will flash off when there is activity.
331 Selecting LED_on_when_activity will light the LED only when
334 This setting will also affect the behaviour of other activity LEDs
340 prompt "Ser0 DMA out channel"
341 depends on ETRAX_SERIAL_PORT0
342 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
343 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
345 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
346 bool "Ser0 uses no DMA for output"
348 Do not use DMA for ser0 output.
350 config ETRAX_SERIAL_PORT0_DMA6_OUT
351 bool "Ser0 uses DMA6 for output"
354 Enables the DMA6 output channel for ser0 (ttyS0).
355 If you do not enable DMA, an interrupt for each character will be
356 used when transmitting data.
357 Normally you want to use DMA, unless you use the DMA channel for
360 config ETRAX_SERIAL_PORT0_DMA0_OUT
361 bool "Ser0 uses DMA0 for output"
362 depends on CRIS_MACH_ARTPEC3
364 Enables the DMA0 output channel for ser0 (ttyS0).
365 If you do not enable DMA, an interrupt for each character will be
366 used when transmitting data.
367 Normally you want to use DMA, unless you use the DMA channel for
373 prompt "Ser0 DMA in channel "
374 depends on ETRAX_SERIAL_PORT0
375 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
376 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
378 What DMA channel to use for ser0.
380 config ETRAX_SERIAL_PORT0_NO_DMA_IN
381 bool "Ser0 uses no DMA for input"
383 Do not use DMA for ser0 input.
385 config ETRAX_SERIAL_PORT0_DMA7_IN
386 bool "Ser0 uses DMA7 for input"
389 Enables the DMA7 input channel for ser0 (ttyS0).
390 If you do not enable DMA, an interrupt for each character will be
391 used when receiving data.
392 Normally you want to use DMA, unless you use the DMA channel for
395 config ETRAX_SERIAL_PORT0_DMA1_IN
396 bool "Ser0 uses DMA1 for input"
397 depends on CRIS_MACH_ARTPEC3
399 Enables the DMA1 input channel for ser0 (ttyS0).
400 If you do not enable DMA, an interrupt for each character will be
401 used when receiving data.
402 Normally you want to use DMA, unless you use the DMA channel for
408 prompt "Ser1 DMA in channel "
409 depends on ETRAX_SERIAL_PORT1
410 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
411 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
413 What DMA channel to use for ser1.
415 config ETRAX_SERIAL_PORT1_NO_DMA_IN
416 bool "Ser1 uses no DMA for input"
418 Do not use DMA for ser1 input.
420 config ETRAX_SERIAL_PORT1_DMA5_IN
421 bool "Ser1 uses DMA5 for input"
422 depends on ETRAX_ARCH_V32
424 Enables the DMA5 input channel for ser1 (ttyS1).
425 If you do not enable DMA, an interrupt for each character will be
426 used when receiving data.
427 Normally you want this on, unless you use the DMA channel for
430 config ETRAX_SERIAL_PORT1_DMA9_IN
431 depends on ETRAX_ARCH_V10
432 bool "Ser1 uses DMA9 for input"
438 prompt "Ser1 DMA out channel"
439 depends on ETRAX_SERIAL_PORT1
440 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
441 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
443 What DMA channel to use for ser1.
445 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
446 bool "Ser1 uses no DMA for output"
448 Do not use DMA for ser1 output.
450 config ETRAX_SERIAL_PORT1_DMA8_OUT
451 depends on ETRAX_ARCH_V10
452 bool "Ser1 uses DMA8 for output"
454 config ETRAX_SERIAL_PORT1_DMA4_OUT
455 depends on ETRAX_ARCH_V32
456 bool "Ser1 uses DMA4 for output"
458 Enables the DMA4 output channel for ser1 (ttyS1).
459 If you do not enable DMA, an interrupt for each character will be
460 used when transmitting data.
461 Normally you want this on, unless you use the DMA channel for
467 prompt "Ser2 DMA out channel"
468 depends on ETRAX_SERIAL_PORT2
469 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
470 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
472 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
473 bool "Ser2 uses no DMA for output"
475 Do not use DMA for ser2 output.
477 config ETRAX_SERIAL_PORT2_DMA2_OUT
478 bool "Ser2 uses DMA2 for output"
479 depends on ETRAXFS || ETRAX_ARCH_V10
481 Enables the DMA2 output channel for ser2 (ttyS2).
482 If you do not enable DMA, an interrupt for each character will be
483 used when transmitting data.
484 Normally you want to use DMA, unless you use the DMA channel for
487 config ETRAX_SERIAL_PORT2_DMA6_OUT
488 bool "Ser2 uses DMA6 for output"
489 depends on CRIS_MACH_ARTPEC3
491 Enables the DMA6 output channel for ser2 (ttyS2).
492 If you do not enable DMA, an interrupt for each character will be
493 used when transmitting data.
494 Normally you want to use DMA, unless you use the DMA channel for
500 prompt "Ser2 DMA in channel"
501 depends on ETRAX_SERIAL_PORT2
502 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
503 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
505 What DMA channel to use for ser2.
507 config ETRAX_SERIAL_PORT2_NO_DMA_IN
508 bool "Ser2 uses no DMA for input"
510 Do not use DMA for ser2 input.
512 config ETRAX_SERIAL_PORT2_DMA3_IN
513 bool "Ser2 uses DMA3 for input"
514 depends on ETRAXFS || ETRAX_ARCH_V10
516 Enables the DMA3 input channel for ser2 (ttyS2).
517 If you do not enable DMA, an interrupt for each character will be
518 used when receiving data.
519 Normally you want to use DMA, unless you use the DMA channel for
522 config ETRAX_SERIAL_PORT2_DMA7_IN
523 bool "Ser2 uses DMA7 for input"
524 depends on CRIS_MACH_ARTPEC3
526 Enables the DMA7 input channel for ser2 (ttyS2).
527 If you do not enable DMA, an interrupt for each character will be
528 used when receiving data.
529 Normally you want to use DMA, unless you use the DMA channel for
535 prompt "Ser3 DMA in channel"
536 depends on ETRAX_SERIAL_PORT3
537 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
538 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
540 What DMA channel to use for ser3.
542 config ETRAX_SERIAL_PORT3_NO_DMA_IN
543 bool "Ser3 uses no DMA for input"
545 Do not use DMA for ser3 input.
547 config ETRAX_SERIAL_PORT3_DMA5_IN
548 depends on ETRAX_ARCH_V10
554 prompt "Ser3 DMA out channel"
555 depends on ETRAX_SERIAL_PORT3
556 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
557 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
559 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
560 bool "Ser3 uses no DMA for output"
562 Do not use DMA for ser3 output.
564 config ETRAX_SERIAL_PORT3_DMA4_OUT
565 depends on ETRAX_ARCH_V10
572 source "drivers/Kconfig"
576 source "arch/cris/Kconfig.debug"
578 source "security/Kconfig"
580 source "crypto/Kconfig"