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_CMOS_UPDATE
50 select MODULES_USE_ELF_RELA
51 select CLONE_BACKWARDS2
54 select ARCH_REQUIRE_GPIOLIB
55 select IRQ_DOMAIN if ETRAX_ARCH_V32
56 select OF if ETRAX_ARCH_V32
57 select OF_EARLY_FLATTREE if ETRAX_ARCH_V32
58 select GENERIC_CLOCKEVENTS if ETRAX_ARCH_V32
69 string "DTB to build into the kernel image"
74 source "kernel/Kconfig.freezer"
78 source "fs/Kconfig.binfmt"
81 string "Kernel command line"
82 default "root=/dev/mtdblock3"
84 Pass additional commands to the kernel.
87 bool "Enable ETRAX watchdog"
89 Enable the built-in watchdog timer support on ETRAX based embedded
92 config ETRAX_WATCHDOG_NICE_DOGGY
93 bool "Disable watchdog during Oops printouts"
94 depends on ETRAX_WATCHDOG
96 By enabling this you make sure that the watchdog does not bite while
97 printing oopses. Recommended for development systems but not for
100 config ETRAX_FAST_TIMER
101 bool "Enable ETRAX fast timer API"
103 This options enables the API to a fast timer implementation using
104 timer1 to get sub jiffie resolution timers (primarily one-shot
106 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
108 config ETRAX_KMALLOCED_MODULES
109 bool "Enable module allocation with kmalloc"
111 Enable module allocation with kmalloc instead of vmalloc.
113 source "kernel/Kconfig.preempt"
119 menu "Hardware setup"
122 prompt "Processor type"
126 bool "ETRAX-100LX-v1"
127 select ARCH_USES_GETTIMEOFFSET
129 Support version 1 of the ETRAX 100LX.
132 bool "ETRAX-100LX-v2"
133 select ARCH_USES_GETTIMEOFFSET
135 Support version 2 of the ETRAX 100LX.
142 config CRIS_MACH_ARTPEC3
145 Support Axis ARTPEC-3.
149 config ETRAX_ARCH_V10
151 default y if ETRAX100LX || ETRAX100LX_V2
152 default n if !(ETRAX100LX || ETRAX100LX_V2)
155 config ETRAX_ARCH_V32
157 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
158 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
160 config ETRAX_DRAM_SIZE
161 int "DRAM size (dec, in MB)"
164 Size of DRAM (decimal in MB) typically 2, 8 or 16.
166 config ETRAX_VMEM_SIZE
167 int "Video memory size (dec, in MB)"
168 depends on ETRAX_ARCH_V32 && !ETRAXFS
169 default 8 if !ETRAXFS
171 Size of Video accessible memory (decimal, in MB).
173 config ETRAX_FLASH_BUSWIDTH
174 int "Buswidth of NOR flash in bytes"
177 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
179 config ETRAX_FLASH1_SIZE
180 int "FLASH1 size (dec, in MB. 0 = Unknown)"
184 prompt "Product debug-port"
185 default ETRAX_DEBUG_PORT0
187 config ETRAX_DEBUG_PORT0
190 Choose a serial port for the ETRAX debug console. Default to
193 config ETRAX_DEBUG_PORT1
196 Use serial port 1 for the console.
198 config ETRAX_DEBUG_PORT2
201 Use serial port 2 for the console.
203 config ETRAX_DEBUG_PORT3
206 Use serial port 3 for the console.
208 config ETRAX_DEBUG_PORT_NULL
211 Disable serial-port debugging.
216 prompt "Kernel GDB port"
217 depends on ETRAX_KGDB
218 default ETRAX_KGDB_PORT0
220 Choose a serial port for kernel debugging. NOTE: This port should
221 not be enabled under Drivers for built-in interfaces (as it has its
222 own initialization code) and should not be the same as the debug port.
224 config ETRAX_KGDB_PORT0
227 Use serial port 0 for kernel debugging.
229 config ETRAX_KGDB_PORT1
232 Use serial port 1 for kernel debugging.
234 config ETRAX_KGDB_PORT2
237 Use serial port 2 for kernel debugging.
239 config ETRAX_KGDB_PORT3
242 Use serial port 3 for kernel debugging.
246 source arch/cris/arch-v10/Kconfig
247 source arch/cris/arch-v32/Kconfig
253 # bring in ETRAX built-in drivers
254 menu "Drivers for built-in interfaces"
255 source arch/cris/arch-v10/drivers/Kconfig
256 source arch/cris/arch-v32/drivers/Kconfig
258 config ETRAX_AXISFLASHMAP
259 bool "Axis flash-map support"
262 select MTD_CFI_AMDSTD
263 select MTD_JEDECPROBE if ETRAX_ARCH_V32
265 select MTD_COMPLEX_MAPPINGS
267 This option enables MTD mapping of flash devices. Needed to use
268 flash memories. If unsure, say Y.
270 config ETRAX_SYNCHRONOUS_SERIAL
271 bool "Synchronous serial-port support"
273 Select this to enable the synchronous serial port driver.
275 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
276 bool "Synchronous serial port 0 enabled"
277 depends on ETRAX_SYNCHRONOUS_SERIAL
279 Enabled synchronous serial port 0.
281 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
282 bool "Enable DMA on synchronous serial port 0."
283 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
285 A synchronous serial port can run in manual or DMA mode.
286 Selecting this option will make it run in DMA mode.
288 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
289 bool "Synchronous serial port 1 enabled"
290 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
292 Enabled synchronous serial port 1.
294 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
295 bool "Enable DMA on synchronous serial port 1."
296 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
298 A synchronous serial port can run in manual or DMA mode.
299 Selecting this option will make it run in DMA mode.
302 prompt "Network LED behavior"
303 depends on ETRAX_ETHERNET
304 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
306 config ETRAX_NETWORK_LED_ON_WHEN_LINK
307 bool "LED_on_when_link"
309 Selecting LED_on_when_link will light the LED when there is a
310 connection and will flash off when there is activity.
312 Selecting LED_on_when_activity will light the LED only when
315 This setting will also affect the behaviour of other activity LEDs
318 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
319 bool "LED_on_when_activity"
321 Selecting LED_on_when_link will light the LED when there is a
322 connection and will flash off when there is activity.
324 Selecting LED_on_when_activity will light the LED only when
327 This setting will also affect the behaviour of other activity LEDs
333 prompt "Ser0 DMA out channel"
334 depends on ETRAX_SERIAL_PORT0
335 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
336 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
338 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
339 bool "Ser0 uses no DMA for output"
341 Do not use DMA for ser0 output.
343 config ETRAX_SERIAL_PORT0_DMA6_OUT
344 bool "Ser0 uses DMA6 for output"
347 Enables the DMA6 output channel for ser0 (ttyS0).
348 If you do not enable DMA, an interrupt for each character will be
349 used when transmitting data.
350 Normally you want to use DMA, unless you use the DMA channel for
353 config ETRAX_SERIAL_PORT0_DMA0_OUT
354 bool "Ser0 uses DMA0 for output"
355 depends on CRIS_MACH_ARTPEC3
357 Enables the DMA0 output channel for ser0 (ttyS0).
358 If you do not enable DMA, an interrupt for each character will be
359 used when transmitting data.
360 Normally you want to use DMA, unless you use the DMA channel for
366 prompt "Ser0 DMA in channel "
367 depends on ETRAX_SERIAL_PORT0
368 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
369 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
371 What DMA channel to use for ser0.
373 config ETRAX_SERIAL_PORT0_NO_DMA_IN
374 bool "Ser0 uses no DMA for input"
376 Do not use DMA for ser0 input.
378 config ETRAX_SERIAL_PORT0_DMA7_IN
379 bool "Ser0 uses DMA7 for input"
382 Enables the DMA7 input channel for ser0 (ttyS0).
383 If you do not enable DMA, an interrupt for each character will be
384 used when receiving data.
385 Normally you want to use DMA, unless you use the DMA channel for
388 config ETRAX_SERIAL_PORT0_DMA1_IN
389 bool "Ser0 uses DMA1 for input"
390 depends on CRIS_MACH_ARTPEC3
392 Enables the DMA1 input channel for ser0 (ttyS0).
393 If you do not enable DMA, an interrupt for each character will be
394 used when receiving data.
395 Normally you want to use DMA, unless you use the DMA channel for
401 prompt "Ser1 DMA in channel "
402 depends on ETRAX_SERIAL_PORT1
403 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
404 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
406 What DMA channel to use for ser1.
408 config ETRAX_SERIAL_PORT1_NO_DMA_IN
409 bool "Ser1 uses no DMA for input"
411 Do not use DMA for ser1 input.
413 config ETRAX_SERIAL_PORT1_DMA5_IN
414 bool "Ser1 uses DMA5 for input"
415 depends on ETRAX_ARCH_V32
417 Enables the DMA5 input channel for ser1 (ttyS1).
418 If you do not enable DMA, an interrupt for each character will be
419 used when receiving data.
420 Normally you want this on, unless you use the DMA channel for
423 config ETRAX_SERIAL_PORT1_DMA9_IN
424 depends on ETRAX_ARCH_V10
425 bool "Ser1 uses DMA9 for input"
431 prompt "Ser1 DMA out channel"
432 depends on ETRAX_SERIAL_PORT1
433 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
434 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
436 What DMA channel to use for ser1.
438 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
439 bool "Ser1 uses no DMA for output"
441 Do not use DMA for ser1 output.
443 config ETRAX_SERIAL_PORT1_DMA8_OUT
444 depends on ETRAX_ARCH_V10
445 bool "Ser1 uses DMA8 for output"
447 config ETRAX_SERIAL_PORT1_DMA4_OUT
448 depends on ETRAX_ARCH_V32
449 bool "Ser1 uses DMA4 for output"
451 Enables the DMA4 output channel for ser1 (ttyS1).
452 If you do not enable DMA, an interrupt for each character will be
453 used when transmitting data.
454 Normally you want this on, unless you use the DMA channel for
460 prompt "Ser2 DMA out channel"
461 depends on ETRAX_SERIAL_PORT2
462 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
463 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
465 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
466 bool "Ser2 uses no DMA for output"
468 Do not use DMA for ser2 output.
470 config ETRAX_SERIAL_PORT2_DMA2_OUT
471 bool "Ser2 uses DMA2 for output"
472 depends on ETRAXFS || ETRAX_ARCH_V10
474 Enables the DMA2 output channel for ser2 (ttyS2).
475 If you do not enable DMA, an interrupt for each character will be
476 used when transmitting data.
477 Normally you want to use DMA, unless you use the DMA channel for
480 config ETRAX_SERIAL_PORT2_DMA6_OUT
481 bool "Ser2 uses DMA6 for output"
482 depends on CRIS_MACH_ARTPEC3
484 Enables the DMA6 output channel for ser2 (ttyS2).
485 If you do not enable DMA, an interrupt for each character will be
486 used when transmitting data.
487 Normally you want to use DMA, unless you use the DMA channel for
493 prompt "Ser2 DMA in channel"
494 depends on ETRAX_SERIAL_PORT2
495 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
496 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
498 What DMA channel to use for ser2.
500 config ETRAX_SERIAL_PORT2_NO_DMA_IN
501 bool "Ser2 uses no DMA for input"
503 Do not use DMA for ser2 input.
505 config ETRAX_SERIAL_PORT2_DMA3_IN
506 bool "Ser2 uses DMA3 for input"
507 depends on ETRAXFS || ETRAX_ARCH_V10
509 Enables the DMA3 input channel for ser2 (ttyS2).
510 If you do not enable DMA, an interrupt for each character will be
511 used when receiving data.
512 Normally you want to use DMA, unless you use the DMA channel for
515 config ETRAX_SERIAL_PORT2_DMA7_IN
516 bool "Ser2 uses DMA7 for input"
517 depends on CRIS_MACH_ARTPEC3
519 Enables the DMA7 input channel for ser2 (ttyS2).
520 If you do not enable DMA, an interrupt for each character will be
521 used when receiving data.
522 Normally you want to use DMA, unless you use the DMA channel for
528 prompt "Ser3 DMA in channel"
529 depends on ETRAX_SERIAL_PORT3
530 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
531 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
533 What DMA channel to use for ser3.
535 config ETRAX_SERIAL_PORT3_NO_DMA_IN
536 bool "Ser3 uses no DMA for input"
538 Do not use DMA for ser3 input.
540 config ETRAX_SERIAL_PORT3_DMA5_IN
541 depends on ETRAX_ARCH_V10
547 prompt "Ser3 DMA out channel"
548 depends on ETRAX_SERIAL_PORT3
549 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
550 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
552 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
553 bool "Ser3 uses no DMA for output"
555 Do not use DMA for ser3 output.
557 config ETRAX_SERIAL_PORT3_DMA4_OUT
558 depends on ETRAX_ARCH_V10
565 source "drivers/Kconfig"
569 source "arch/cris/Kconfig.debug"
571 source "security/Kconfig"
573 source "crypto/Kconfig"