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.
130 config CRIS_MACH_ARTPEC3
133 Support Axis ARTPEC-3.
137 config ETRAX_ARCH_V10
139 default y if ETRAX100LX || ETRAX100LX_V2
140 default n if !(ETRAX100LX || ETRAX100LX_V2)
142 config ETRAX_ARCH_V32
144 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
145 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
147 config ETRAX_DRAM_SIZE
148 int "DRAM size (dec, in MB)"
151 Size of DRAM (decimal in MB) typically 2, 8 or 16.
153 config ETRAX_VMEM_SIZE
154 int "Video memory size (dec, in MB)"
155 depends on ETRAX_ARCH_V32 && !ETRAXFS
156 default 8 if !ETRAXFS
158 Size of Video accessible memory (decimal, in MB).
160 config ETRAX_FLASH_BUSWIDTH
161 int "Buswidth of NOR flash in bytes"
164 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
166 config ETRAX_FLASH1_SIZE
167 int "FLASH1 size (dec, in MB. 0 = Unknown)"
171 prompt "Product debug-port"
172 default ETRAX_DEBUG_PORT0
174 config ETRAX_DEBUG_PORT0
177 Choose a serial port for the ETRAX debug console. Default to
180 config ETRAX_DEBUG_PORT1
183 Use serial port 1 for the console.
185 config ETRAX_DEBUG_PORT2
188 Use serial port 2 for the console.
190 config ETRAX_DEBUG_PORT3
193 Use serial port 3 for the console.
195 config ETRAX_DEBUG_PORT_NULL
198 Disable serial-port debugging.
203 prompt "Kernel GDB port"
204 depends on ETRAX_KGDB
205 default ETRAX_KGDB_PORT0
207 Choose a serial port for kernel debugging. NOTE: This port should
208 not be enabled under Drivers for built-in interfaces (as it has its
209 own initialization code) and should not be the same as the debug port.
211 config ETRAX_KGDB_PORT0
214 Use serial port 0 for kernel debugging.
216 config ETRAX_KGDB_PORT1
219 Use serial port 1 for kernel debugging.
221 config ETRAX_KGDB_PORT2
224 Use serial port 2 for kernel debugging.
226 config ETRAX_KGDB_PORT3
229 Use serial port 3 for kernel debugging.
233 source arch/cris/arch-v10/Kconfig
234 source arch/cris/arch-v32/Kconfig
240 # bring in ETRAX built-in drivers
241 menu "Drivers for built-in interfaces"
242 source arch/cris/arch-v10/drivers/Kconfig
243 source arch/cris/arch-v32/drivers/Kconfig
245 config ETRAX_AXISFLASHMAP
246 bool "Axis flash-map support"
249 select MTD_CFI_AMDSTD
250 select MTD_JEDECPROBE if ETRAX_ARCH_V32
252 select MTD_COMPLEX_MAPPINGS
254 This option enables MTD mapping of flash devices. Needed to use
255 flash memories. If unsure, say Y.
257 config ETRAX_SYNCHRONOUS_SERIAL
258 bool "Synchronous serial-port support"
260 Select this to enable the synchronous serial port driver.
262 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
263 bool "Synchronous serial port 0 enabled"
264 depends on ETRAX_SYNCHRONOUS_SERIAL
266 Enabled synchronous serial port 0.
268 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
269 bool "Enable DMA on synchronous serial port 0."
270 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
272 A synchronous serial port can run in manual or DMA mode.
273 Selecting this option will make it run in DMA mode.
275 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
276 bool "Synchronous serial port 1 enabled"
277 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
279 Enabled synchronous serial port 1.
281 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
282 bool "Enable DMA on synchronous serial port 1."
283 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
285 A synchronous serial port can run in manual or DMA mode.
286 Selecting this option will make it run in DMA mode.
289 prompt "Network LED behavior"
290 depends on ETRAX_ETHERNET
291 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
293 config ETRAX_NETWORK_LED_ON_WHEN_LINK
294 bool "LED_on_when_link"
296 Selecting LED_on_when_link will light the LED when there is a
297 connection and will flash off when there is activity.
299 Selecting LED_on_when_activity will light the LED only when
302 This setting will also affect the behaviour of other activity LEDs
305 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
306 bool "LED_on_when_activity"
308 Selecting LED_on_when_link will light the LED when there is a
309 connection and will flash off when there is activity.
311 Selecting LED_on_when_activity will light the LED only when
314 This setting will also affect the behaviour of other activity LEDs
320 prompt "Ser0 DMA out channel"
321 depends on ETRAX_SERIAL_PORT0
322 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
323 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
325 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
326 bool "Ser0 uses no DMA for output"
328 Do not use DMA for ser0 output.
330 config ETRAX_SERIAL_PORT0_DMA6_OUT
331 bool "Ser0 uses DMA6 for output"
334 Enables the DMA6 output channel for ser0 (ttyS0).
335 If you do not enable DMA, an interrupt for each character will be
336 used when transmitting data.
337 Normally you want to use DMA, unless you use the DMA channel for
340 config ETRAX_SERIAL_PORT0_DMA0_OUT
341 bool "Ser0 uses DMA0 for output"
342 depends on CRIS_MACH_ARTPEC3
344 Enables the DMA0 output channel for ser0 (ttyS0).
345 If you do not enable DMA, an interrupt for each character will be
346 used when transmitting data.
347 Normally you want to use DMA, unless you use the DMA channel for
353 prompt "Ser0 DMA in channel "
354 depends on ETRAX_SERIAL_PORT0
355 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
356 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
358 What DMA channel to use for ser0.
360 config ETRAX_SERIAL_PORT0_NO_DMA_IN
361 bool "Ser0 uses no DMA for input"
363 Do not use DMA for ser0 input.
365 config ETRAX_SERIAL_PORT0_DMA7_IN
366 bool "Ser0 uses DMA7 for input"
369 Enables the DMA7 input channel for ser0 (ttyS0).
370 If you do not enable DMA, an interrupt for each character will be
371 used when receiving data.
372 Normally you want to use DMA, unless you use the DMA channel for
375 config ETRAX_SERIAL_PORT0_DMA1_IN
376 bool "Ser0 uses DMA1 for input"
377 depends on CRIS_MACH_ARTPEC3
379 Enables the DMA1 input channel for ser0 (ttyS0).
380 If you do not enable DMA, an interrupt for each character will be
381 used when receiving data.
382 Normally you want to use DMA, unless you use the DMA channel for
388 prompt "Ser1 DMA in channel "
389 depends on ETRAX_SERIAL_PORT1
390 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
391 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
393 What DMA channel to use for ser1.
395 config ETRAX_SERIAL_PORT1_NO_DMA_IN
396 bool "Ser1 uses no DMA for input"
398 Do not use DMA for ser1 input.
400 config ETRAX_SERIAL_PORT1_DMA5_IN
401 bool "Ser1 uses DMA5 for input"
402 depends on ETRAX_ARCH_V32
404 Enables the DMA5 input channel for ser1 (ttyS1).
405 If you do not enable DMA, an interrupt for each character will be
406 used when receiving data.
407 Normally you want this on, unless you use the DMA channel for
410 config ETRAX_SERIAL_PORT1_DMA9_IN
411 depends on ETRAX_ARCH_V10
412 bool "Ser1 uses DMA9 for input"
418 prompt "Ser1 DMA out channel"
419 depends on ETRAX_SERIAL_PORT1
420 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
421 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
423 What DMA channel to use for ser1.
425 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
426 bool "Ser1 uses no DMA for output"
428 Do not use DMA for ser1 output.
430 config ETRAX_SERIAL_PORT1_DMA8_OUT
431 depends on ETRAX_ARCH_V10
432 bool "Ser1 uses DMA8 for output"
434 config ETRAX_SERIAL_PORT1_DMA4_OUT
435 depends on ETRAX_ARCH_V32
436 bool "Ser1 uses DMA4 for output"
438 Enables the DMA4 output channel for ser1 (ttyS1).
439 If you do not enable DMA, an interrupt for each character will be
440 used when transmitting data.
441 Normally you want this on, unless you use the DMA channel for
447 prompt "Ser2 DMA out channel"
448 depends on ETRAX_SERIAL_PORT2
449 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
450 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
452 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
453 bool "Ser2 uses no DMA for output"
455 Do not use DMA for ser2 output.
457 config ETRAX_SERIAL_PORT2_DMA2_OUT
458 bool "Ser2 uses DMA2 for output"
459 depends on ETRAXFS || ETRAX_ARCH_V10
461 Enables the DMA2 output channel for ser2 (ttyS2).
462 If you do not enable DMA, an interrupt for each character will be
463 used when transmitting data.
464 Normally you want to use DMA, unless you use the DMA channel for
467 config ETRAX_SERIAL_PORT2_DMA6_OUT
468 bool "Ser2 uses DMA6 for output"
469 depends on CRIS_MACH_ARTPEC3
471 Enables the DMA6 output channel for ser2 (ttyS2).
472 If you do not enable DMA, an interrupt for each character will be
473 used when transmitting data.
474 Normally you want to use DMA, unless you use the DMA channel for
480 prompt "Ser2 DMA in channel"
481 depends on ETRAX_SERIAL_PORT2
482 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
483 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
485 What DMA channel to use for ser2.
487 config ETRAX_SERIAL_PORT2_NO_DMA_IN
488 bool "Ser2 uses no DMA for input"
490 Do not use DMA for ser2 input.
492 config ETRAX_SERIAL_PORT2_DMA3_IN
493 bool "Ser2 uses DMA3 for input"
494 depends on ETRAXFS || ETRAX_ARCH_V10
496 Enables the DMA3 input channel for ser2 (ttyS2).
497 If you do not enable DMA, an interrupt for each character will be
498 used when receiving data.
499 Normally you want to use DMA, unless you use the DMA channel for
502 config ETRAX_SERIAL_PORT2_DMA7_IN
503 bool "Ser2 uses DMA7 for input"
504 depends on CRIS_MACH_ARTPEC3
506 Enables the DMA7 input channel for ser2 (ttyS2).
507 If you do not enable DMA, an interrupt for each character will be
508 used when receiving data.
509 Normally you want to use DMA, unless you use the DMA channel for
515 prompt "Ser3 DMA in channel"
516 depends on ETRAX_SERIAL_PORT3
517 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
518 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
520 What DMA channel to use for ser3.
522 config ETRAX_SERIAL_PORT3_NO_DMA_IN
523 bool "Ser3 uses no DMA for input"
525 Do not use DMA for ser3 input.
527 config ETRAX_SERIAL_PORT3_DMA5_IN
528 depends on ETRAX_ARCH_V10
534 prompt "Ser3 DMA out channel"
535 depends on ETRAX_SERIAL_PORT3
536 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
537 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
539 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
540 bool "Ser3 uses no DMA for output"
542 Do not use DMA for ser3 output.
544 config ETRAX_SERIAL_PORT3_DMA4_OUT
545 depends on ETRAX_ARCH_V10
552 source "drivers/Kconfig"
556 source "arch/cris/Kconfig.debug"
558 source "security/Kconfig"
560 source "crypto/Kconfig"