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
55 select ARCH_REQUIRE_GPIOLIB
56 select IRQ_DOMAIN if ETRAX_ARCH_V32
68 source "kernel/Kconfig.freezer"
72 source "fs/Kconfig.binfmt"
75 string "Kernel command line"
76 default "root=/dev/mtdblock3"
78 Pass additional commands to the kernel.
81 bool "Enable ETRAX watchdog"
83 Enable the built-in watchdog timer support on ETRAX based embedded
86 config ETRAX_WATCHDOG_NICE_DOGGY
87 bool "Disable watchdog during Oops printouts"
88 depends on ETRAX_WATCHDOG
90 By enabling this you make sure that the watchdog does not bite while
91 printing oopses. Recommended for development systems but not for
94 config ETRAX_FAST_TIMER
95 bool "Enable ETRAX fast timer API"
97 This options enables the API to a fast timer implementation using
98 timer1 to get sub jiffie resolution timers (primarily one-shot
100 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
102 config ETRAX_KMALLOCED_MODULES
103 bool "Enable module allocation with kmalloc"
105 Enable module allocation with kmalloc instead of vmalloc.
107 source "kernel/Kconfig.preempt"
113 menu "Hardware setup"
116 prompt "Processor type"
120 bool "ETRAX-100LX-v1"
121 select ARCH_USES_GETTIMEOFFSET
123 Support version 1 of the ETRAX 100LX.
126 bool "ETRAX-100LX-v2"
127 select ARCH_USES_GETTIMEOFFSET
129 Support version 2 of the ETRAX 100LX.
136 config CRIS_MACH_ARTPEC3
139 Support Axis ARTPEC-3.
143 config ETRAX_ARCH_V10
145 default y if ETRAX100LX || ETRAX100LX_V2
146 default n if !(ETRAX100LX || ETRAX100LX_V2)
149 config ETRAX_ARCH_V32
151 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
152 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
154 config ETRAX_DRAM_SIZE
155 int "DRAM size (dec, in MB)"
158 Size of DRAM (decimal in MB) typically 2, 8 or 16.
160 config ETRAX_VMEM_SIZE
161 int "Video memory size (dec, in MB)"
162 depends on ETRAX_ARCH_V32 && !ETRAXFS
163 default 8 if !ETRAXFS
165 Size of Video accessible memory (decimal, in MB).
167 config ETRAX_FLASH_BUSWIDTH
168 int "Buswidth of NOR flash in bytes"
171 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
173 config ETRAX_FLASH1_SIZE
174 int "FLASH1 size (dec, in MB. 0 = Unknown)"
178 prompt "Product debug-port"
179 default ETRAX_DEBUG_PORT0
181 config ETRAX_DEBUG_PORT0
184 Choose a serial port for the ETRAX debug console. Default to
187 config ETRAX_DEBUG_PORT1
190 Use serial port 1 for the console.
192 config ETRAX_DEBUG_PORT2
195 Use serial port 2 for the console.
197 config ETRAX_DEBUG_PORT3
200 Use serial port 3 for the console.
202 config ETRAX_DEBUG_PORT_NULL
205 Disable serial-port debugging.
210 prompt "Kernel GDB port"
211 depends on ETRAX_KGDB
212 default ETRAX_KGDB_PORT0
214 Choose a serial port for kernel debugging. NOTE: This port should
215 not be enabled under Drivers for built-in interfaces (as it has its
216 own initialization code) and should not be the same as the debug port.
218 config ETRAX_KGDB_PORT0
221 Use serial port 0 for kernel debugging.
223 config ETRAX_KGDB_PORT1
226 Use serial port 1 for kernel debugging.
228 config ETRAX_KGDB_PORT2
231 Use serial port 2 for kernel debugging.
233 config ETRAX_KGDB_PORT3
236 Use serial port 3 for kernel debugging.
240 source arch/cris/arch-v10/Kconfig
241 source arch/cris/arch-v32/Kconfig
247 # bring in ETRAX built-in drivers
248 menu "Drivers for built-in interfaces"
249 source arch/cris/arch-v10/drivers/Kconfig
250 source arch/cris/arch-v32/drivers/Kconfig
252 config ETRAX_AXISFLASHMAP
253 bool "Axis flash-map support"
256 select MTD_CFI_AMDSTD
257 select MTD_JEDECPROBE if ETRAX_ARCH_V32
259 select MTD_COMPLEX_MAPPINGS
261 This option enables MTD mapping of flash devices. Needed to use
262 flash memories. If unsure, say Y.
264 config ETRAX_SYNCHRONOUS_SERIAL
265 bool "Synchronous serial-port support"
267 Select this to enable the synchronous serial port driver.
269 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
270 bool "Synchronous serial port 0 enabled"
271 depends on ETRAX_SYNCHRONOUS_SERIAL
273 Enabled synchronous serial port 0.
275 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
276 bool "Enable DMA on synchronous serial port 0."
277 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
279 A synchronous serial port can run in manual or DMA mode.
280 Selecting this option will make it run in DMA mode.
282 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
283 bool "Synchronous serial port 1 enabled"
284 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
286 Enabled synchronous serial port 1.
288 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
289 bool "Enable DMA on synchronous serial port 1."
290 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
292 A synchronous serial port can run in manual or DMA mode.
293 Selecting this option will make it run in DMA mode.
296 prompt "Network LED behavior"
297 depends on ETRAX_ETHERNET
298 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
300 config ETRAX_NETWORK_LED_ON_WHEN_LINK
301 bool "LED_on_when_link"
303 Selecting LED_on_when_link will light the LED when there is a
304 connection and will flash off when there is activity.
306 Selecting LED_on_when_activity will light the LED only when
309 This setting will also affect the behaviour of other activity LEDs
312 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
313 bool "LED_on_when_activity"
315 Selecting LED_on_when_link will light the LED when there is a
316 connection and will flash off when there is activity.
318 Selecting LED_on_when_activity will light the LED only when
321 This setting will also affect the behaviour of other activity LEDs
327 prompt "Ser0 DMA out channel"
328 depends on ETRAX_SERIAL_PORT0
329 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
330 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
332 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
333 bool "Ser0 uses no DMA for output"
335 Do not use DMA for ser0 output.
337 config ETRAX_SERIAL_PORT0_DMA6_OUT
338 bool "Ser0 uses DMA6 for output"
341 Enables the DMA6 output channel for ser0 (ttyS0).
342 If you do not enable DMA, an interrupt for each character will be
343 used when transmitting data.
344 Normally you want to use DMA, unless you use the DMA channel for
347 config ETRAX_SERIAL_PORT0_DMA0_OUT
348 bool "Ser0 uses DMA0 for output"
349 depends on CRIS_MACH_ARTPEC3
351 Enables the DMA0 output channel for ser0 (ttyS0).
352 If you do not enable DMA, an interrupt for each character will be
353 used when transmitting data.
354 Normally you want to use DMA, unless you use the DMA channel for
360 prompt "Ser0 DMA in channel "
361 depends on ETRAX_SERIAL_PORT0
362 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
363 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
365 What DMA channel to use for ser0.
367 config ETRAX_SERIAL_PORT0_NO_DMA_IN
368 bool "Ser0 uses no DMA for input"
370 Do not use DMA for ser0 input.
372 config ETRAX_SERIAL_PORT0_DMA7_IN
373 bool "Ser0 uses DMA7 for input"
376 Enables the DMA7 input channel for ser0 (ttyS0).
377 If you do not enable DMA, an interrupt for each character will be
378 used when receiving data.
379 Normally you want to use DMA, unless you use the DMA channel for
382 config ETRAX_SERIAL_PORT0_DMA1_IN
383 bool "Ser0 uses DMA1 for input"
384 depends on CRIS_MACH_ARTPEC3
386 Enables the DMA1 input channel for ser0 (ttyS0).
387 If you do not enable DMA, an interrupt for each character will be
388 used when receiving data.
389 Normally you want to use DMA, unless you use the DMA channel for
395 prompt "Ser1 DMA in channel "
396 depends on ETRAX_SERIAL_PORT1
397 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
398 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
400 What DMA channel to use for ser1.
402 config ETRAX_SERIAL_PORT1_NO_DMA_IN
403 bool "Ser1 uses no DMA for input"
405 Do not use DMA for ser1 input.
407 config ETRAX_SERIAL_PORT1_DMA5_IN
408 bool "Ser1 uses DMA5 for input"
409 depends on ETRAX_ARCH_V32
411 Enables the DMA5 input channel for ser1 (ttyS1).
412 If you do not enable DMA, an interrupt for each character will be
413 used when receiving data.
414 Normally you want this on, unless you use the DMA channel for
417 config ETRAX_SERIAL_PORT1_DMA9_IN
418 depends on ETRAX_ARCH_V10
419 bool "Ser1 uses DMA9 for input"
425 prompt "Ser1 DMA out channel"
426 depends on ETRAX_SERIAL_PORT1
427 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
428 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
430 What DMA channel to use for ser1.
432 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
433 bool "Ser1 uses no DMA for output"
435 Do not use DMA for ser1 output.
437 config ETRAX_SERIAL_PORT1_DMA8_OUT
438 depends on ETRAX_ARCH_V10
439 bool "Ser1 uses DMA8 for output"
441 config ETRAX_SERIAL_PORT1_DMA4_OUT
442 depends on ETRAX_ARCH_V32
443 bool "Ser1 uses DMA4 for output"
445 Enables the DMA4 output channel for ser1 (ttyS1).
446 If you do not enable DMA, an interrupt for each character will be
447 used when transmitting data.
448 Normally you want this on, unless you use the DMA channel for
454 prompt "Ser2 DMA out channel"
455 depends on ETRAX_SERIAL_PORT2
456 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
457 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
459 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
460 bool "Ser2 uses no DMA for output"
462 Do not use DMA for ser2 output.
464 config ETRAX_SERIAL_PORT2_DMA2_OUT
465 bool "Ser2 uses DMA2 for output"
466 depends on ETRAXFS || ETRAX_ARCH_V10
468 Enables the DMA2 output channel for ser2 (ttyS2).
469 If you do not enable DMA, an interrupt for each character will be
470 used when transmitting data.
471 Normally you want to use DMA, unless you use the DMA channel for
474 config ETRAX_SERIAL_PORT2_DMA6_OUT
475 bool "Ser2 uses DMA6 for output"
476 depends on CRIS_MACH_ARTPEC3
478 Enables the DMA6 output channel for ser2 (ttyS2).
479 If you do not enable DMA, an interrupt for each character will be
480 used when transmitting data.
481 Normally you want to use DMA, unless you use the DMA channel for
487 prompt "Ser2 DMA in channel"
488 depends on ETRAX_SERIAL_PORT2
489 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
490 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
492 What DMA channel to use for ser2.
494 config ETRAX_SERIAL_PORT2_NO_DMA_IN
495 bool "Ser2 uses no DMA for input"
497 Do not use DMA for ser2 input.
499 config ETRAX_SERIAL_PORT2_DMA3_IN
500 bool "Ser2 uses DMA3 for input"
501 depends on ETRAXFS || ETRAX_ARCH_V10
503 Enables the DMA3 input channel for ser2 (ttyS2).
504 If you do not enable DMA, an interrupt for each character will be
505 used when receiving data.
506 Normally you want to use DMA, unless you use the DMA channel for
509 config ETRAX_SERIAL_PORT2_DMA7_IN
510 bool "Ser2 uses DMA7 for input"
511 depends on CRIS_MACH_ARTPEC3
513 Enables the DMA7 input channel for ser2 (ttyS2).
514 If you do not enable DMA, an interrupt for each character will be
515 used when receiving data.
516 Normally you want to use DMA, unless you use the DMA channel for
522 prompt "Ser3 DMA in channel"
523 depends on ETRAX_SERIAL_PORT3
524 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
525 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
527 What DMA channel to use for ser3.
529 config ETRAX_SERIAL_PORT3_NO_DMA_IN
530 bool "Ser3 uses no DMA for input"
532 Do not use DMA for ser3 input.
534 config ETRAX_SERIAL_PORT3_DMA5_IN
535 depends on ETRAX_ARCH_V10
541 prompt "Ser3 DMA out channel"
542 depends on ETRAX_SERIAL_PORT3
543 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
544 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
546 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
547 bool "Ser3 uses no DMA for output"
549 Do not use DMA for ser3 output.
551 config ETRAX_SERIAL_PORT3_DMA4_OUT
552 depends on ETRAX_ARCH_V10
559 source "drivers/Kconfig"
563 source "arch/cris/Kconfig.debug"
565 source "security/Kconfig"
567 source "crypto/Kconfig"