Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # For a description of the syntax of this configuration file, | |
3 | # see the Configure script. | |
4 | # | |
5 | ||
6 | mainmenu "Linux/CRIS Kernel Configuration" | |
7 | ||
8 | config MMU | |
9 | bool | |
10 | default y | |
11 | ||
66701b14 CL |
12 | config ZONE_DMA |
13 | bool | |
14 | default y | |
15 | ||
1da177e4 LT |
16 | config RWSEM_GENERIC_SPINLOCK |
17 | bool | |
18 | default y | |
19 | ||
20 | config RWSEM_XCHGADD_ALGORITHM | |
21 | bool | |
22 | ||
923dd2a4 JN |
23 | config GENERIC_IOMAP |
24 | bool | |
25 | default y | |
26 | ||
f0d1b0b3 DH |
27 | config ARCH_HAS_ILOG2_U32 |
28 | bool | |
29 | default n | |
30 | ||
31 | config ARCH_HAS_ILOG2_U64 | |
32 | bool | |
33 | default n | |
34 | ||
e9f26df1 AM |
35 | config GENERIC_FIND_NEXT_BIT |
36 | bool | |
37 | default y | |
38 | ||
39 | config GENERIC_HWEIGHT | |
40 | bool | |
41 | default y | |
42 | ||
1da177e4 LT |
43 | config GENERIC_CALIBRATE_DELAY |
44 | bool | |
45 | default y | |
46 | ||
5ea81769 AV |
47 | config NO_IOPORT |
48 | def_bool y | |
49 | ||
923dd2a4 JN |
50 | config FORCE_MAX_ZONEORDER |
51 | int | |
52 | default 6 | |
53 | ||
1da177e4 LT |
54 | config CRIS |
55 | bool | |
56 | default y | |
ec7748b5 | 57 | select HAVE_IDE |
1da177e4 | 58 | |
bdc80787 PA |
59 | config HZ |
60 | int | |
61 | default 100 | |
62 | ||
1da177e4 LT |
63 | source "init/Kconfig" |
64 | ||
65 | menu "General setup" | |
66 | ||
67 | source "fs/Kconfig.binfmt" | |
68 | ||
eb2746dd JN |
69 | config GENERIC_HARDIRQS |
70 | bool | |
71 | default y | |
72 | ||
1da177e4 LT |
73 | config ETRAX_CMDLINE |
74 | string "Kernel command line" | |
75 | default "root=/dev/mtdblock3" | |
76 | help | |
77 | Pass additional commands to the kernel. | |
78 | ||
79 | config ETRAX_WATCHDOG | |
80 | bool "Enable ETRAX watchdog" | |
81 | help | |
82 | Enable the built-in watchdog timer support on ETRAX based embedded | |
83 | network computers. | |
84 | ||
85 | config ETRAX_WATCHDOG_NICE_DOGGY | |
86 | bool "Disable watchdog during Oops printouts" | |
87 | depends on ETRAX_WATCHDOG | |
88 | help | |
89 | By enabling this you make sure that the watchdog does not bite while | |
90 | printing oopses. Recommended for development systems but not for | |
91 | production releases. | |
92 | ||
93 | config ETRAX_FAST_TIMER | |
94 | bool "Enable ETRAX fast timer API" | |
95 | help | |
96 | This options enables the API to a fast timer implementation using | |
97 | timer1 to get sub jiffie resolution timers (primarily one-shot | |
98 | timers). | |
99 | This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled. | |
100 | ||
923dd2a4 JN |
101 | config ETRAX_KMALLOCED_MODULES |
102 | bool "Enable module allocation with kmalloc" | |
1da177e4 | 103 | help |
923dd2a4 JN |
104 | Enable module allocation with kmalloc instead of vmalloc. |
105 | ||
106 | config OOM_REBOOT | |
107 | bool "Enable reboot at out of memory" | |
1da177e4 | 108 | |
923dd2a4 | 109 | source "kernel/Kconfig.preempt" |
1da177e4 | 110 | |
3f22ab27 DH |
111 | source mm/Kconfig |
112 | ||
1da177e4 LT |
113 | endmenu |
114 | ||
115 | menu "Hardware setup" | |
116 | ||
117 | choice | |
118 | prompt "Processor type" | |
119 | default ETRAX100LX | |
120 | ||
121 | config ETRAX100LX | |
122 | bool "ETRAX-100LX-v1" | |
123 | help | |
124 | Support version 1 of the ETRAX 100LX. | |
125 | ||
126 | config ETRAX100LX_V2 | |
127 | bool "ETRAX-100LX-v2" | |
128 | help | |
129 | Support version 2 of the ETRAX 100LX. | |
130 | ||
131 | config SVINTO_SIM | |
132 | bool "ETRAX-100LX-for-xsim-simulator" | |
133 | help | |
134 | Support the xsim ETRAX Simulator. | |
135 | ||
923dd2a4 JN |
136 | config ETRAXFS |
137 | bool "ETRAX-FS-V32" | |
138 | help | |
139 | Support CRIS V32. | |
140 | ||
141 | config CRIS_MACH_ARTPEC3 | |
142 | bool "ARTPEC-3" | |
143 | help | |
144 | Support Axis ARTPEC-3. | |
145 | ||
1da177e4 LT |
146 | endchoice |
147 | ||
923dd2a4 JN |
148 | config ETRAX_VCS_SIM |
149 | bool "VCS Simulator" | |
150 | help | |
151 | Setup hardware to be run in the VCS simulator. | |
152 | ||
1da177e4 LT |
153 | config ETRAX_ARCH_V10 |
154 | bool | |
155 | default y if ETRAX100LX || ETRAX100LX_V2 | |
156 | default n if !(ETRAX100LX || ETRAX100LX_V2) | |
157 | ||
923dd2a4 JN |
158 | config ETRAX_ARCH_V32 |
159 | bool | |
160 | default y if (ETRAXFS || CRIS_MACH_ARTPEC3) | |
161 | default n if !(ETRAXFS || CRIS_MACH_ARTPEC3) | |
162 | ||
1da177e4 LT |
163 | config ETRAX_DRAM_SIZE |
164 | int "DRAM size (dec, in MB)" | |
165 | default "8" | |
166 | help | |
167 | Size of DRAM (decimal in MB) typically 2, 8 or 16. | |
168 | ||
923dd2a4 JN |
169 | config ETRAX_VMEM_SIZE |
170 | int "Video memory size (dec, in MB)" | |
171 | depends on ETRAX_ARCH_V32 && !ETRAXFS | |
172 | default 8 if !ETRAXFS | |
173 | help | |
174 | Size of Video accessible memory (decimal, in MB). | |
175 | ||
1da177e4 | 176 | config ETRAX_FLASH_BUSWIDTH |
923dd2a4 | 177 | int "Buswidth of NOR flash in bytes" |
1da177e4 LT |
178 | default "2" |
179 | help | |
923dd2a4 JN |
180 | Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2. |
181 | ||
182 | config ETRAX_NANDFLASH_BUSWIDTH | |
183 | int "Buswidth of NAND flash in bytes" | |
184 | default "1" | |
185 | help | |
186 | Width in bytes of the NAND flash (1 or 2). | |
187 | ||
188 | config ETRAX_FLASH1_SIZE | |
189 | int "FLASH1 size (dec, in MB. 0 = Unknown)" | |
190 | default "0" | |
191 | ||
192 | choice | |
193 | prompt "Product debug-port" | |
194 | default ETRAX_DEBUG_PORT0 | |
195 | ||
196 | config ETRAX_DEBUG_PORT0 | |
197 | bool "Serial-0" | |
198 | help | |
199 | Choose a serial port for the ETRAX debug console. Default to | |
200 | port 0. | |
201 | ||
202 | config ETRAX_DEBUG_PORT1 | |
203 | bool "Serial-1" | |
204 | help | |
205 | Use serial port 1 for the console. | |
206 | ||
207 | config ETRAX_DEBUG_PORT2 | |
208 | bool "Serial-2" | |
209 | help | |
210 | Use serial port 2 for the console. | |
211 | ||
212 | config ETRAX_DEBUG_PORT3 | |
213 | bool "Serial-3" | |
214 | help | |
215 | Use serial port 3 for the console. | |
216 | ||
217 | config ETRAX_DEBUG_PORT_NULL | |
218 | bool "disabled" | |
219 | help | |
220 | Disable serial-port debugging. | |
221 | ||
222 | endchoice | |
223 | ||
224 | choice | |
225 | prompt "Kernel GDB port" | |
226 | depends on ETRAX_KGDB | |
227 | default ETRAX_KGDB_PORT0 | |
228 | help | |
229 | Choose a serial port for kernel debugging. NOTE: This port should | |
230 | not be enabled under Drivers for built-in interfaces (as it has its | |
231 | own initialization code) and should not be the same as the debug port. | |
232 | ||
233 | config ETRAX_KGDB_PORT0 | |
234 | bool "Serial-0" | |
235 | help | |
236 | Use serial port 0 for kernel debugging. | |
237 | ||
238 | config ETRAX_KGDB_PORT1 | |
239 | bool "Serial-1" | |
240 | help | |
241 | Use serial port 1 for kernel debugging. | |
242 | ||
243 | config ETRAX_KGDB_PORT2 | |
244 | bool "Serial-2" | |
245 | help | |
246 | Use serial port 2 for kernel debugging. | |
247 | ||
248 | config ETRAX_KGDB_PORT3 | |
249 | bool "Serial-3" | |
250 | help | |
251 | Use serial port 3 for kernel debugging. | |
252 | ||
253 | endchoice | |
1da177e4 LT |
254 | |
255 | source arch/cris/arch-v10/Kconfig | |
2d33d563 | 256 | source arch/cris/arch-v32/Kconfig |
1da177e4 LT |
257 | |
258 | endmenu | |
259 | ||
d5950b43 SR |
260 | source "net/Kconfig" |
261 | ||
1da177e4 LT |
262 | # bring in ETRAX built-in drivers |
263 | menu "Drivers for built-in interfaces" | |
2d33d563 JN |
264 | source arch/cris/arch-v10/drivers/Kconfig |
265 | source arch/cris/arch-v32/drivers/Kconfig | |
1da177e4 | 266 | |
79e04fdb JN |
267 | config ETRAX_AXISFLASHMAP |
268 | bool "Axis flash-map support" | |
269 | select MTD | |
270 | select MTD_CFI | |
271 | select MTD_CFI_AMDSTD | |
272 | select MTD_JEDECPROBE if ETRAX_ARCH_V32 | |
273 | select MTD_CHAR | |
274 | select MTD_BLOCK | |
275 | select MTD_PARTITIONS | |
276 | select MTD_CONCAT | |
277 | select MTD_COMPLEX_MAPPINGS | |
278 | help | |
279 | This option enables MTD mapping of flash devices. Needed to use | |
280 | flash memories. If unsure, say Y. | |
281 | ||
c3d6dddd JN |
282 | config ETRAX_RTC |
283 | bool "Real Time Clock support" | |
284 | depends on ETRAX_I2C | |
285 | help | |
286 | Enables drivers for the Real-Time Clock battery-backed chips on | |
287 | some products. The kernel reads the time when booting, and | |
288 | the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a | |
289 | rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc | |
290 | device. You can check the time with cat /proc/rtc, but | |
291 | normal time reading should be done using libc function time and | |
292 | friends. | |
293 | ||
923dd2a4 JN |
294 | choice |
295 | prompt "RTC chip" | |
296 | depends on ETRAX_RTC | |
297 | default ETRAX_PCF8563 if ETRAX_ARCH_V32 | |
298 | default ETRAX_DS1302 if ETRAX_ARCH_V10 | |
299 | ||
300 | config ETRAX_DS1302 | |
301 | depends on ETRAX_ARCH_V10 | |
302 | bool "DS1302" | |
303 | help | |
304 | Enables the driver for the DS1302 Real-Time Clock battery-backed | |
305 | chip on some products. | |
306 | ||
307 | config ETRAX_PCF8563 | |
308 | bool "PCF8563" | |
309 | help | |
310 | Enables the driver for the PCF8563 Real-Time Clock battery-backed | |
311 | chip on some products. | |
312 | ||
313 | endchoice | |
314 | ||
c974a9e5 JN |
315 | config ETRAX_SYNCHRONOUS_SERIAL |
316 | bool "Synchronous serial-port support" | |
317 | help | |
318 | Select this to enable the synchronous serial port driver. | |
319 | ||
320 | config ETRAX_SYNCHRONOUS_SERIAL_PORT0 | |
321 | bool "Synchronous serial port 0 enabled" | |
322 | depends on ETRAX_SYNCHRONOUS_SERIAL | |
323 | help | |
324 | Enabled synchronous serial port 0. | |
325 | ||
326 | config ETRAX_SYNCHRONOUS_SERIAL0_DMA | |
327 | bool "Enable DMA on synchronous serial port 0." | |
328 | depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0 | |
329 | help | |
330 | A synchronous serial port can run in manual or DMA mode. | |
331 | Selecting this option will make it run in DMA mode. | |
332 | ||
333 | config ETRAX_SYNCHRONOUS_SERIAL_PORT1 | |
334 | bool "Synchronous serial port 1 enabled" | |
335 | depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10) | |
336 | help | |
337 | Enabled synchronous serial port 1. | |
338 | ||
339 | config ETRAX_SYNCHRONOUS_SERIAL1_DMA | |
340 | bool "Enable DMA on synchronous serial port 1." | |
341 | depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1 | |
342 | help | |
343 | A synchronous serial port can run in manual or DMA mode. | |
344 | Selecting this option will make it run in DMA mode. | |
345 | ||
923dd2a4 JN |
346 | choice |
347 | prompt "Network LED behavior" | |
348 | depends on ETRAX_ETHERNET | |
349 | default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY | |
350 | ||
351 | config ETRAX_NETWORK_LED_ON_WHEN_LINK | |
352 | bool "LED_on_when_link" | |
353 | help | |
354 | Selecting LED_on_when_link will light the LED when there is a | |
355 | connection and will flash off when there is activity. | |
356 | ||
357 | Selecting LED_on_when_activity will light the LED only when | |
358 | there is activity. | |
359 | ||
360 | This setting will also affect the behaviour of other activity LEDs | |
361 | e.g. Bluetooth. | |
362 | ||
363 | config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY | |
364 | bool "LED_on_when_activity" | |
365 | help | |
366 | Selecting LED_on_when_link will light the LED when there is a | |
367 | connection and will flash off when there is activity. | |
368 | ||
369 | Selecting LED_on_when_activity will light the LED only when | |
370 | there is activity. | |
371 | ||
372 | This setting will also affect the behaviour of other activity LEDs | |
373 | e.g. Bluetooth. | |
374 | ||
375 | endchoice | |
376 | ||
377 | choice | |
378 | prompt "Ser0 DMA out channel" | |
379 | depends on ETRAX_SERIAL_PORT0 | |
380 | default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32 | |
381 | default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10 | |
382 | ||
383 | config ETRAX_SERIAL_PORT0_NO_DMA_OUT | |
384 | bool "Ser0 uses no DMA for output" | |
385 | help | |
386 | Do not use DMA for ser0 output. | |
387 | ||
388 | config ETRAX_SERIAL_PORT0_DMA6_OUT | |
389 | bool "Ser0 uses DMA6 for output" | |
390 | depends on ETRAXFS | |
391 | help | |
392 | Enables the DMA6 output channel for ser0 (ttyS0). | |
393 | If you do not enable DMA, an interrupt for each character will be | |
394 | used when transmitting data. | |
395 | Normally you want to use DMA, unless you use the DMA channel for | |
396 | something else. | |
397 | ||
398 | config ETRAX_SERIAL_PORT0_DMA0_OUT | |
399 | bool "Ser0 uses DMA0 for output" | |
400 | depends on CRIS_MACH_ARTPEC3 | |
401 | help | |
402 | Enables the DMA0 output channel for ser0 (ttyS0). | |
403 | If you do not enable DMA, an interrupt for each character will be | |
404 | used when transmitting data. | |
405 | Normally you want to use DMA, unless you use the DMA channel for | |
406 | something else. | |
407 | ||
408 | endchoice | |
409 | ||
410 | choice | |
411 | prompt "Ser0 DMA in channel " | |
412 | depends on ETRAX_SERIAL_PORT0 | |
413 | default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32 | |
414 | default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10 | |
415 | help | |
416 | What DMA channel to use for ser0. | |
417 | ||
418 | config ETRAX_SERIAL_PORT0_NO_DMA_IN | |
419 | bool "Ser0 uses no DMA for input" | |
420 | help | |
421 | Do not use DMA for ser0 input. | |
422 | ||
423 | config ETRAX_SERIAL_PORT0_DMA7_IN | |
424 | bool "Ser0 uses DMA7 for input" | |
425 | depends on ETRAXFS | |
426 | help | |
427 | Enables the DMA7 input channel for ser0 (ttyS0). | |
428 | If you do not enable DMA, an interrupt for each character will be | |
429 | used when receiving data. | |
430 | Normally you want to use DMA, unless you use the DMA channel for | |
431 | something else. | |
432 | ||
433 | config ETRAX_SERIAL_PORT0_DMA1_IN | |
434 | bool "Ser0 uses DMA1 for input" | |
435 | depends on CRIS_MACH_ARTPEC3 | |
436 | help | |
437 | Enables the DMA1 input channel for ser0 (ttyS0). | |
438 | If you do not enable DMA, an interrupt for each character will be | |
439 | used when receiveing data. | |
440 | Normally you want to use DMA, unless you use the DMA channel for | |
441 | something else. | |
442 | ||
443 | endchoice | |
444 | ||
445 | choice | |
446 | prompt "Ser1 DMA in channel " | |
447 | depends on ETRAX_SERIAL_PORT1 | |
448 | default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32 | |
449 | default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10 | |
450 | help | |
451 | What DMA channel to use for ser1. | |
452 | ||
453 | config ETRAX_SERIAL_PORT1_NO_DMA_IN | |
454 | bool "Ser1 uses no DMA for input" | |
455 | help | |
456 | Do not use DMA for ser1 input. | |
457 | ||
458 | config ETRAX_SERIAL_PORT1_DMA5_IN | |
459 | bool "Ser1 uses DMA5 for input" | |
460 | depends on ETRAX_ARCH_V32 | |
461 | help | |
462 | Enables the DMA5 input channel for ser1 (ttyS1). | |
463 | If you do not enable DMA, an interrupt for each character will be | |
464 | used when receiving data. | |
465 | Normally you want this on, unless you use the DMA channel for | |
466 | something else. | |
467 | ||
468 | config ETRAX_SERIAL_PORT1_DMA9_IN | |
469 | depends on ETRAX_ARCH_V10 | |
470 | bool "Ser1 uses DMA9 for input" | |
471 | ||
472 | endchoice | |
473 | ||
474 | ||
475 | choice | |
476 | prompt "Ser1 DMA out channel" | |
477 | depends on ETRAX_SERIAL_PORT1 | |
478 | default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32 | |
479 | default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10 | |
480 | help | |
481 | What DMA channel to use for ser1. | |
482 | ||
483 | config ETRAX_SERIAL_PORT1_NO_DMA_OUT | |
484 | bool "Ser1 uses no DMA for output" | |
485 | help | |
486 | Do not use DMA for ser1 output. | |
487 | ||
488 | config ETRAX_SERIAL_PORT1_DMA8_OUT | |
489 | depends on ETRAX_ARCH_V10 | |
490 | bool "Ser1 uses DMA8 for output" | |
491 | ||
492 | config ETRAX_SERIAL_PORT1_DMA4_OUT | |
493 | depends on ETRAX_ARCH_V32 | |
494 | bool "Ser1 uses DMA4 for output" | |
495 | help | |
496 | Enables the DMA4 output channel for ser1 (ttyS1). | |
497 | If you do not enable DMA, an interrupt for each character will be | |
498 | used when transmitting data. | |
499 | Normally you want this on, unless you use the DMA channel for | |
500 | something else. | |
501 | ||
502 | endchoice | |
503 | ||
504 | choice | |
505 | prompt "Ser2 DMA out channel" | |
506 | depends on ETRAX_SERIAL_PORT2 | |
507 | default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32 | |
508 | default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10 | |
509 | ||
510 | config ETRAX_SERIAL_PORT2_NO_DMA_OUT | |
511 | bool "Ser2 uses no DMA for output" | |
512 | help | |
513 | Do not use DMA for ser2 output. | |
514 | ||
515 | config ETRAX_SERIAL_PORT2_DMA2_OUT | |
516 | bool "Ser2 uses DMA2 for output" | |
517 | depends on ETRAXFS || ETRAX_ARCH_V10 | |
518 | help | |
519 | Enables the DMA2 output channel for ser2 (ttyS2). | |
520 | If you do not enable DMA, an interrupt for each character will be | |
521 | used when transmitting data. | |
522 | Normally you want to use DMA, unless you use the DMA channel for | |
523 | something else. | |
524 | ||
525 | config ETRAX_SERIAL_PORT2_DMA6_OUT | |
526 | bool "Ser2 uses DMA6 for output" | |
527 | depends on CRIS_MACH_ARTPEC3 | |
528 | help | |
529 | Enables the DMA6 output channel for ser2 (ttyS2). | |
530 | If you do not enable DMA, an interrupt for each character will be | |
531 | used when transmitting data. | |
532 | Normally you want to use DMA, unless you use the DMA channel for | |
533 | something else. | |
534 | ||
535 | endchoice | |
536 | ||
537 | choice | |
538 | prompt "Ser2 DMA in channel" | |
539 | depends on ETRAX_SERIAL_PORT2 | |
540 | default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32 | |
541 | default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10 | |
542 | help | |
543 | What DMA channel to use for ser2. | |
544 | ||
545 | config ETRAX_SERIAL_PORT2_NO_DMA_IN | |
546 | bool "Ser2 uses no DMA for input" | |
547 | help | |
548 | Do not use DMA for ser2 input. | |
549 | ||
550 | config ETRAX_SERIAL_PORT2_DMA3_IN | |
551 | bool "Ser2 uses DMA3 for input" | |
552 | depends on ETRAXFS || ETRAX_ARCH_V10 | |
553 | help | |
554 | Enables the DMA3 input channel for ser2 (ttyS2). | |
555 | If you do not enable DMA, an interrupt for each character will be | |
556 | used when receiving data. | |
557 | Normally you want to use DMA, unless you use the DMA channel for | |
558 | something else. | |
559 | ||
560 | config ETRAX_SERIAL_PORT2_DMA7_IN | |
561 | bool "Ser2 uses DMA7 for input" | |
562 | depends on CRIS_MACH_ARTPEC3 | |
563 | help | |
564 | Enables the DMA7 input channel for ser2 (ttyS2). | |
565 | If you do not enable DMA, an interrupt for each character will be | |
566 | used when receiveing data. | |
567 | Normally you want to use DMA, unless you use the DMA channel for | |
568 | something else. | |
569 | ||
570 | endchoice | |
571 | ||
572 | choice | |
573 | prompt "Ser3 DMA in channel" | |
574 | depends on ETRAX_SERIAL_PORT3 | |
575 | default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32 | |
576 | default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10 | |
577 | help | |
578 | What DMA channel to use for ser3. | |
579 | ||
580 | config ETRAX_SERIAL_PORT3_NO_DMA_IN | |
581 | bool "Ser3 uses no DMA for input" | |
582 | help | |
583 | Do not use DMA for ser3 input. | |
584 | ||
585 | config ETRAX_SERIAL_PORT3_DMA5_IN | |
586 | depends on ETRAX_ARCH_V10 | |
587 | bool "DMA 5" | |
588 | ||
589 | config ETRAX_SERIAL_PORT3_DMA9_IN | |
590 | bool "Ser3 uses DMA9 for input" | |
591 | depends on ETRAXFS | |
592 | help | |
593 | Enables the DMA9 input channel for ser3 (ttyS3). | |
594 | If you do not enable DMA, an interrupt for each character will be | |
595 | used when receiving data. | |
596 | Normally you want to use DMA, unless you use the DMA channel for | |
597 | something else. | |
598 | ||
599 | config ETRAX_SERIAL_PORT3_DMA3_IN | |
600 | bool "Ser3 uses DMA3 for input" | |
601 | depends on CRIS_MACH_ARTPEC3 | |
602 | help | |
603 | Enables the DMA3 input channel for ser3 (ttyS3). | |
604 | If you do not enable DMA, an interrupt for each character will be | |
605 | used when receiveing data. | |
606 | Normally you want to use DMA, unless you use the DMA channel for | |
607 | something else. | |
608 | ||
609 | endchoice | |
610 | ||
611 | choice | |
612 | prompt "Ser3 DMA out channel" | |
613 | depends on ETRAX_SERIAL_PORT3 | |
614 | default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32 | |
615 | default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10 | |
616 | ||
617 | config ETRAX_SERIAL_PORT3_NO_DMA_OUT | |
618 | bool "Ser3 uses no DMA for output" | |
619 | help | |
620 | Do not use DMA for ser3 output. | |
621 | ||
622 | config ETRAX_SERIAL_PORT3_DMA4_OUT | |
623 | depends on ETRAX_ARCH_V10 | |
624 | bool "DMA 4" | |
625 | ||
626 | config ETRAX_SERIAL_PORT3_DMA8_OUT | |
627 | bool "Ser3 uses DMA8 for output" | |
628 | depends on ETRAXFS | |
629 | help | |
630 | Enables the DMA8 output channel for ser3 (ttyS3). | |
631 | If you do not enable DMA, an interrupt for each character will be | |
632 | used when transmitting data. | |
633 | Normally you want to use DMA, unless you use the DMA channel for | |
634 | something else. | |
635 | ||
636 | config ETRAX_SERIAL_PORT3_DMA2_OUT | |
637 | bool "Ser3 uses DMA2 for output" | |
638 | depends on CRIS_MACH_ARTPEC3 | |
639 | help | |
640 | Enables the DMA2 output channel for ser3 (ttyS3). | |
641 | If you do not enable DMA, an interrupt for each character will be | |
642 | used when transmitting data. | |
643 | Normally you want to use DMA, unless you use the DMA channel for | |
644 | something else. | |
645 | ||
646 | endchoice | |
647 | ||
1da177e4 LT |
648 | endmenu |
649 | ||
650 | source "drivers/base/Kconfig" | |
651 | ||
652 | # standard linux drivers | |
653 | source "drivers/mtd/Kconfig" | |
654 | ||
655 | source "drivers/parport/Kconfig" | |
656 | ||
657 | source "drivers/pnp/Kconfig" | |
658 | ||
659 | source "drivers/block/Kconfig" | |
660 | ||
1da177e4 LT |
661 | source "drivers/ide/Kconfig" |
662 | ||
d5950b43 | 663 | source "drivers/net/Kconfig" |
1da177e4 | 664 | |
7b275523 JN |
665 | source "drivers/i2c/Kconfig" |
666 | ||
667 | source "drivers/rtc/Kconfig" | |
668 | ||
1da177e4 LT |
669 | # |
670 | # input before char - char/joystick depends on it. As does USB. | |
671 | # | |
672 | source "drivers/input/Kconfig" | |
673 | ||
674 | source "drivers/char/Kconfig" | |
675 | ||
1da177e4 LT |
676 | source "fs/Kconfig" |
677 | ||
1da177e4 LT |
678 | source "drivers/usb/Kconfig" |
679 | ||
680 | source "arch/cris/Kconfig.debug" | |
681 | ||
682 | source "security/Kconfig" | |
683 | ||
684 | source "crypto/Kconfig" | |
685 | ||
686 | source "lib/Kconfig" |