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