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_SMP_IDLE_THREAD if ETRAX_ARCH_V32
50 select GENERIC_CMOS_UPDATE
51 select MODULES_USE_ELF_RELA
52 select CLONE_BACKWARDS2
66 source "kernel/Kconfig.freezer"
70 source "fs/Kconfig.binfmt"
73 string "Kernel command line"
74 default "root=/dev/mtdblock3"
76 Pass additional commands to the kernel.
79 bool "Enable ETRAX watchdog"
81 Enable the built-in watchdog timer support on ETRAX based embedded
84 config ETRAX_WATCHDOG_NICE_DOGGY
85 bool "Disable watchdog during Oops printouts"
86 depends on ETRAX_WATCHDOG
88 By enabling this you make sure that the watchdog does not bite while
89 printing oopses. Recommended for development systems but not for
92 config ETRAX_FAST_TIMER
93 bool "Enable ETRAX fast timer API"
95 This options enables the API to a fast timer implementation using
96 timer1 to get sub jiffie resolution timers (primarily one-shot
98 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
100 config ETRAX_KMALLOCED_MODULES
101 bool "Enable module allocation with kmalloc"
103 Enable module allocation with kmalloc instead of vmalloc.
105 source "kernel/Kconfig.preempt"
111 menu "Hardware setup"
114 prompt "Processor type"
118 bool "ETRAX-100LX-v1"
119 select ARCH_USES_GETTIMEOFFSET
121 Support version 1 of the ETRAX 100LX.
124 bool "ETRAX-100LX-v2"
125 select ARCH_USES_GETTIMEOFFSET
127 Support version 2 of the ETRAX 100LX.
134 config CRIS_MACH_ARTPEC3
137 Support Axis ARTPEC-3.
141 config ETRAX_ARCH_V10
143 default y if ETRAX100LX || ETRAX100LX_V2
144 default n if !(ETRAX100LX || ETRAX100LX_V2)
147 config ETRAX_ARCH_V32
149 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
150 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
152 config ETRAX_DRAM_SIZE
153 int "DRAM size (dec, in MB)"
156 Size of DRAM (decimal in MB) typically 2, 8 or 16.
158 config ETRAX_VMEM_SIZE
159 int "Video memory size (dec, in MB)"
160 depends on ETRAX_ARCH_V32 && !ETRAXFS
161 default 8 if !ETRAXFS
163 Size of Video accessible memory (decimal, in MB).
165 config ETRAX_FLASH_BUSWIDTH
166 int "Buswidth of NOR flash in bytes"
169 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
171 config ETRAX_FLASH1_SIZE
172 int "FLASH1 size (dec, in MB. 0 = Unknown)"
176 prompt "Product debug-port"
177 default ETRAX_DEBUG_PORT0
179 config ETRAX_DEBUG_PORT0
182 Choose a serial port for the ETRAX debug console. Default to
185 config ETRAX_DEBUG_PORT1
188 Use serial port 1 for the console.
190 config ETRAX_DEBUG_PORT2
193 Use serial port 2 for the console.
195 config ETRAX_DEBUG_PORT3
198 Use serial port 3 for the console.
200 config ETRAX_DEBUG_PORT_NULL
203 Disable serial-port debugging.
208 prompt "Kernel GDB port"
209 depends on ETRAX_KGDB
210 default ETRAX_KGDB_PORT0
212 Choose a serial port for kernel debugging. NOTE: This port should
213 not be enabled under Drivers for built-in interfaces (as it has its
214 own initialization code) and should not be the same as the debug port.
216 config ETRAX_KGDB_PORT0
219 Use serial port 0 for kernel debugging.
221 config ETRAX_KGDB_PORT1
224 Use serial port 1 for kernel debugging.
226 config ETRAX_KGDB_PORT2
229 Use serial port 2 for kernel debugging.
231 config ETRAX_KGDB_PORT3
234 Use serial port 3 for kernel debugging.
238 source arch/cris/arch-v10/Kconfig
239 source arch/cris/arch-v32/Kconfig
245 # bring in ETRAX built-in drivers
246 menu "Drivers for built-in interfaces"
247 source arch/cris/arch-v10/drivers/Kconfig
248 source arch/cris/arch-v32/drivers/Kconfig
250 config ETRAX_AXISFLASHMAP
251 bool "Axis flash-map support"
254 select MTD_CFI_AMDSTD
255 select MTD_JEDECPROBE if ETRAX_ARCH_V32
257 select MTD_COMPLEX_MAPPINGS
259 This option enables MTD mapping of flash devices. Needed to use
260 flash memories. If unsure, say Y.
262 config ETRAX_SYNCHRONOUS_SERIAL
263 bool "Synchronous serial-port support"
265 Select this to enable the synchronous serial port driver.
267 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
268 bool "Synchronous serial port 0 enabled"
269 depends on ETRAX_SYNCHRONOUS_SERIAL
271 Enabled synchronous serial port 0.
273 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
274 bool "Enable DMA on synchronous serial port 0."
275 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
277 A synchronous serial port can run in manual or DMA mode.
278 Selecting this option will make it run in DMA mode.
280 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
281 bool "Synchronous serial port 1 enabled"
282 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
284 Enabled synchronous serial port 1.
286 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
287 bool "Enable DMA on synchronous serial port 1."
288 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
290 A synchronous serial port can run in manual or DMA mode.
291 Selecting this option will make it run in DMA mode.
294 prompt "Network LED behavior"
295 depends on ETRAX_ETHERNET
296 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
298 config ETRAX_NETWORK_LED_ON_WHEN_LINK
299 bool "LED_on_when_link"
301 Selecting LED_on_when_link will light the LED when there is a
302 connection and will flash off when there is activity.
304 Selecting LED_on_when_activity will light the LED only when
307 This setting will also affect the behaviour of other activity LEDs
310 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
311 bool "LED_on_when_activity"
313 Selecting LED_on_when_link will light the LED when there is a
314 connection and will flash off when there is activity.
316 Selecting LED_on_when_activity will light the LED only when
319 This setting will also affect the behaviour of other activity LEDs
325 prompt "Ser0 DMA out channel"
326 depends on ETRAX_SERIAL_PORT0
327 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
328 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
330 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
331 bool "Ser0 uses no DMA for output"
333 Do not use DMA for ser0 output.
335 config ETRAX_SERIAL_PORT0_DMA6_OUT
336 bool "Ser0 uses DMA6 for output"
339 Enables the DMA6 output channel for ser0 (ttyS0).
340 If you do not enable DMA, an interrupt for each character will be
341 used when transmitting data.
342 Normally you want to use DMA, unless you use the DMA channel for
345 config ETRAX_SERIAL_PORT0_DMA0_OUT
346 bool "Ser0 uses DMA0 for output"
347 depends on CRIS_MACH_ARTPEC3
349 Enables the DMA0 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
358 prompt "Ser0 DMA in channel "
359 depends on ETRAX_SERIAL_PORT0
360 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
361 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
363 What DMA channel to use for ser0.
365 config ETRAX_SERIAL_PORT0_NO_DMA_IN
366 bool "Ser0 uses no DMA for input"
368 Do not use DMA for ser0 input.
370 config ETRAX_SERIAL_PORT0_DMA7_IN
371 bool "Ser0 uses DMA7 for input"
374 Enables the DMA7 input channel for ser0 (ttyS0).
375 If you do not enable DMA, an interrupt for each character will be
376 used when receiving data.
377 Normally you want to use DMA, unless you use the DMA channel for
380 config ETRAX_SERIAL_PORT0_DMA1_IN
381 bool "Ser0 uses DMA1 for input"
382 depends on CRIS_MACH_ARTPEC3
384 Enables the DMA1 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
393 prompt "Ser1 DMA in channel "
394 depends on ETRAX_SERIAL_PORT1
395 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
396 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
398 What DMA channel to use for ser1.
400 config ETRAX_SERIAL_PORT1_NO_DMA_IN
401 bool "Ser1 uses no DMA for input"
403 Do not use DMA for ser1 input.
405 config ETRAX_SERIAL_PORT1_DMA5_IN
406 bool "Ser1 uses DMA5 for input"
407 depends on ETRAX_ARCH_V32
409 Enables the DMA5 input channel for ser1 (ttyS1).
410 If you do not enable DMA, an interrupt for each character will be
411 used when receiving data.
412 Normally you want this on, unless you use the DMA channel for
415 config ETRAX_SERIAL_PORT1_DMA9_IN
416 depends on ETRAX_ARCH_V10
417 bool "Ser1 uses DMA9 for input"
423 prompt "Ser1 DMA out channel"
424 depends on ETRAX_SERIAL_PORT1
425 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
426 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
428 What DMA channel to use for ser1.
430 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
431 bool "Ser1 uses no DMA for output"
433 Do not use DMA for ser1 output.
435 config ETRAX_SERIAL_PORT1_DMA8_OUT
436 depends on ETRAX_ARCH_V10
437 bool "Ser1 uses DMA8 for output"
439 config ETRAX_SERIAL_PORT1_DMA4_OUT
440 depends on ETRAX_ARCH_V32
441 bool "Ser1 uses DMA4 for output"
443 Enables the DMA4 output channel for ser1 (ttyS1).
444 If you do not enable DMA, an interrupt for each character will be
445 used when transmitting data.
446 Normally you want this on, unless you use the DMA channel for
452 prompt "Ser2 DMA out channel"
453 depends on ETRAX_SERIAL_PORT2
454 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
455 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
457 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
458 bool "Ser2 uses no DMA for output"
460 Do not use DMA for ser2 output.
462 config ETRAX_SERIAL_PORT2_DMA2_OUT
463 bool "Ser2 uses DMA2 for output"
464 depends on ETRAXFS || ETRAX_ARCH_V10
466 Enables the DMA2 output channel for ser2 (ttyS2).
467 If you do not enable DMA, an interrupt for each character will be
468 used when transmitting data.
469 Normally you want to use DMA, unless you use the DMA channel for
472 config ETRAX_SERIAL_PORT2_DMA6_OUT
473 bool "Ser2 uses DMA6 for output"
474 depends on CRIS_MACH_ARTPEC3
476 Enables the DMA6 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
485 prompt "Ser2 DMA in channel"
486 depends on ETRAX_SERIAL_PORT2
487 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
488 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
490 What DMA channel to use for ser2.
492 config ETRAX_SERIAL_PORT2_NO_DMA_IN
493 bool "Ser2 uses no DMA for input"
495 Do not use DMA for ser2 input.
497 config ETRAX_SERIAL_PORT2_DMA3_IN
498 bool "Ser2 uses DMA3 for input"
499 depends on ETRAXFS || ETRAX_ARCH_V10
501 Enables the DMA3 input channel for ser2 (ttyS2).
502 If you do not enable DMA, an interrupt for each character will be
503 used when receiving data.
504 Normally you want to use DMA, unless you use the DMA channel for
507 config ETRAX_SERIAL_PORT2_DMA7_IN
508 bool "Ser2 uses DMA7 for input"
509 depends on CRIS_MACH_ARTPEC3
511 Enables the DMA7 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
520 prompt "Ser3 DMA in channel"
521 depends on ETRAX_SERIAL_PORT3
522 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
523 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
525 What DMA channel to use for ser3.
527 config ETRAX_SERIAL_PORT3_NO_DMA_IN
528 bool "Ser3 uses no DMA for input"
530 Do not use DMA for ser3 input.
532 config ETRAX_SERIAL_PORT3_DMA5_IN
533 depends on ETRAX_ARCH_V10
539 prompt "Ser3 DMA out channel"
540 depends on ETRAX_SERIAL_PORT3
541 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
542 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
544 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
545 bool "Ser3 uses no DMA for output"
547 Do not use DMA for ser3 output.
549 config ETRAX_SERIAL_PORT3_DMA4_OUT
550 depends on ETRAX_ARCH_V10
557 source "drivers/Kconfig"
561 source "arch/cris/Kconfig.debug"
563 source "security/Kconfig"
565 source "crypto/Kconfig"