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