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