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
44 select HAVE_GENERIC_HARDIRQS
47 select ARCH_WANT_IPC_PARSE_VERSION
48 select GENERIC_IRQ_SHOW
50 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
51 select GENERIC_CMOS_UPDATE
52 select MODULES_USE_ELF_RELA
53 select CLONE_BACKWARDS2
63 source "kernel/Kconfig.freezer"
67 source "fs/Kconfig.binfmt"
70 string "Kernel command line"
71 default "root=/dev/mtdblock3"
73 Pass additional commands to the kernel.
76 bool "Enable ETRAX watchdog"
78 Enable the built-in watchdog timer support on ETRAX based embedded
81 config ETRAX_WATCHDOG_NICE_DOGGY
82 bool "Disable watchdog during Oops printouts"
83 depends on ETRAX_WATCHDOG
85 By enabling this you make sure that the watchdog does not bite while
86 printing oopses. Recommended for development systems but not for
89 config ETRAX_FAST_TIMER
90 bool "Enable ETRAX fast timer API"
92 This options enables the API to a fast timer implementation using
93 timer1 to get sub jiffie resolution timers (primarily one-shot
95 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
97 config ETRAX_KMALLOCED_MODULES
98 bool "Enable module allocation with kmalloc"
100 Enable module allocation with kmalloc instead of vmalloc.
102 source "kernel/Kconfig.preempt"
108 menu "Hardware setup"
111 prompt "Processor type"
115 bool "ETRAX-100LX-v1"
116 select ARCH_USES_GETTIMEOFFSET
118 Support version 1 of the ETRAX 100LX.
121 bool "ETRAX-100LX-v2"
122 select ARCH_USES_GETTIMEOFFSET
124 Support version 2 of the ETRAX 100LX.
127 bool "ETRAX-100LX-for-xsim-simulator"
128 select ARCH_USES_GETTIMEOFFSET
130 Support the xsim ETRAX Simulator.
134 select CPU_FREQ_TABLE if CPU_FREQ
138 config CRIS_MACH_ARTPEC3
140 select CPU_FREQ_TABLE if CPU_FREQ
142 Support Axis ARTPEC-3.
146 config ETRAX_ARCH_V10
148 default y if ETRAX100LX || ETRAX100LX_V2
149 default n if !(ETRAX100LX || ETRAX100LX_V2)
151 config ETRAX_ARCH_V32
153 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
154 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
156 config ETRAX_DRAM_SIZE
157 int "DRAM size (dec, in MB)"
160 Size of DRAM (decimal in MB) typically 2, 8 or 16.
162 config ETRAX_VMEM_SIZE
163 int "Video memory size (dec, in MB)"
164 depends on ETRAX_ARCH_V32 && !ETRAXFS
165 default 8 if !ETRAXFS
167 Size of Video accessible memory (decimal, in MB).
169 config ETRAX_FLASH_BUSWIDTH
170 int "Buswidth of NOR flash in bytes"
173 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
175 config ETRAX_FLASH1_SIZE
176 int "FLASH1 size (dec, in MB. 0 = Unknown)"
180 prompt "Product debug-port"
181 default ETRAX_DEBUG_PORT0
183 config ETRAX_DEBUG_PORT0
186 Choose a serial port for the ETRAX debug console. Default to
189 config ETRAX_DEBUG_PORT1
192 Use serial port 1 for the console.
194 config ETRAX_DEBUG_PORT2
197 Use serial port 2 for the console.
199 config ETRAX_DEBUG_PORT3
202 Use serial port 3 for the console.
204 config ETRAX_DEBUG_PORT_NULL
207 Disable serial-port debugging.
212 prompt "Kernel GDB port"
213 depends on ETRAX_KGDB
214 default ETRAX_KGDB_PORT0
216 Choose a serial port for kernel debugging. NOTE: This port should
217 not be enabled under Drivers for built-in interfaces (as it has its
218 own initialization code) and should not be the same as the debug port.
220 config ETRAX_KGDB_PORT0
223 Use serial port 0 for kernel debugging.
225 config ETRAX_KGDB_PORT1
228 Use serial port 1 for kernel debugging.
230 config ETRAX_KGDB_PORT2
233 Use serial port 2 for kernel debugging.
235 config ETRAX_KGDB_PORT3
238 Use serial port 3 for kernel debugging.
242 source arch/cris/arch-v10/Kconfig
243 source arch/cris/arch-v32/Kconfig
249 # bring in ETRAX built-in drivers
250 menu "Drivers for built-in interfaces"
251 source arch/cris/arch-v10/drivers/Kconfig
252 source arch/cris/arch-v32/drivers/Kconfig
254 config ETRAX_AXISFLASHMAP
255 bool "Axis flash-map support"
258 select MTD_CFI_AMDSTD
259 select MTD_JEDECPROBE if ETRAX_ARCH_V32
261 select MTD_COMPLEX_MAPPINGS
263 This option enables MTD mapping of flash devices. Needed to use
264 flash memories. If unsure, say Y.
266 config ETRAX_SYNCHRONOUS_SERIAL
267 bool "Synchronous serial-port support"
269 Select this to enable the synchronous serial port driver.
271 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
272 bool "Synchronous serial port 0 enabled"
273 depends on ETRAX_SYNCHRONOUS_SERIAL
275 Enabled synchronous serial port 0.
277 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
278 bool "Enable DMA on synchronous serial port 0."
279 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
281 A synchronous serial port can run in manual or DMA mode.
282 Selecting this option will make it run in DMA mode.
284 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
285 bool "Synchronous serial port 1 enabled"
286 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
288 Enabled synchronous serial port 1.
290 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
291 bool "Enable DMA on synchronous serial port 1."
292 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
294 A synchronous serial port can run in manual or DMA mode.
295 Selecting this option will make it run in DMA mode.
298 prompt "Network LED behavior"
299 depends on ETRAX_ETHERNET
300 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
302 config ETRAX_NETWORK_LED_ON_WHEN_LINK
303 bool "LED_on_when_link"
305 Selecting LED_on_when_link will light the LED when there is a
306 connection and will flash off when there is activity.
308 Selecting LED_on_when_activity will light the LED only when
311 This setting will also affect the behaviour of other activity LEDs
314 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
315 bool "LED_on_when_activity"
317 Selecting LED_on_when_link will light the LED when there is a
318 connection and will flash off when there is activity.
320 Selecting LED_on_when_activity will light the LED only when
323 This setting will also affect the behaviour of other activity LEDs
329 prompt "Ser0 DMA out channel"
330 depends on ETRAX_SERIAL_PORT0
331 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
332 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
334 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
335 bool "Ser0 uses no DMA for output"
337 Do not use DMA for ser0 output.
339 config ETRAX_SERIAL_PORT0_DMA6_OUT
340 bool "Ser0 uses DMA6 for output"
343 Enables the DMA6 output channel for ser0 (ttyS0).
344 If you do not enable DMA, an interrupt for each character will be
345 used when transmitting data.
346 Normally you want to use DMA, unless you use the DMA channel for
349 config ETRAX_SERIAL_PORT0_DMA0_OUT
350 bool "Ser0 uses DMA0 for output"
351 depends on CRIS_MACH_ARTPEC3
353 Enables the DMA0 output channel for ser0 (ttyS0).
354 If you do not enable DMA, an interrupt for each character will be
355 used when transmitting data.
356 Normally you want to use DMA, unless you use the DMA channel for
362 prompt "Ser0 DMA in channel "
363 depends on ETRAX_SERIAL_PORT0
364 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
365 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
367 What DMA channel to use for ser0.
369 config ETRAX_SERIAL_PORT0_NO_DMA_IN
370 bool "Ser0 uses no DMA for input"
372 Do not use DMA for ser0 input.
374 config ETRAX_SERIAL_PORT0_DMA7_IN
375 bool "Ser0 uses DMA7 for input"
378 Enables the DMA7 input channel for ser0 (ttyS0).
379 If you do not enable DMA, an interrupt for each character will be
380 used when receiving data.
381 Normally you want to use DMA, unless you use the DMA channel for
384 config ETRAX_SERIAL_PORT0_DMA1_IN
385 bool "Ser0 uses DMA1 for input"
386 depends on CRIS_MACH_ARTPEC3
388 Enables the DMA1 input channel for ser0 (ttyS0).
389 If you do not enable DMA, an interrupt for each character will be
390 used when receiving data.
391 Normally you want to use DMA, unless you use the DMA channel for
397 prompt "Ser1 DMA in channel "
398 depends on ETRAX_SERIAL_PORT1
399 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
400 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
402 What DMA channel to use for ser1.
404 config ETRAX_SERIAL_PORT1_NO_DMA_IN
405 bool "Ser1 uses no DMA for input"
407 Do not use DMA for ser1 input.
409 config ETRAX_SERIAL_PORT1_DMA5_IN
410 bool "Ser1 uses DMA5 for input"
411 depends on ETRAX_ARCH_V32
413 Enables the DMA5 input channel for ser1 (ttyS1).
414 If you do not enable DMA, an interrupt for each character will be
415 used when receiving data.
416 Normally you want this on, unless you use the DMA channel for
419 config ETRAX_SERIAL_PORT1_DMA9_IN
420 depends on ETRAX_ARCH_V10
421 bool "Ser1 uses DMA9 for input"
427 prompt "Ser1 DMA out channel"
428 depends on ETRAX_SERIAL_PORT1
429 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
430 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
432 What DMA channel to use for ser1.
434 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
435 bool "Ser1 uses no DMA for output"
437 Do not use DMA for ser1 output.
439 config ETRAX_SERIAL_PORT1_DMA8_OUT
440 depends on ETRAX_ARCH_V10
441 bool "Ser1 uses DMA8 for output"
443 config ETRAX_SERIAL_PORT1_DMA4_OUT
444 depends on ETRAX_ARCH_V32
445 bool "Ser1 uses DMA4 for output"
447 Enables the DMA4 output channel for ser1 (ttyS1).
448 If you do not enable DMA, an interrupt for each character will be
449 used when transmitting data.
450 Normally you want this on, unless you use the DMA channel for
456 prompt "Ser2 DMA out channel"
457 depends on ETRAX_SERIAL_PORT2
458 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
459 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
461 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
462 bool "Ser2 uses no DMA for output"
464 Do not use DMA for ser2 output.
466 config ETRAX_SERIAL_PORT2_DMA2_OUT
467 bool "Ser2 uses DMA2 for output"
468 depends on ETRAXFS || ETRAX_ARCH_V10
470 Enables the DMA2 output channel for ser2 (ttyS2).
471 If you do not enable DMA, an interrupt for each character will be
472 used when transmitting data.
473 Normally you want to use DMA, unless you use the DMA channel for
476 config ETRAX_SERIAL_PORT2_DMA6_OUT
477 bool "Ser2 uses DMA6 for output"
478 depends on CRIS_MACH_ARTPEC3
480 Enables the DMA6 output channel for ser2 (ttyS2).
481 If you do not enable DMA, an interrupt for each character will be
482 used when transmitting data.
483 Normally you want to use DMA, unless you use the DMA channel for
489 prompt "Ser2 DMA in channel"
490 depends on ETRAX_SERIAL_PORT2
491 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
492 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
494 What DMA channel to use for ser2.
496 config ETRAX_SERIAL_PORT2_NO_DMA_IN
497 bool "Ser2 uses no DMA for input"
499 Do not use DMA for ser2 input.
501 config ETRAX_SERIAL_PORT2_DMA3_IN
502 bool "Ser2 uses DMA3 for input"
503 depends on ETRAXFS || ETRAX_ARCH_V10
505 Enables the DMA3 input channel for ser2 (ttyS2).
506 If you do not enable DMA, an interrupt for each character will be
507 used when receiving data.
508 Normally you want to use DMA, unless you use the DMA channel for
511 config ETRAX_SERIAL_PORT2_DMA7_IN
512 bool "Ser2 uses DMA7 for input"
513 depends on CRIS_MACH_ARTPEC3
515 Enables the DMA7 input channel for ser2 (ttyS2).
516 If you do not enable DMA, an interrupt for each character will be
517 used when receiving data.
518 Normally you want to use DMA, unless you use the DMA channel for
524 prompt "Ser3 DMA in channel"
525 depends on ETRAX_SERIAL_PORT3
526 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
527 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
529 What DMA channel to use for ser3.
531 config ETRAX_SERIAL_PORT3_NO_DMA_IN
532 bool "Ser3 uses no DMA for input"
534 Do not use DMA for ser3 input.
536 config ETRAX_SERIAL_PORT3_DMA5_IN
537 depends on ETRAX_ARCH_V10
543 prompt "Ser3 DMA out channel"
544 depends on ETRAX_SERIAL_PORT3
545 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
546 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
548 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
549 bool "Ser3 uses no DMA for output"
551 Do not use DMA for ser3 output.
553 config ETRAX_SERIAL_PORT3_DMA4_OUT
554 depends on ETRAX_ARCH_V10
561 source "drivers/Kconfig"
565 source "arch/cris/Kconfig.debug"
567 source "security/Kconfig"
569 source "crypto/Kconfig"