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
43 select GENERIC_ATOMIC64
46 select ARCH_WANT_IPC_PARSE_VERSION
47 select GENERIC_IRQ_SHOW
49 select GENERIC_CMOS_UPDATE
50 select MODULES_USE_ELF_RELA
51 select CLONE_BACKWARDS2
54 select ARCH_REQUIRE_GPIOLIB
55 select IRQ_DOMAIN if ETRAX_ARCH_V32
56 select OF if ETRAX_ARCH_V32
57 select OF_EARLY_FLATTREE if ETRAX_ARCH_V32
58 select CLKSRC_MMIO if ETRAX_ARCH_V32
59 select GENERIC_CLOCKEVENTS if ETRAX_ARCH_V32
60 select GENERIC_SCHED_CLOCK if ETRAX_ARCH_V32
61 select HAVE_DEBUG_BUGVERBOSE if ETRAX_ARCH_V32
72 string "DTB to build into the kernel image"
77 source "kernel/Kconfig.freezer"
81 source "fs/Kconfig.binfmt"
84 string "Kernel command line"
85 default "root=/dev/mtdblock3"
87 Pass additional commands to the kernel.
90 bool "Enable ETRAX watchdog"
92 Enable the built-in watchdog timer support on ETRAX based embedded
95 config ETRAX_WATCHDOG_NICE_DOGGY
96 bool "Disable watchdog during Oops printouts"
97 depends on ETRAX_WATCHDOG
99 By enabling this you make sure that the watchdog does not bite while
100 printing oopses. Recommended for development systems but not for
103 config ETRAX_FAST_TIMER
104 bool "Enable ETRAX fast timer API"
106 This options enables the API to a fast timer implementation using
107 timer1 to get sub jiffie resolution timers (primarily one-shot
109 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
111 config ETRAX_KMALLOCED_MODULES
112 bool "Enable module allocation with kmalloc"
114 Enable module allocation with kmalloc instead of vmalloc.
116 source "kernel/Kconfig.preempt"
122 menu "Hardware setup"
125 prompt "Processor type"
129 bool "ETRAX-100LX-v1"
130 select ARCH_USES_GETTIMEOFFSET
132 Support version 1 of the ETRAX 100LX.
135 bool "ETRAX-100LX-v2"
136 select ARCH_USES_GETTIMEOFFSET
138 Support version 2 of the ETRAX 100LX.
145 config CRIS_MACH_ARTPEC3
148 Support Axis ARTPEC-3.
152 config ETRAX_ARCH_V10
154 default y if ETRAX100LX || ETRAX100LX_V2
155 default n if !(ETRAX100LX || ETRAX100LX_V2)
158 config ETRAX_ARCH_V32
160 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
161 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
163 config ETRAX_DRAM_SIZE
164 int "DRAM size (dec, in MB)"
167 Size of DRAM (decimal in MB) typically 2, 8 or 16.
169 config ETRAX_VMEM_SIZE
170 int "Video memory size (dec, in MB)"
171 depends on ETRAX_ARCH_V32 && !ETRAXFS
172 default 8 if !ETRAXFS
174 Size of Video accessible memory (decimal, in MB).
176 config ETRAX_FLASH_BUSWIDTH
177 int "Buswidth of NOR flash in bytes"
180 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
182 config ETRAX_FLASH1_SIZE
183 int "FLASH1 size (dec, in MB. 0 = Unknown)"
187 prompt "Product debug-port"
188 default ETRAX_DEBUG_PORT0
190 config ETRAX_DEBUG_PORT0
193 Choose a serial port for the ETRAX debug console. Default to
196 config ETRAX_DEBUG_PORT1
199 Use serial port 1 for the console.
201 config ETRAX_DEBUG_PORT2
204 Use serial port 2 for the console.
206 config ETRAX_DEBUG_PORT3
209 Use serial port 3 for the console.
211 config ETRAX_DEBUG_PORT_NULL
214 Disable serial-port debugging.
219 prompt "Kernel GDB port"
220 depends on ETRAX_KGDB
221 default ETRAX_KGDB_PORT0
223 Choose a serial port for kernel debugging. NOTE: This port should
224 not be enabled under Drivers for built-in interfaces (as it has its
225 own initialization code) and should not be the same as the debug port.
227 config ETRAX_KGDB_PORT0
230 Use serial port 0 for kernel debugging.
232 config ETRAX_KGDB_PORT1
235 Use serial port 1 for kernel debugging.
237 config ETRAX_KGDB_PORT2
240 Use serial port 2 for kernel debugging.
242 config ETRAX_KGDB_PORT3
245 Use serial port 3 for kernel debugging.
249 source arch/cris/arch-v10/Kconfig
250 source arch/cris/arch-v32/Kconfig
256 # bring in ETRAX built-in drivers
257 menu "Drivers for built-in interfaces"
258 source arch/cris/arch-v10/drivers/Kconfig
259 source arch/cris/arch-v32/drivers/Kconfig
261 config ETRAX_AXISFLASHMAP
262 bool "Axis flash-map support"
265 select MTD_CFI_AMDSTD
266 select MTD_JEDECPROBE if ETRAX_ARCH_V32
268 select MTD_COMPLEX_MAPPINGS
270 This option enables MTD mapping of flash devices. Needed to use
271 flash memories. If unsure, say Y.
273 config ETRAX_SYNCHRONOUS_SERIAL
274 bool "Synchronous serial-port support"
276 Select this to enable the synchronous serial port driver.
278 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
279 bool "Synchronous serial port 0 enabled"
280 depends on ETRAX_SYNCHRONOUS_SERIAL
282 Enabled synchronous serial port 0.
284 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
285 bool "Enable DMA on synchronous serial port 0."
286 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
288 A synchronous serial port can run in manual or DMA mode.
289 Selecting this option will make it run in DMA mode.
291 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
292 bool "Synchronous serial port 1 enabled"
293 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
295 Enabled synchronous serial port 1.
297 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
298 bool "Enable DMA on synchronous serial port 1."
299 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
301 A synchronous serial port can run in manual or DMA mode.
302 Selecting this option will make it run in DMA mode.
305 prompt "Network LED behavior"
306 depends on ETRAX_ETHERNET
307 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
309 config ETRAX_NETWORK_LED_ON_WHEN_LINK
310 bool "LED_on_when_link"
312 Selecting LED_on_when_link will light the LED when there is a
313 connection and will flash off when there is activity.
315 Selecting LED_on_when_activity will light the LED only when
318 This setting will also affect the behaviour of other activity LEDs
321 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
322 bool "LED_on_when_activity"
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
336 prompt "Ser0 DMA out channel"
337 depends on ETRAX_SERIAL_PORT0
338 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
339 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
341 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
342 bool "Ser0 uses no DMA for output"
344 Do not use DMA for ser0 output.
346 config ETRAX_SERIAL_PORT0_DMA6_OUT
347 bool "Ser0 uses DMA6 for output"
350 Enables the DMA6 output channel for ser0 (ttyS0).
351 If you do not enable DMA, an interrupt for each character will be
352 used when transmitting data.
353 Normally you want to use DMA, unless you use the DMA channel for
356 config ETRAX_SERIAL_PORT0_DMA0_OUT
357 bool "Ser0 uses DMA0 for output"
358 depends on CRIS_MACH_ARTPEC3
360 Enables the DMA0 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
369 prompt "Ser0 DMA in channel "
370 depends on ETRAX_SERIAL_PORT0
371 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
372 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
374 What DMA channel to use for ser0.
376 config ETRAX_SERIAL_PORT0_NO_DMA_IN
377 bool "Ser0 uses no DMA for input"
379 Do not use DMA for ser0 input.
381 config ETRAX_SERIAL_PORT0_DMA7_IN
382 bool "Ser0 uses DMA7 for input"
385 Enables the DMA7 input channel for ser0 (ttyS0).
386 If you do not enable DMA, an interrupt for each character will be
387 used when receiving data.
388 Normally you want to use DMA, unless you use the DMA channel for
391 config ETRAX_SERIAL_PORT0_DMA1_IN
392 bool "Ser0 uses DMA1 for input"
393 depends on CRIS_MACH_ARTPEC3
395 Enables the DMA1 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
404 prompt "Ser1 DMA in channel "
405 depends on ETRAX_SERIAL_PORT1
406 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
407 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
409 What DMA channel to use for ser1.
411 config ETRAX_SERIAL_PORT1_NO_DMA_IN
412 bool "Ser1 uses no DMA for input"
414 Do not use DMA for ser1 input.
416 config ETRAX_SERIAL_PORT1_DMA5_IN
417 bool "Ser1 uses DMA5 for input"
418 depends on ETRAX_ARCH_V32
420 Enables the DMA5 input channel for ser1 (ttyS1).
421 If you do not enable DMA, an interrupt for each character will be
422 used when receiving data.
423 Normally you want this on, unless you use the DMA channel for
426 config ETRAX_SERIAL_PORT1_DMA9_IN
427 depends on ETRAX_ARCH_V10
428 bool "Ser1 uses DMA9 for input"
434 prompt "Ser1 DMA out channel"
435 depends on ETRAX_SERIAL_PORT1
436 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
437 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
439 What DMA channel to use for ser1.
441 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
442 bool "Ser1 uses no DMA for output"
444 Do not use DMA for ser1 output.
446 config ETRAX_SERIAL_PORT1_DMA8_OUT
447 depends on ETRAX_ARCH_V10
448 bool "Ser1 uses DMA8 for output"
450 config ETRAX_SERIAL_PORT1_DMA4_OUT
451 depends on ETRAX_ARCH_V32
452 bool "Ser1 uses DMA4 for output"
454 Enables the DMA4 output channel for ser1 (ttyS1).
455 If you do not enable DMA, an interrupt for each character will be
456 used when transmitting data.
457 Normally you want this on, unless you use the DMA channel for
463 prompt "Ser2 DMA out channel"
464 depends on ETRAX_SERIAL_PORT2
465 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
466 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
468 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
469 bool "Ser2 uses no DMA for output"
471 Do not use DMA for ser2 output.
473 config ETRAX_SERIAL_PORT2_DMA2_OUT
474 bool "Ser2 uses DMA2 for output"
475 depends on ETRAXFS || ETRAX_ARCH_V10
477 Enables the DMA2 output channel for ser2 (ttyS2).
478 If you do not enable DMA, an interrupt for each character will be
479 used when transmitting data.
480 Normally you want to use DMA, unless you use the DMA channel for
483 config ETRAX_SERIAL_PORT2_DMA6_OUT
484 bool "Ser2 uses DMA6 for output"
485 depends on CRIS_MACH_ARTPEC3
487 Enables the DMA6 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
496 prompt "Ser2 DMA in channel"
497 depends on ETRAX_SERIAL_PORT2
498 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
499 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
501 What DMA channel to use for ser2.
503 config ETRAX_SERIAL_PORT2_NO_DMA_IN
504 bool "Ser2 uses no DMA for input"
506 Do not use DMA for ser2 input.
508 config ETRAX_SERIAL_PORT2_DMA3_IN
509 bool "Ser2 uses DMA3 for input"
510 depends on ETRAXFS || ETRAX_ARCH_V10
512 Enables the DMA3 input channel for ser2 (ttyS2).
513 If you do not enable DMA, an interrupt for each character will be
514 used when receiving data.
515 Normally you want to use DMA, unless you use the DMA channel for
518 config ETRAX_SERIAL_PORT2_DMA7_IN
519 bool "Ser2 uses DMA7 for input"
520 depends on CRIS_MACH_ARTPEC3
522 Enables the DMA7 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
531 prompt "Ser3 DMA in channel"
532 depends on ETRAX_SERIAL_PORT3
533 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
534 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
536 What DMA channel to use for ser3.
538 config ETRAX_SERIAL_PORT3_NO_DMA_IN
539 bool "Ser3 uses no DMA for input"
541 Do not use DMA for ser3 input.
543 config ETRAX_SERIAL_PORT3_DMA5_IN
544 depends on ETRAX_ARCH_V10
550 prompt "Ser3 DMA out channel"
551 depends on ETRAX_SERIAL_PORT3
552 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
553 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
555 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
556 bool "Ser3 uses no DMA for output"
558 Do not use DMA for ser3 output.
560 config ETRAX_SERIAL_PORT3_DMA4_OUT
561 depends on ETRAX_ARCH_V10
568 source "drivers/Kconfig"
572 source "arch/cris/Kconfig.debug"
574 source "security/Kconfig"
576 source "crypto/Kconfig"