CRIS: Fix missing NR_CPUS in menuconfig
[deliverable/linux.git] / arch / cris / Kconfig
1 config MMU
2 bool
3 default y
4
5 config ZONE_DMA
6 bool
7 default y
8
9 config RWSEM_GENERIC_SPINLOCK
10 bool
11 default y
12
13 config RWSEM_XCHGADD_ALGORITHM
14 bool
15
16 config ARCH_HAS_ILOG2_U32
17 bool
18 default n
19
20 config ARCH_HAS_ILOG2_U64
21 bool
22 default n
23
24 config GENERIC_HWEIGHT
25 bool
26 default y
27
28 config GENERIC_CALIBRATE_DELAY
29 bool
30 default y
31
32 config NO_IOPORT_MAP
33 def_bool y
34
35 config FORCE_MAX_ZONEORDER
36 int
37 default 6
38
39 config CRIS
40 bool
41 default y
42 select HAVE_IDE
43 select GENERIC_ATOMIC64
44 select HAVE_UID16
45 select VIRT_TO_BUS
46 select ARCH_WANT_IPC_PARSE_VERSION
47 select GENERIC_IRQ_SHOW
48 select GENERIC_IOMAP
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
53 select OLD_SIGSUSPEND
54 select OLD_SIGACTION
55
56 config HZ
57 int
58 default 100
59
60 config NR_CPUS
61 int
62 default "1"
63
64 source "init/Kconfig"
65
66 source "kernel/Kconfig.freezer"
67
68 menu "General setup"
69
70 source "fs/Kconfig.binfmt"
71
72 config ETRAX_CMDLINE
73 string "Kernel command line"
74 default "root=/dev/mtdblock3"
75 help
76 Pass additional commands to the kernel.
77
78 config ETRAX_WATCHDOG
79 bool "Enable ETRAX watchdog"
80 help
81 Enable the built-in watchdog timer support on ETRAX based embedded
82 network computers.
83
84 config ETRAX_WATCHDOG_NICE_DOGGY
85 bool "Disable watchdog during Oops printouts"
86 depends on ETRAX_WATCHDOG
87 help
88 By enabling this you make sure that the watchdog does not bite while
89 printing oopses. Recommended for development systems but not for
90 production releases.
91
92 config ETRAX_FAST_TIMER
93 bool "Enable ETRAX fast timer API"
94 help
95 This options enables the API to a fast timer implementation using
96 timer1 to get sub jiffie resolution timers (primarily one-shot
97 timers).
98 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
99
100 config ETRAX_KMALLOCED_MODULES
101 bool "Enable module allocation with kmalloc"
102 help
103 Enable module allocation with kmalloc instead of vmalloc.
104
105 source "kernel/Kconfig.preempt"
106
107 source mm/Kconfig
108
109 endmenu
110
111 menu "Hardware setup"
112
113 choice
114 prompt "Processor type"
115 default ETRAX100LX
116
117 config ETRAX100LX
118 bool "ETRAX-100LX-v1"
119 select ARCH_USES_GETTIMEOFFSET
120 help
121 Support version 1 of the ETRAX 100LX.
122
123 config ETRAX100LX_V2
124 bool "ETRAX-100LX-v2"
125 select ARCH_USES_GETTIMEOFFSET
126 help
127 Support version 2 of the ETRAX 100LX.
128
129 config ETRAXFS
130 bool "ETRAX-FS-V32"
131 help
132 Support CRIS V32.
133
134 config CRIS_MACH_ARTPEC3
135 bool "ARTPEC-3"
136 help
137 Support Axis ARTPEC-3.
138
139 endchoice
140
141 config ETRAX_ARCH_V10
142 bool
143 default y if ETRAX100LX || ETRAX100LX_V2
144 default n if !(ETRAX100LX || ETRAX100LX_V2)
145 select TTY
146
147 config ETRAX_ARCH_V32
148 bool
149 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
150 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
151
152 config ETRAX_DRAM_SIZE
153 int "DRAM size (dec, in MB)"
154 default "8"
155 help
156 Size of DRAM (decimal in MB) typically 2, 8 or 16.
157
158 config ETRAX_VMEM_SIZE
159 int "Video memory size (dec, in MB)"
160 depends on ETRAX_ARCH_V32 && !ETRAXFS
161 default 8 if !ETRAXFS
162 help
163 Size of Video accessible memory (decimal, in MB).
164
165 config ETRAX_FLASH_BUSWIDTH
166 int "Buswidth of NOR flash in bytes"
167 default "2"
168 help
169 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
170
171 config ETRAX_FLASH1_SIZE
172 int "FLASH1 size (dec, in MB. 0 = Unknown)"
173 default "0"
174
175 choice
176 prompt "Product debug-port"
177 default ETRAX_DEBUG_PORT0
178
179 config ETRAX_DEBUG_PORT0
180 bool "Serial-0"
181 help
182 Choose a serial port for the ETRAX debug console. Default to
183 port 0.
184
185 config ETRAX_DEBUG_PORT1
186 bool "Serial-1"
187 help
188 Use serial port 1 for the console.
189
190 config ETRAX_DEBUG_PORT2
191 bool "Serial-2"
192 help
193 Use serial port 2 for the console.
194
195 config ETRAX_DEBUG_PORT3
196 bool "Serial-3"
197 help
198 Use serial port 3 for the console.
199
200 config ETRAX_DEBUG_PORT_NULL
201 bool "disabled"
202 help
203 Disable serial-port debugging.
204
205 endchoice
206
207 choice
208 prompt "Kernel GDB port"
209 depends on ETRAX_KGDB
210 default ETRAX_KGDB_PORT0
211 help
212 Choose a serial port for kernel debugging. NOTE: This port should
213 not be enabled under Drivers for built-in interfaces (as it has its
214 own initialization code) and should not be the same as the debug port.
215
216 config ETRAX_KGDB_PORT0
217 bool "Serial-0"
218 help
219 Use serial port 0 for kernel debugging.
220
221 config ETRAX_KGDB_PORT1
222 bool "Serial-1"
223 help
224 Use serial port 1 for kernel debugging.
225
226 config ETRAX_KGDB_PORT2
227 bool "Serial-2"
228 help
229 Use serial port 2 for kernel debugging.
230
231 config ETRAX_KGDB_PORT3
232 bool "Serial-3"
233 help
234 Use serial port 3 for kernel debugging.
235
236 endchoice
237
238 source arch/cris/arch-v10/Kconfig
239 source arch/cris/arch-v32/Kconfig
240
241 endmenu
242
243 source "net/Kconfig"
244
245 # bring in ETRAX built-in drivers
246 menu "Drivers for built-in interfaces"
247 source arch/cris/arch-v10/drivers/Kconfig
248 source arch/cris/arch-v32/drivers/Kconfig
249
250 config ETRAX_AXISFLASHMAP
251 bool "Axis flash-map support"
252 select MTD
253 select MTD_CFI
254 select MTD_CFI_AMDSTD
255 select MTD_JEDECPROBE if ETRAX_ARCH_V32
256 select MTD_BLOCK
257 select MTD_COMPLEX_MAPPINGS
258 help
259 This option enables MTD mapping of flash devices. Needed to use
260 flash memories. If unsure, say Y.
261
262 config ETRAX_SYNCHRONOUS_SERIAL
263 bool "Synchronous serial-port support"
264 help
265 Select this to enable the synchronous serial port driver.
266
267 config ETRAX_SYNCHRONOUS_SERIAL_PORT0
268 bool "Synchronous serial port 0 enabled"
269 depends on ETRAX_SYNCHRONOUS_SERIAL
270 help
271 Enabled synchronous serial port 0.
272
273 config ETRAX_SYNCHRONOUS_SERIAL0_DMA
274 bool "Enable DMA on synchronous serial port 0."
275 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
276 help
277 A synchronous serial port can run in manual or DMA mode.
278 Selecting this option will make it run in DMA mode.
279
280 config ETRAX_SYNCHRONOUS_SERIAL_PORT1
281 bool "Synchronous serial port 1 enabled"
282 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
283 help
284 Enabled synchronous serial port 1.
285
286 config ETRAX_SYNCHRONOUS_SERIAL1_DMA
287 bool "Enable DMA on synchronous serial port 1."
288 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
289 help
290 A synchronous serial port can run in manual or DMA mode.
291 Selecting this option will make it run in DMA mode.
292
293 choice
294 prompt "Network LED behavior"
295 depends on ETRAX_ETHERNET
296 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
297
298 config ETRAX_NETWORK_LED_ON_WHEN_LINK
299 bool "LED_on_when_link"
300 help
301 Selecting LED_on_when_link will light the LED when there is a
302 connection and will flash off when there is activity.
303
304 Selecting LED_on_when_activity will light the LED only when
305 there is activity.
306
307 This setting will also affect the behaviour of other activity LEDs
308 e.g. Bluetooth.
309
310 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
311 bool "LED_on_when_activity"
312 help
313 Selecting LED_on_when_link will light the LED when there is a
314 connection and will flash off when there is activity.
315
316 Selecting LED_on_when_activity will light the LED only when
317 there is activity.
318
319 This setting will also affect the behaviour of other activity LEDs
320 e.g. Bluetooth.
321
322 endchoice
323
324 choice
325 prompt "Ser0 DMA out channel"
326 depends on ETRAX_SERIAL_PORT0
327 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
328 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
329
330 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
331 bool "Ser0 uses no DMA for output"
332 help
333 Do not use DMA for ser0 output.
334
335 config ETRAX_SERIAL_PORT0_DMA6_OUT
336 bool "Ser0 uses DMA6 for output"
337 depends on ETRAXFS
338 help
339 Enables the DMA6 output channel for ser0 (ttyS0).
340 If you do not enable DMA, an interrupt for each character will be
341 used when transmitting data.
342 Normally you want to use DMA, unless you use the DMA channel for
343 something else.
344
345 config ETRAX_SERIAL_PORT0_DMA0_OUT
346 bool "Ser0 uses DMA0 for output"
347 depends on CRIS_MACH_ARTPEC3
348 help
349 Enables the DMA0 output channel for ser0 (ttyS0).
350 If you do not enable DMA, an interrupt for each character will be
351 used when transmitting data.
352 Normally you want to use DMA, unless you use the DMA channel for
353 something else.
354
355 endchoice
356
357 choice
358 prompt "Ser0 DMA in channel "
359 depends on ETRAX_SERIAL_PORT0
360 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
361 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
362 help
363 What DMA channel to use for ser0.
364
365 config ETRAX_SERIAL_PORT0_NO_DMA_IN
366 bool "Ser0 uses no DMA for input"
367 help
368 Do not use DMA for ser0 input.
369
370 config ETRAX_SERIAL_PORT0_DMA7_IN
371 bool "Ser0 uses DMA7 for input"
372 depends on ETRAXFS
373 help
374 Enables the DMA7 input channel for ser0 (ttyS0).
375 If you do not enable DMA, an interrupt for each character will be
376 used when receiving data.
377 Normally you want to use DMA, unless you use the DMA channel for
378 something else.
379
380 config ETRAX_SERIAL_PORT0_DMA1_IN
381 bool "Ser0 uses DMA1 for input"
382 depends on CRIS_MACH_ARTPEC3
383 help
384 Enables the DMA1 input channel for ser0 (ttyS0).
385 If you do not enable DMA, an interrupt for each character will be
386 used when receiving data.
387 Normally you want to use DMA, unless you use the DMA channel for
388 something else.
389
390 endchoice
391
392 choice
393 prompt "Ser1 DMA in channel "
394 depends on ETRAX_SERIAL_PORT1
395 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
396 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
397 help
398 What DMA channel to use for ser1.
399
400 config ETRAX_SERIAL_PORT1_NO_DMA_IN
401 bool "Ser1 uses no DMA for input"
402 help
403 Do not use DMA for ser1 input.
404
405 config ETRAX_SERIAL_PORT1_DMA5_IN
406 bool "Ser1 uses DMA5 for input"
407 depends on ETRAX_ARCH_V32
408 help
409 Enables the DMA5 input channel for ser1 (ttyS1).
410 If you do not enable DMA, an interrupt for each character will be
411 used when receiving data.
412 Normally you want this on, unless you use the DMA channel for
413 something else.
414
415 config ETRAX_SERIAL_PORT1_DMA9_IN
416 depends on ETRAX_ARCH_V10
417 bool "Ser1 uses DMA9 for input"
418
419 endchoice
420
421
422 choice
423 prompt "Ser1 DMA out channel"
424 depends on ETRAX_SERIAL_PORT1
425 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
426 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
427 help
428 What DMA channel to use for ser1.
429
430 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
431 bool "Ser1 uses no DMA for output"
432 help
433 Do not use DMA for ser1 output.
434
435 config ETRAX_SERIAL_PORT1_DMA8_OUT
436 depends on ETRAX_ARCH_V10
437 bool "Ser1 uses DMA8 for output"
438
439 config ETRAX_SERIAL_PORT1_DMA4_OUT
440 depends on ETRAX_ARCH_V32
441 bool "Ser1 uses DMA4 for output"
442 help
443 Enables the DMA4 output channel for ser1 (ttyS1).
444 If you do not enable DMA, an interrupt for each character will be
445 used when transmitting data.
446 Normally you want this on, unless you use the DMA channel for
447 something else.
448
449 endchoice
450
451 choice
452 prompt "Ser2 DMA out channel"
453 depends on ETRAX_SERIAL_PORT2
454 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
455 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
456
457 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
458 bool "Ser2 uses no DMA for output"
459 help
460 Do not use DMA for ser2 output.
461
462 config ETRAX_SERIAL_PORT2_DMA2_OUT
463 bool "Ser2 uses DMA2 for output"
464 depends on ETRAXFS || ETRAX_ARCH_V10
465 help
466 Enables the DMA2 output channel for ser2 (ttyS2).
467 If you do not enable DMA, an interrupt for each character will be
468 used when transmitting data.
469 Normally you want to use DMA, unless you use the DMA channel for
470 something else.
471
472 config ETRAX_SERIAL_PORT2_DMA6_OUT
473 bool "Ser2 uses DMA6 for output"
474 depends on CRIS_MACH_ARTPEC3
475 help
476 Enables the DMA6 output channel for ser2 (ttyS2).
477 If you do not enable DMA, an interrupt for each character will be
478 used when transmitting data.
479 Normally you want to use DMA, unless you use the DMA channel for
480 something else.
481
482 endchoice
483
484 choice
485 prompt "Ser2 DMA in channel"
486 depends on ETRAX_SERIAL_PORT2
487 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
488 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
489 help
490 What DMA channel to use for ser2.
491
492 config ETRAX_SERIAL_PORT2_NO_DMA_IN
493 bool "Ser2 uses no DMA for input"
494 help
495 Do not use DMA for ser2 input.
496
497 config ETRAX_SERIAL_PORT2_DMA3_IN
498 bool "Ser2 uses DMA3 for input"
499 depends on ETRAXFS || ETRAX_ARCH_V10
500 help
501 Enables the DMA3 input channel for ser2 (ttyS2).
502 If you do not enable DMA, an interrupt for each character will be
503 used when receiving data.
504 Normally you want to use DMA, unless you use the DMA channel for
505 something else.
506
507 config ETRAX_SERIAL_PORT2_DMA7_IN
508 bool "Ser2 uses DMA7 for input"
509 depends on CRIS_MACH_ARTPEC3
510 help
511 Enables the DMA7 input channel for ser2 (ttyS2).
512 If you do not enable DMA, an interrupt for each character will be
513 used when receiving data.
514 Normally you want to use DMA, unless you use the DMA channel for
515 something else.
516
517 endchoice
518
519 choice
520 prompt "Ser3 DMA in channel"
521 depends on ETRAX_SERIAL_PORT3
522 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
523 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
524 help
525 What DMA channel to use for ser3.
526
527 config ETRAX_SERIAL_PORT3_NO_DMA_IN
528 bool "Ser3 uses no DMA for input"
529 help
530 Do not use DMA for ser3 input.
531
532 config ETRAX_SERIAL_PORT3_DMA5_IN
533 depends on ETRAX_ARCH_V10
534 bool "DMA 5"
535
536 endchoice
537
538 choice
539 prompt "Ser3 DMA out channel"
540 depends on ETRAX_SERIAL_PORT3
541 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
542 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
543
544 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
545 bool "Ser3 uses no DMA for output"
546 help
547 Do not use DMA for ser3 output.
548
549 config ETRAX_SERIAL_PORT3_DMA4_OUT
550 depends on ETRAX_ARCH_V10
551 bool "DMA 4"
552
553 endchoice
554
555 endmenu
556
557 source "drivers/Kconfig"
558
559 source "fs/Kconfig"
560
561 source "arch/cris/Kconfig.debug"
562
563 source "security/Kconfig"
564
565 source "crypto/Kconfig"
566
567 source "lib/Kconfig"
This page took 0.05017 seconds and 5 git commands to generate.