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
71 string "DTB to build into the kernel image"
76 source "kernel/Kconfig.freezer"
80 source "fs/Kconfig.binfmt"
83 string "Kernel command line"
84 default "root=/dev/mtdblock3"
86 Pass additional commands to the kernel.
89 bool "Enable ETRAX watchdog"
91 Enable the built-in watchdog timer support on ETRAX based embedded
94 config ETRAX_WATCHDOG_NICE_DOGGY
95 bool "Disable watchdog during Oops printouts"
96 depends on ETRAX_WATCHDOG
98 By enabling this you make sure that the watchdog does not bite while
99 printing oopses. Recommended for development systems but not for
102 config ETRAX_FAST_TIMER
103 bool "Enable ETRAX fast timer API"
105 This options enables the API to a fast timer implementation using
106 timer1 to get sub jiffie resolution timers (primarily one-shot
108 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
110 config ETRAX_KMALLOCED_MODULES
111 bool "Enable module allocation with kmalloc"
113 Enable module allocation with kmalloc instead of vmalloc.
115 source "kernel/Kconfig.preempt"
121 menu "Hardware setup"
124 prompt "Processor type"
128 bool "ETRAX-100LX-v1"
129 select ARCH_USES_GETTIMEOFFSET
131 Support version 1 of the ETRAX 100LX.
134 bool "ETRAX-100LX-v2"
135 select ARCH_USES_GETTIMEOFFSET
137 Support version 2 of the ETRAX 100LX.
144 config CRIS_MACH_ARTPEC3
147 Support Axis ARTPEC-3.
151 config ETRAX_ARCH_V10
153 default y if ETRAX100LX || ETRAX100LX_V2
154 default n if !(ETRAX100LX || ETRAX100LX_V2)
157 config ETRAX_ARCH_V32
159 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
160 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
162 config ETRAX_DRAM_SIZE
163 int "DRAM size (dec, in MB)"
166 Size of DRAM (decimal in MB) typically 2, 8 or 16.
168 config ETRAX_VMEM_SIZE
169 int "Video memory size (dec, in MB)"
170 depends on ETRAX_ARCH_V32 && !ETRAXFS
171 default 8 if !ETRAXFS
173 Size of Video accessible memory (decimal, in MB).
175 config ETRAX_FLASH_BUSWIDTH
176 int "Buswidth of NOR flash in bytes"
179 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
181 config ETRAX_FLASH1_SIZE
182 int "FLASH1 size (dec, in MB. 0 = Unknown)"
186 prompt "Product debug-port"
187 default ETRAX_DEBUG_PORT0
189 config ETRAX_DEBUG_PORT0
192 Choose a serial port for the ETRAX debug console. Default to
195 config ETRAX_DEBUG_PORT1
198 Use serial port 1 for the console.
200 config ETRAX_DEBUG_PORT2
203 Use serial port 2 for the console.
205 config ETRAX_DEBUG_PORT3
208 Use serial port 3 for the console.
210 config ETRAX_DEBUG_PORT_NULL
213 Disable serial-port debugging.
218 prompt "Kernel GDB port"
219 depends on ETRAX_KGDB
220 default ETRAX_KGDB_PORT0
222 Choose a serial port for kernel debugging. NOTE: This port should
223 not be enabled under Drivers for built-in interfaces (as it has its
224 own initialization code) and should not be the same as the debug port.
226 config ETRAX_KGDB_PORT0
229 Use serial port 0 for kernel debugging.
231 config ETRAX_KGDB_PORT1
234 Use serial port 1 for kernel debugging.
236 config ETRAX_KGDB_PORT2
239 Use serial port 2 for kernel debugging.
241 config ETRAX_KGDB_PORT3
244 Use serial port 3 for kernel debugging.
248 source arch/cris/arch-v10/Kconfig
249 source arch/cris/arch-v32/Kconfig
255 # bring in ETRAX built-in drivers
256 menu "Drivers for built-in interfaces"
257 source arch/cris/arch-v10/drivers/Kconfig
258 source arch/cris/arch-v32/drivers/Kconfig
260 config ETRAX_AXISFLASHMAP
261 bool "Axis flash-map support"
264 select MTD_CFI_AMDSTD
265 select MTD_JEDECPROBE if ETRAX_ARCH_V32
267 select MTD_COMPLEX_MAPPINGS
269 This option enables MTD mapping of flash devices. Needed to use
270 flash memories. If unsure, say Y.
272 config ETRAX_SYNCHRONOUS_SERIAL
273 bool "Synchronous serial-port support"
275 Select this to enable the synchronous serial port driver.
277 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
278 bool "Synchronous serial port 0 enabled"
279 depends on ETRAX_SYNCHRONOUS_SERIAL
281 Enabled synchronous serial port 0.
283 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
284 bool "Enable DMA on synchronous serial port 0."
285 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
287 A synchronous serial port can run in manual or DMA mode.
288 Selecting this option will make it run in DMA mode.
290 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
291 bool "Synchronous serial port 1 enabled"
292 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
294 Enabled synchronous serial port 1.
296 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
297 bool "Enable DMA on synchronous serial port 1."
298 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
300 A synchronous serial port can run in manual or DMA mode.
301 Selecting this option will make it run in DMA mode.
304 prompt "Network LED behavior"
305 depends on ETRAX_ETHERNET
306 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
308 config ETRAX_NETWORK_LED_ON_WHEN_LINK
309 bool "LED_on_when_link"
311 Selecting LED_on_when_link will light the LED when there is a
312 connection and will flash off when there is activity.
314 Selecting LED_on_when_activity will light the LED only when
317 This setting will also affect the behaviour of other activity LEDs
320 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
321 bool "LED_on_when_activity"
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
335 prompt "Ser0 DMA out channel"
336 depends on ETRAX_SERIAL_PORT0
337 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
338 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
340 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
341 bool "Ser0 uses no DMA for output"
343 Do not use DMA for ser0 output.
345 config ETRAX_SERIAL_PORT0_DMA6_OUT
346 bool "Ser0 uses DMA6 for output"
349 Enables the DMA6 output channel for ser0 (ttyS0).
350 If you do not enable DMA, an interrupt for each character will be
351 used when transmitting data.
352 Normally you want to use DMA, unless you use the DMA channel for
355 config ETRAX_SERIAL_PORT0_DMA0_OUT
356 bool "Ser0 uses DMA0 for output"
357 depends on CRIS_MACH_ARTPEC3
359 Enables the DMA0 output channel for ser0 (ttyS0).
360 If you do not enable DMA, an interrupt for each character will be
361 used when transmitting data.
362 Normally you want to use DMA, unless you use the DMA channel for
368 prompt "Ser0 DMA in channel "
369 depends on ETRAX_SERIAL_PORT0
370 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
371 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
373 What DMA channel to use for ser0.
375 config ETRAX_SERIAL_PORT0_NO_DMA_IN
376 bool "Ser0 uses no DMA for input"
378 Do not use DMA for ser0 input.
380 config ETRAX_SERIAL_PORT0_DMA7_IN
381 bool "Ser0 uses DMA7 for input"
384 Enables the DMA7 input channel for ser0 (ttyS0).
385 If you do not enable DMA, an interrupt for each character will be
386 used when receiving data.
387 Normally you want to use DMA, unless you use the DMA channel for
390 config ETRAX_SERIAL_PORT0_DMA1_IN
391 bool "Ser0 uses DMA1 for input"
392 depends on CRIS_MACH_ARTPEC3
394 Enables the DMA1 input channel for ser0 (ttyS0).
395 If you do not enable DMA, an interrupt for each character will be
396 used when receiving data.
397 Normally you want to use DMA, unless you use the DMA channel for
403 prompt "Ser1 DMA in channel "
404 depends on ETRAX_SERIAL_PORT1
405 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
406 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
408 What DMA channel to use for ser1.
410 config ETRAX_SERIAL_PORT1_NO_DMA_IN
411 bool "Ser1 uses no DMA for input"
413 Do not use DMA for ser1 input.
415 config ETRAX_SERIAL_PORT1_DMA5_IN
416 bool "Ser1 uses DMA5 for input"
417 depends on ETRAX_ARCH_V32
419 Enables the DMA5 input channel for ser1 (ttyS1).
420 If you do not enable DMA, an interrupt for each character will be
421 used when receiving data.
422 Normally you want this on, unless you use the DMA channel for
425 config ETRAX_SERIAL_PORT1_DMA9_IN
426 depends on ETRAX_ARCH_V10
427 bool "Ser1 uses DMA9 for input"
433 prompt "Ser1 DMA out channel"
434 depends on ETRAX_SERIAL_PORT1
435 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
436 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
438 What DMA channel to use for ser1.
440 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
441 bool "Ser1 uses no DMA for output"
443 Do not use DMA for ser1 output.
445 config ETRAX_SERIAL_PORT1_DMA8_OUT
446 depends on ETRAX_ARCH_V10
447 bool "Ser1 uses DMA8 for output"
449 config ETRAX_SERIAL_PORT1_DMA4_OUT
450 depends on ETRAX_ARCH_V32
451 bool "Ser1 uses DMA4 for output"
453 Enables the DMA4 output channel for ser1 (ttyS1).
454 If you do not enable DMA, an interrupt for each character will be
455 used when transmitting data.
456 Normally you want this on, unless you use the DMA channel for
462 prompt "Ser2 DMA out channel"
463 depends on ETRAX_SERIAL_PORT2
464 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
465 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
467 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
468 bool "Ser2 uses no DMA for output"
470 Do not use DMA for ser2 output.
472 config ETRAX_SERIAL_PORT2_DMA2_OUT
473 bool "Ser2 uses DMA2 for output"
474 depends on ETRAXFS || ETRAX_ARCH_V10
476 Enables the DMA2 output channel for ser2 (ttyS2).
477 If you do not enable DMA, an interrupt for each character will be
478 used when transmitting data.
479 Normally you want to use DMA, unless you use the DMA channel for
482 config ETRAX_SERIAL_PORT2_DMA6_OUT
483 bool "Ser2 uses DMA6 for output"
484 depends on CRIS_MACH_ARTPEC3
486 Enables the DMA6 output channel for ser2 (ttyS2).
487 If you do not enable DMA, an interrupt for each character will be
488 used when transmitting data.
489 Normally you want to use DMA, unless you use the DMA channel for
495 prompt "Ser2 DMA in channel"
496 depends on ETRAX_SERIAL_PORT2
497 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
498 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
500 What DMA channel to use for ser2.
502 config ETRAX_SERIAL_PORT2_NO_DMA_IN
503 bool "Ser2 uses no DMA for input"
505 Do not use DMA for ser2 input.
507 config ETRAX_SERIAL_PORT2_DMA3_IN
508 bool "Ser2 uses DMA3 for input"
509 depends on ETRAXFS || ETRAX_ARCH_V10
511 Enables the DMA3 input channel for ser2 (ttyS2).
512 If you do not enable DMA, an interrupt for each character will be
513 used when receiving data.
514 Normally you want to use DMA, unless you use the DMA channel for
517 config ETRAX_SERIAL_PORT2_DMA7_IN
518 bool "Ser2 uses DMA7 for input"
519 depends on CRIS_MACH_ARTPEC3
521 Enables the DMA7 input channel for ser2 (ttyS2).
522 If you do not enable DMA, an interrupt for each character will be
523 used when receiving data.
524 Normally you want to use DMA, unless you use the DMA channel for
530 prompt "Ser3 DMA in channel"
531 depends on ETRAX_SERIAL_PORT3
532 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
533 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
535 What DMA channel to use for ser3.
537 config ETRAX_SERIAL_PORT3_NO_DMA_IN
538 bool "Ser3 uses no DMA for input"
540 Do not use DMA for ser3 input.
542 config ETRAX_SERIAL_PORT3_DMA5_IN
543 depends on ETRAX_ARCH_V10
549 prompt "Ser3 DMA out channel"
550 depends on ETRAX_SERIAL_PORT3
551 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
552 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
554 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
555 bool "Ser3 uses no DMA for output"
557 Do not use DMA for ser3 output.
559 config ETRAX_SERIAL_PORT3_DMA4_OUT
560 depends on ETRAX_ARCH_V10
567 source "drivers/Kconfig"
571 source "arch/cris/Kconfig.debug"
573 source "security/Kconfig"
575 source "crypto/Kconfig"