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
62 source "kernel/Kconfig.freezer"
66 source "fs/Kconfig.binfmt"
69 string "Kernel command line"
70 default "root=/dev/mtdblock3"
72 Pass additional commands to the kernel.
75 bool "Enable ETRAX watchdog"
77 Enable the built-in watchdog timer support on ETRAX based embedded
80 config ETRAX_WATCHDOG_NICE_DOGGY
81 bool "Disable watchdog during Oops printouts"
82 depends on ETRAX_WATCHDOG
84 By enabling this you make sure that the watchdog does not bite while
85 printing oopses. Recommended for development systems but not for
88 config ETRAX_FAST_TIMER
89 bool "Enable ETRAX fast timer API"
91 This options enables the API to a fast timer implementation using
92 timer1 to get sub jiffie resolution timers (primarily one-shot
94 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
96 config ETRAX_KMALLOCED_MODULES
97 bool "Enable module allocation with kmalloc"
99 Enable module allocation with kmalloc instead of vmalloc.
101 source "kernel/Kconfig.preempt"
107 menu "Hardware setup"
110 prompt "Processor type"
114 bool "ETRAX-100LX-v1"
115 select ARCH_USES_GETTIMEOFFSET
117 Support version 1 of the ETRAX 100LX.
120 bool "ETRAX-100LX-v2"
121 select ARCH_USES_GETTIMEOFFSET
123 Support version 2 of the ETRAX 100LX.
126 bool "ETRAX-100LX-for-xsim-simulator"
127 select ARCH_USES_GETTIMEOFFSET
129 Support the xsim ETRAX Simulator.
133 select CPU_FREQ_TABLE if CPU_FREQ
137 config CRIS_MACH_ARTPEC3
139 select CPU_FREQ_TABLE if CPU_FREQ
141 Support Axis ARTPEC-3.
145 config ETRAX_ARCH_V10
147 default y if ETRAX100LX || ETRAX100LX_V2
148 default n if !(ETRAX100LX || ETRAX100LX_V2)
150 config ETRAX_ARCH_V32
152 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
153 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
155 config ETRAX_DRAM_SIZE
156 int "DRAM size (dec, in MB)"
159 Size of DRAM (decimal in MB) typically 2, 8 or 16.
161 config ETRAX_VMEM_SIZE
162 int "Video memory size (dec, in MB)"
163 depends on ETRAX_ARCH_V32 && !ETRAXFS
164 default 8 if !ETRAXFS
166 Size of Video accessible memory (decimal, in MB).
168 config ETRAX_FLASH_BUSWIDTH
169 int "Buswidth of NOR flash in bytes"
172 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
174 config ETRAX_FLASH1_SIZE
175 int "FLASH1 size (dec, in MB. 0 = Unknown)"
179 prompt "Product debug-port"
180 default ETRAX_DEBUG_PORT0
182 config ETRAX_DEBUG_PORT0
185 Choose a serial port for the ETRAX debug console. Default to
188 config ETRAX_DEBUG_PORT1
191 Use serial port 1 for the console.
193 config ETRAX_DEBUG_PORT2
196 Use serial port 2 for the console.
198 config ETRAX_DEBUG_PORT3
201 Use serial port 3 for the console.
203 config ETRAX_DEBUG_PORT_NULL
206 Disable serial-port debugging.
211 prompt "Kernel GDB port"
212 depends on ETRAX_KGDB
213 default ETRAX_KGDB_PORT0
215 Choose a serial port for kernel debugging. NOTE: This port should
216 not be enabled under Drivers for built-in interfaces (as it has its
217 own initialization code) and should not be the same as the debug port.
219 config ETRAX_KGDB_PORT0
222 Use serial port 0 for kernel debugging.
224 config ETRAX_KGDB_PORT1
227 Use serial port 1 for kernel debugging.
229 config ETRAX_KGDB_PORT2
232 Use serial port 2 for kernel debugging.
234 config ETRAX_KGDB_PORT3
237 Use serial port 3 for kernel debugging.
241 source arch/cris/arch-v10/Kconfig
242 source arch/cris/arch-v32/Kconfig
248 # bring in ETRAX built-in drivers
249 menu "Drivers for built-in interfaces"
250 source arch/cris/arch-v10/drivers/Kconfig
251 source arch/cris/arch-v32/drivers/Kconfig
253 config ETRAX_AXISFLASHMAP
254 bool "Axis flash-map support"
257 select MTD_CFI_AMDSTD
258 select MTD_JEDECPROBE if ETRAX_ARCH_V32
260 select MTD_COMPLEX_MAPPINGS
262 This option enables MTD mapping of flash devices. Needed to use
263 flash memories. If unsure, say Y.
265 config ETRAX_SYNCHRONOUS_SERIAL
266 bool "Synchronous serial-port support"
268 Select this to enable the synchronous serial port driver.
270 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
271 bool "Synchronous serial port 0 enabled"
272 depends on ETRAX_SYNCHRONOUS_SERIAL
274 Enabled synchronous serial port 0.
276 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
277 bool "Enable DMA on synchronous serial port 0."
278 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
280 A synchronous serial port can run in manual or DMA mode.
281 Selecting this option will make it run in DMA mode.
283 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
284 bool "Synchronous serial port 1 enabled"
285 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
287 Enabled synchronous serial port 1.
289 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
290 bool "Enable DMA on synchronous serial port 1."
291 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
293 A synchronous serial port can run in manual or DMA mode.
294 Selecting this option will make it run in DMA mode.
297 prompt "Network LED behavior"
298 depends on ETRAX_ETHERNET
299 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
301 config ETRAX_NETWORK_LED_ON_WHEN_LINK
302 bool "LED_on_when_link"
304 Selecting LED_on_when_link will light the LED when there is a
305 connection and will flash off when there is activity.
307 Selecting LED_on_when_activity will light the LED only when
310 This setting will also affect the behaviour of other activity LEDs
313 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
314 bool "LED_on_when_activity"
316 Selecting LED_on_when_link will light the LED when there is a
317 connection and will flash off when there is activity.
319 Selecting LED_on_when_activity will light the LED only when
322 This setting will also affect the behaviour of other activity LEDs
328 prompt "Ser0 DMA out channel"
329 depends on ETRAX_SERIAL_PORT0
330 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
331 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
333 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
334 bool "Ser0 uses no DMA for output"
336 Do not use DMA for ser0 output.
338 config ETRAX_SERIAL_PORT0_DMA6_OUT
339 bool "Ser0 uses DMA6 for output"
342 Enables the DMA6 output channel for ser0 (ttyS0).
343 If you do not enable DMA, an interrupt for each character will be
344 used when transmitting data.
345 Normally you want to use DMA, unless you use the DMA channel for
348 config ETRAX_SERIAL_PORT0_DMA0_OUT
349 bool "Ser0 uses DMA0 for output"
350 depends on CRIS_MACH_ARTPEC3
352 Enables the DMA0 output channel for ser0 (ttyS0).
353 If you do not enable DMA, an interrupt for each character will be
354 used when transmitting data.
355 Normally you want to use DMA, unless you use the DMA channel for
361 prompt "Ser0 DMA in channel "
362 depends on ETRAX_SERIAL_PORT0
363 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
364 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
366 What DMA channel to use for ser0.
368 config ETRAX_SERIAL_PORT0_NO_DMA_IN
369 bool "Ser0 uses no DMA for input"
371 Do not use DMA for ser0 input.
373 config ETRAX_SERIAL_PORT0_DMA7_IN
374 bool "Ser0 uses DMA7 for input"
377 Enables the DMA7 input channel for ser0 (ttyS0).
378 If you do not enable DMA, an interrupt for each character will be
379 used when receiving data.
380 Normally you want to use DMA, unless you use the DMA channel for
383 config ETRAX_SERIAL_PORT0_DMA1_IN
384 bool "Ser0 uses DMA1 for input"
385 depends on CRIS_MACH_ARTPEC3
387 Enables the DMA1 input channel for ser0 (ttyS0).
388 If you do not enable DMA, an interrupt for each character will be
389 used when receiving data.
390 Normally you want to use DMA, unless you use the DMA channel for
396 prompt "Ser1 DMA in channel "
397 depends on ETRAX_SERIAL_PORT1
398 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
399 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
401 What DMA channel to use for ser1.
403 config ETRAX_SERIAL_PORT1_NO_DMA_IN
404 bool "Ser1 uses no DMA for input"
406 Do not use DMA for ser1 input.
408 config ETRAX_SERIAL_PORT1_DMA5_IN
409 bool "Ser1 uses DMA5 for input"
410 depends on ETRAX_ARCH_V32
412 Enables the DMA5 input channel for ser1 (ttyS1).
413 If you do not enable DMA, an interrupt for each character will be
414 used when receiving data.
415 Normally you want this on, unless you use the DMA channel for
418 config ETRAX_SERIAL_PORT1_DMA9_IN
419 depends on ETRAX_ARCH_V10
420 bool "Ser1 uses DMA9 for input"
426 prompt "Ser1 DMA out channel"
427 depends on ETRAX_SERIAL_PORT1
428 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
429 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
431 What DMA channel to use for ser1.
433 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
434 bool "Ser1 uses no DMA for output"
436 Do not use DMA for ser1 output.
438 config ETRAX_SERIAL_PORT1_DMA8_OUT
439 depends on ETRAX_ARCH_V10
440 bool "Ser1 uses DMA8 for output"
442 config ETRAX_SERIAL_PORT1_DMA4_OUT
443 depends on ETRAX_ARCH_V32
444 bool "Ser1 uses DMA4 for output"
446 Enables the DMA4 output channel for ser1 (ttyS1).
447 If you do not enable DMA, an interrupt for each character will be
448 used when transmitting data.
449 Normally you want this on, unless you use the DMA channel for
455 prompt "Ser2 DMA out channel"
456 depends on ETRAX_SERIAL_PORT2
457 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
458 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
460 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
461 bool "Ser2 uses no DMA for output"
463 Do not use DMA for ser2 output.
465 config ETRAX_SERIAL_PORT2_DMA2_OUT
466 bool "Ser2 uses DMA2 for output"
467 depends on ETRAXFS || ETRAX_ARCH_V10
469 Enables the DMA2 output channel for ser2 (ttyS2).
470 If you do not enable DMA, an interrupt for each character will be
471 used when transmitting data.
472 Normally you want to use DMA, unless you use the DMA channel for
475 config ETRAX_SERIAL_PORT2_DMA6_OUT
476 bool "Ser2 uses DMA6 for output"
477 depends on CRIS_MACH_ARTPEC3
479 Enables the DMA6 output channel for ser2 (ttyS2).
480 If you do not enable DMA, an interrupt for each character will be
481 used when transmitting data.
482 Normally you want to use DMA, unless you use the DMA channel for
488 prompt "Ser2 DMA in channel"
489 depends on ETRAX_SERIAL_PORT2
490 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
491 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
493 What DMA channel to use for ser2.
495 config ETRAX_SERIAL_PORT2_NO_DMA_IN
496 bool "Ser2 uses no DMA for input"
498 Do not use DMA for ser2 input.
500 config ETRAX_SERIAL_PORT2_DMA3_IN
501 bool "Ser2 uses DMA3 for input"
502 depends on ETRAXFS || ETRAX_ARCH_V10
504 Enables the DMA3 input channel for ser2 (ttyS2).
505 If you do not enable DMA, an interrupt for each character will be
506 used when receiving data.
507 Normally you want to use DMA, unless you use the DMA channel for
510 config ETRAX_SERIAL_PORT2_DMA7_IN
511 bool "Ser2 uses DMA7 for input"
512 depends on CRIS_MACH_ARTPEC3
514 Enables the DMA7 input channel for ser2 (ttyS2).
515 If you do not enable DMA, an interrupt for each character will be
516 used when receiving data.
517 Normally you want to use DMA, unless you use the DMA channel for
523 prompt "Ser3 DMA in channel"
524 depends on ETRAX_SERIAL_PORT3
525 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
526 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
528 What DMA channel to use for ser3.
530 config ETRAX_SERIAL_PORT3_NO_DMA_IN
531 bool "Ser3 uses no DMA for input"
533 Do not use DMA for ser3 input.
535 config ETRAX_SERIAL_PORT3_DMA5_IN
536 depends on ETRAX_ARCH_V10
542 prompt "Ser3 DMA out channel"
543 depends on ETRAX_SERIAL_PORT3
544 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
545 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
547 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
548 bool "Ser3 uses no DMA for output"
550 Do not use DMA for ser3 output.
552 config ETRAX_SERIAL_PORT3_DMA4_OUT
553 depends on ETRAX_ARCH_V10
560 source "drivers/Kconfig"
564 source "arch/cris/Kconfig.debug"
566 source "security/Kconfig"
568 source "crypto/Kconfig"