Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[deliverable/linux.git] / arch / cris / Kconfig
CommitLineData
1da177e4
LT
1config MMU
2 bool
3 default y
4
66701b14
CL
5config ZONE_DMA
6 bool
7 default y
8
1da177e4
LT
9config RWSEM_GENERIC_SPINLOCK
10 bool
11 default y
12
13config RWSEM_XCHGADD_ALGORITHM
14 bool
15
f0d1b0b3
DH
16config ARCH_HAS_ILOG2_U32
17 bool
18 default n
19
20config ARCH_HAS_ILOG2_U64
21 bool
22 default n
23
e9f26df1
AM
24config GENERIC_HWEIGHT
25 bool
26 default y
27
1da177e4
LT
28config GENERIC_CALIBRATE_DELAY
29 bool
30 default y
31
ce816fa8 32config NO_IOPORT_MAP
5ea81769
AV
33 def_bool y
34
923dd2a4
JN
35config FORCE_MAX_ZONEORDER
36 int
37 default 6
38
1da177e4
LT
39config CRIS
40 bool
41 default y
ec7748b5 42 select HAVE_IDE
4c9c6a1b 43 select GENERIC_ATOMIC64
af1839eb 44 select HAVE_UID16
4febd95a 45 select VIRT_TO_BUS
c1d7e01d 46 select ARCH_WANT_IPC_PARSE_VERSION
15825a5c 47 select GENERIC_IRQ_SHOW
4673ca8e 48 select GENERIC_IOMAP
a4cfc31d 49 select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
5227b636 50 select GENERIC_CMOS_UPDATE
786d35d4 51 select MODULES_USE_ELF_RELA
27d892fb 52 select CLONE_BACKWARDS2
86df89a0 53 select OLD_SIGSUSPEND
eb2f2566 54 select OLD_SIGACTION
1da177e4 55
bdc80787
PA
56config HZ
57 int
58 default 100
59
dd82094c
JN
60config NR_CPUS
61 int
62 default "1"
63
1da177e4
LT
64source "init/Kconfig"
65
dc52ddc0
MH
66source "kernel/Kconfig.freezer"
67
1da177e4
LT
68menu "General setup"
69
70source "fs/Kconfig.binfmt"
71
72config ETRAX_CMDLINE
73 string "Kernel command line"
74 default "root=/dev/mtdblock3"
75 help
76 Pass additional commands to the kernel.
77
78config 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
84config 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
92config 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
923dd2a4
JN
100config ETRAX_KMALLOCED_MODULES
101 bool "Enable module allocation with kmalloc"
1da177e4 102 help
923dd2a4
JN
103 Enable module allocation with kmalloc instead of vmalloc.
104
923dd2a4 105source "kernel/Kconfig.preempt"
1da177e4 106
3f22ab27
DH
107source mm/Kconfig
108
1da177e4
LT
109endmenu
110
111menu "Hardware setup"
112
113choice
114 prompt "Processor type"
115 default ETRAX100LX
116
117config ETRAX100LX
118 bool "ETRAX-100LX-v1"
60dbd663 119 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
120 help
121 Support version 1 of the ETRAX 100LX.
122
123config ETRAX100LX_V2
124 bool "ETRAX-100LX-v2"
60dbd663 125 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
126 help
127 Support version 2 of the ETRAX 100LX.
128
923dd2a4
JN
129config ETRAXFS
130 bool "ETRAX-FS-V32"
131 help
132 Support CRIS V32.
133
134config CRIS_MACH_ARTPEC3
135 bool "ARTPEC-3"
136 help
137 Support Axis ARTPEC-3.
138
1da177e4
LT
139endchoice
140
141config ETRAX_ARCH_V10
142 bool
143 default y if ETRAX100LX || ETRAX100LX_V2
144 default n if !(ETRAX100LX || ETRAX100LX_V2)
ae797bdf 145 select TTY
1da177e4 146
923dd2a4
JN
147config ETRAX_ARCH_V32
148 bool
149 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
150 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
151
1da177e4
LT
152config 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
923dd2a4
JN
158config 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
1da177e4 165config ETRAX_FLASH_BUSWIDTH
923dd2a4 166 int "Buswidth of NOR flash in bytes"
1da177e4
LT
167 default "2"
168 help
923dd2a4
JN
169 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
170
923dd2a4
JN
171config ETRAX_FLASH1_SIZE
172 int "FLASH1 size (dec, in MB. 0 = Unknown)"
173 default "0"
174
175choice
176 prompt "Product debug-port"
177 default ETRAX_DEBUG_PORT0
178
179config 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
185config ETRAX_DEBUG_PORT1
186 bool "Serial-1"
187 help
188 Use serial port 1 for the console.
189
190config ETRAX_DEBUG_PORT2
191 bool "Serial-2"
192 help
193 Use serial port 2 for the console.
194
195config ETRAX_DEBUG_PORT3
196 bool "Serial-3"
197 help
198 Use serial port 3 for the console.
199
200config ETRAX_DEBUG_PORT_NULL
201 bool "disabled"
202 help
203 Disable serial-port debugging.
204
205endchoice
206
207choice
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
216config ETRAX_KGDB_PORT0
217 bool "Serial-0"
218 help
219 Use serial port 0 for kernel debugging.
220
221config ETRAX_KGDB_PORT1
222 bool "Serial-1"
223 help
224 Use serial port 1 for kernel debugging.
225
226config ETRAX_KGDB_PORT2
227 bool "Serial-2"
228 help
229 Use serial port 2 for kernel debugging.
230
231config ETRAX_KGDB_PORT3
232 bool "Serial-3"
233 help
234 Use serial port 3 for kernel debugging.
235
236endchoice
1da177e4
LT
237
238source arch/cris/arch-v10/Kconfig
2d33d563 239source arch/cris/arch-v32/Kconfig
1da177e4
LT
240
241endmenu
242
d5950b43
SR
243source "net/Kconfig"
244
1da177e4
LT
245# bring in ETRAX built-in drivers
246menu "Drivers for built-in interfaces"
2d33d563
JN
247source arch/cris/arch-v10/drivers/Kconfig
248source arch/cris/arch-v32/drivers/Kconfig
1da177e4 249
79e04fdb
JN
250config 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
79e04fdb 256 select MTD_BLOCK
79e04fdb
JN
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
c974a9e5
JN
262config ETRAX_SYNCHRONOUS_SERIAL
263 bool "Synchronous serial-port support"
264 help
265 Select this to enable the synchronous serial port driver.
266
267config 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
273config 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
280config 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
286config 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
923dd2a4
JN
293choice
294 prompt "Network LED behavior"
295 depends on ETRAX_ETHERNET
296 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
297
298config 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
310config 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
322endchoice
323
324choice
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
330config 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
335config 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
345config 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
355endchoice
356
357choice
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
365config 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
370config 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
380config 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
692105b8 386 used when receiving data.
923dd2a4
JN
387 Normally you want to use DMA, unless you use the DMA channel for
388 something else.
389
390endchoice
391
392choice
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
400config 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
405config 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
415config ETRAX_SERIAL_PORT1_DMA9_IN
416 depends on ETRAX_ARCH_V10
417 bool "Ser1 uses DMA9 for input"
418
419endchoice
420
421
422choice
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
430config 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
435config ETRAX_SERIAL_PORT1_DMA8_OUT
436 depends on ETRAX_ARCH_V10
437 bool "Ser1 uses DMA8 for output"
438
439config 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
449endchoice
450
451choice
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
457config 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
462config 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
472config 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
482endchoice
483
484choice
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
492config 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
497config 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
507config 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
692105b8 513 used when receiving data.
923dd2a4
JN
514 Normally you want to use DMA, unless you use the DMA channel for
515 something else.
516
517endchoice
518
519choice
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
527config 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
532config ETRAX_SERIAL_PORT3_DMA5_IN
533 depends on ETRAX_ARCH_V10
534 bool "DMA 5"
535
923dd2a4
JN
536endchoice
537
538choice
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
544config 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
549config ETRAX_SERIAL_PORT3_DMA4_OUT
550 depends on ETRAX_ARCH_V10
551 bool "DMA 4"
552
923dd2a4
JN
553endchoice
554
1da177e4
LT
555endmenu
556
acf83630 557source "drivers/Kconfig"
1da177e4 558
1da177e4
LT
559source "fs/Kconfig"
560
1da177e4
LT
561source "arch/cris/Kconfig.debug"
562
563source "security/Kconfig"
564
565source "crypto/Kconfig"
566
567source "lib/Kconfig"
This page took 0.919866 seconds and 5 git commands to generate.