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.
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)
148 config ETRAX_ARCH_V32
150 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
151 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
153 config ETRAX_DRAM_SIZE
154 int "DRAM size (dec, in MB)"
157 Size of DRAM (decimal in MB) typically 2, 8 or 16.
159 config ETRAX_VMEM_SIZE
160 int "Video memory size (dec, in MB)"
161 depends on ETRAX_ARCH_V32 && !ETRAXFS
162 default 8 if !ETRAXFS
164 Size of Video accessible memory (decimal, in MB).
166 config ETRAX_FLASH_BUSWIDTH
167 int "Buswidth of NOR flash in bytes"
170 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
172 config ETRAX_FLASH1_SIZE
173 int "FLASH1 size (dec, in MB. 0 = Unknown)"
177 prompt "Product debug-port"
178 default ETRAX_DEBUG_PORT0
180 config ETRAX_DEBUG_PORT0
183 Choose a serial port for the ETRAX debug console. Default to
186 config ETRAX_DEBUG_PORT1
189 Use serial port 1 for the console.
191 config ETRAX_DEBUG_PORT2
194 Use serial port 2 for the console.
196 config ETRAX_DEBUG_PORT3
199 Use serial port 3 for the console.
201 config ETRAX_DEBUG_PORT_NULL
204 Disable serial-port debugging.
209 prompt "Kernel GDB port"
210 depends on ETRAX_KGDB
211 default ETRAX_KGDB_PORT0
213 Choose a serial port for kernel debugging. NOTE: This port should
214 not be enabled under Drivers for built-in interfaces (as it has its
215 own initialization code) and should not be the same as the debug port.
217 config ETRAX_KGDB_PORT0
220 Use serial port 0 for kernel debugging.
222 config ETRAX_KGDB_PORT1
225 Use serial port 1 for kernel debugging.
227 config ETRAX_KGDB_PORT2
230 Use serial port 2 for kernel debugging.
232 config ETRAX_KGDB_PORT3
235 Use serial port 3 for kernel debugging.
239 source arch/cris/arch-v10/Kconfig
240 source arch/cris/arch-v32/Kconfig
246 # bring in ETRAX built-in drivers
247 menu "Drivers for built-in interfaces"
248 source arch/cris/arch-v10/drivers/Kconfig
249 source arch/cris/arch-v32/drivers/Kconfig
251 config ETRAX_AXISFLASHMAP
252 bool "Axis flash-map support"
255 select MTD_CFI_AMDSTD
256 select MTD_JEDECPROBE if ETRAX_ARCH_V32
258 select MTD_COMPLEX_MAPPINGS
260 This option enables MTD mapping of flash devices. Needed to use
261 flash memories. If unsure, say Y.
263 config ETRAX_SYNCHRONOUS_SERIAL
264 bool "Synchronous serial-port support"
266 Select this to enable the synchronous serial port driver.
268 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
269 bool "Synchronous serial port 0 enabled"
270 depends on ETRAX_SYNCHRONOUS_SERIAL
272 Enabled synchronous serial port 0.
274 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
275 bool "Enable DMA on synchronous serial port 0."
276 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
278 A synchronous serial port can run in manual or DMA mode.
279 Selecting this option will make it run in DMA mode.
281 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
282 bool "Synchronous serial port 1 enabled"
283 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
285 Enabled synchronous serial port 1.
287 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
288 bool "Enable DMA on synchronous serial port 1."
289 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
291 A synchronous serial port can run in manual or DMA mode.
292 Selecting this option will make it run in DMA mode.
295 prompt "Network LED behavior"
296 depends on ETRAX_ETHERNET
297 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
299 config ETRAX_NETWORK_LED_ON_WHEN_LINK
300 bool "LED_on_when_link"
302 Selecting LED_on_when_link will light the LED when there is a
303 connection and will flash off when there is activity.
305 Selecting LED_on_when_activity will light the LED only when
308 This setting will also affect the behaviour of other activity LEDs
311 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
312 bool "LED_on_when_activity"
314 Selecting LED_on_when_link will light the LED when there is a
315 connection and will flash off when there is activity.
317 Selecting LED_on_when_activity will light the LED only when
320 This setting will also affect the behaviour of other activity LEDs
326 prompt "Ser0 DMA out channel"
327 depends on ETRAX_SERIAL_PORT0
328 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
329 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
331 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
332 bool "Ser0 uses no DMA for output"
334 Do not use DMA for ser0 output.
336 config ETRAX_SERIAL_PORT0_DMA6_OUT
337 bool "Ser0 uses DMA6 for output"
340 Enables the DMA6 output channel for ser0 (ttyS0).
341 If you do not enable DMA, an interrupt for each character will be
342 used when transmitting data.
343 Normally you want to use DMA, unless you use the DMA channel for
346 config ETRAX_SERIAL_PORT0_DMA0_OUT
347 bool "Ser0 uses DMA0 for output"
348 depends on CRIS_MACH_ARTPEC3
350 Enables the DMA0 output channel for ser0 (ttyS0).
351 If you do not enable DMA, an interrupt for each character will be
352 used when transmitting data.
353 Normally you want to use DMA, unless you use the DMA channel for
359 prompt "Ser0 DMA in channel "
360 depends on ETRAX_SERIAL_PORT0
361 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
362 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
364 What DMA channel to use for ser0.
366 config ETRAX_SERIAL_PORT0_NO_DMA_IN
367 bool "Ser0 uses no DMA for input"
369 Do not use DMA for ser0 input.
371 config ETRAX_SERIAL_PORT0_DMA7_IN
372 bool "Ser0 uses DMA7 for input"
375 Enables the DMA7 input channel for ser0 (ttyS0).
376 If you do not enable DMA, an interrupt for each character will be
377 used when receiving data.
378 Normally you want to use DMA, unless you use the DMA channel for
381 config ETRAX_SERIAL_PORT0_DMA1_IN
382 bool "Ser0 uses DMA1 for input"
383 depends on CRIS_MACH_ARTPEC3
385 Enables the DMA1 input channel for ser0 (ttyS0).
386 If you do not enable DMA, an interrupt for each character will be
387 used when receiving data.
388 Normally you want to use DMA, unless you use the DMA channel for
394 prompt "Ser1 DMA in channel "
395 depends on ETRAX_SERIAL_PORT1
396 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
397 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
399 What DMA channel to use for ser1.
401 config ETRAX_SERIAL_PORT1_NO_DMA_IN
402 bool "Ser1 uses no DMA for input"
404 Do not use DMA for ser1 input.
406 config ETRAX_SERIAL_PORT1_DMA5_IN
407 bool "Ser1 uses DMA5 for input"
408 depends on ETRAX_ARCH_V32
410 Enables the DMA5 input channel for ser1 (ttyS1).
411 If you do not enable DMA, an interrupt for each character will be
412 used when receiving data.
413 Normally you want this on, unless you use the DMA channel for
416 config ETRAX_SERIAL_PORT1_DMA9_IN
417 depends on ETRAX_ARCH_V10
418 bool "Ser1 uses DMA9 for input"
424 prompt "Ser1 DMA out channel"
425 depends on ETRAX_SERIAL_PORT1
426 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
427 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
429 What DMA channel to use for ser1.
431 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
432 bool "Ser1 uses no DMA for output"
434 Do not use DMA for ser1 output.
436 config ETRAX_SERIAL_PORT1_DMA8_OUT
437 depends on ETRAX_ARCH_V10
438 bool "Ser1 uses DMA8 for output"
440 config ETRAX_SERIAL_PORT1_DMA4_OUT
441 depends on ETRAX_ARCH_V32
442 bool "Ser1 uses DMA4 for output"
444 Enables the DMA4 output channel for ser1 (ttyS1).
445 If you do not enable DMA, an interrupt for each character will be
446 used when transmitting data.
447 Normally you want this on, unless you use the DMA channel for
453 prompt "Ser2 DMA out channel"
454 depends on ETRAX_SERIAL_PORT2
455 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
456 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
458 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
459 bool "Ser2 uses no DMA for output"
461 Do not use DMA for ser2 output.
463 config ETRAX_SERIAL_PORT2_DMA2_OUT
464 bool "Ser2 uses DMA2 for output"
465 depends on ETRAXFS || ETRAX_ARCH_V10
467 Enables the DMA2 output channel for ser2 (ttyS2).
468 If you do not enable DMA, an interrupt for each character will be
469 used when transmitting data.
470 Normally you want to use DMA, unless you use the DMA channel for
473 config ETRAX_SERIAL_PORT2_DMA6_OUT
474 bool "Ser2 uses DMA6 for output"
475 depends on CRIS_MACH_ARTPEC3
477 Enables the DMA6 output channel for ser2 (ttyS2).
478 If you do not enable DMA, an interrupt for each character will be
479 used when transmitting data.
480 Normally you want to use DMA, unless you use the DMA channel for
486 prompt "Ser2 DMA in channel"
487 depends on ETRAX_SERIAL_PORT2
488 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
489 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
491 What DMA channel to use for ser2.
493 config ETRAX_SERIAL_PORT2_NO_DMA_IN
494 bool "Ser2 uses no DMA for input"
496 Do not use DMA for ser2 input.
498 config ETRAX_SERIAL_PORT2_DMA3_IN
499 bool "Ser2 uses DMA3 for input"
500 depends on ETRAXFS || ETRAX_ARCH_V10
502 Enables the DMA3 input channel for ser2 (ttyS2).
503 If you do not enable DMA, an interrupt for each character will be
504 used when receiving data.
505 Normally you want to use DMA, unless you use the DMA channel for
508 config ETRAX_SERIAL_PORT2_DMA7_IN
509 bool "Ser2 uses DMA7 for input"
510 depends on CRIS_MACH_ARTPEC3
512 Enables the DMA7 input channel for ser2 (ttyS2).
513 If you do not enable DMA, an interrupt for each character will be
514 used when receiving data.
515 Normally you want to use DMA, unless you use the DMA channel for
521 prompt "Ser3 DMA in channel"
522 depends on ETRAX_SERIAL_PORT3
523 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
524 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
526 What DMA channel to use for ser3.
528 config ETRAX_SERIAL_PORT3_NO_DMA_IN
529 bool "Ser3 uses no DMA for input"
531 Do not use DMA for ser3 input.
533 config ETRAX_SERIAL_PORT3_DMA5_IN
534 depends on ETRAX_ARCH_V10
540 prompt "Ser3 DMA out channel"
541 depends on ETRAX_SERIAL_PORT3
542 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
543 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
545 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
546 bool "Ser3 uses no DMA for output"
548 Do not use DMA for ser3 output.
550 config ETRAX_SERIAL_PORT3_DMA4_OUT
551 depends on ETRAX_ARCH_V10
558 source "drivers/Kconfig"
562 source "arch/cris/Kconfig.debug"
564 source "security/Kconfig"
566 source "crypto/Kconfig"