Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | config MMU |
| 2 | bool |
| 3 | default y |
| 4 | |
Christoph Lameter | 66701b1 | 2007-02-10 01:43:09 -0800 | [diff] [blame] | 5 | config ZONE_DMA |
| 6 | bool |
| 7 | default y |
| 8 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | config RWSEM_GENERIC_SPINLOCK |
| 10 | bool |
| 11 | default y |
| 12 | |
| 13 | config RWSEM_XCHGADD_ALGORITHM |
| 14 | bool |
| 15 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 16 | config ARCH_HAS_ILOG2_U32 |
| 17 | bool |
| 18 | default n |
| 19 | |
| 20 | config ARCH_HAS_ILOG2_U64 |
| 21 | bool |
| 22 | default n |
| 23 | |
Akinobu Mita | e9f26df | 2006-03-26 01:39:21 -0800 | [diff] [blame] | 24 | config GENERIC_HWEIGHT |
| 25 | bool |
| 26 | default y |
| 27 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | config GENERIC_CALIBRATE_DELAY |
| 29 | bool |
| 30 | default y |
| 31 | |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame^] | 32 | config NO_IOPORT_MAP |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 33 | def_bool y |
| 34 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 35 | config FORCE_MAX_ZONEORDER |
| 36 | int |
| 37 | default 6 |
| 38 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | config CRIS |
| 40 | bool |
| 41 | default y |
Sam Ravnborg | ec7748b | 2008-02-09 10:46:40 +0100 | [diff] [blame] | 42 | select HAVE_IDE |
Cong Wang | 4c9c6a1 | 2012-05-29 15:06:15 -0700 | [diff] [blame] | 43 | select GENERIC_ATOMIC64 |
Catalin Marinas | af1839e | 2012-10-08 16:28:08 -0700 | [diff] [blame] | 44 | select HAVE_UID16 |
Stephen Rothwell | 4febd95 | 2013-03-07 15:48:16 +1100 | [diff] [blame] | 45 | select VIRT_TO_BUS |
Will Deacon | c1d7e01 | 2012-07-30 14:42:46 -0700 | [diff] [blame] | 46 | select ARCH_WANT_IPC_PARSE_VERSION |
Thomas Gleixner | 15825a5 | 2011-03-17 13:39:19 +0100 | [diff] [blame] | 47 | select GENERIC_IRQ_SHOW |
Michael S. Tsirkin | 4673ca8 | 2011-11-24 14:54:28 +0200 | [diff] [blame] | 48 | select GENERIC_IOMAP |
Thomas Gleixner | a4cfc31 | 2012-04-20 13:05:53 +0000 | [diff] [blame] | 49 | select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32 |
Anna-Maria Gleixner | 5227b63 | 2012-05-18 16:45:46 +0000 | [diff] [blame] | 50 | select GENERIC_CMOS_UPDATE |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 51 | select MODULES_USE_ELF_RELA |
Al Viro | 27d892f | 2012-10-26 15:15:13 -0400 | [diff] [blame] | 52 | select CLONE_BACKWARDS2 |
Al Viro | 86df89a | 2012-12-25 16:28:27 -0500 | [diff] [blame] | 53 | select OLD_SIGSUSPEND |
Al Viro | eb2f256 | 2012-12-25 19:30:53 -0500 | [diff] [blame] | 54 | select OLD_SIGACTION |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 56 | config HZ |
| 57 | int |
| 58 | default 100 |
| 59 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | source "init/Kconfig" |
| 61 | |
Matt Helsley | dc52ddc | 2008-10-18 20:27:21 -0700 | [diff] [blame] | 62 | source "kernel/Kconfig.freezer" |
| 63 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | menu "General setup" |
| 65 | |
| 66 | source "fs/Kconfig.binfmt" |
| 67 | |
| 68 | config ETRAX_CMDLINE |
| 69 | string "Kernel command line" |
| 70 | default "root=/dev/mtdblock3" |
| 71 | help |
| 72 | Pass additional commands to the kernel. |
| 73 | |
| 74 | config 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 | |
| 80 | config 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 | |
| 88 | config 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 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 96 | config ETRAX_KMALLOCED_MODULES |
| 97 | bool "Enable module allocation with kmalloc" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 98 | help |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 99 | Enable module allocation with kmalloc instead of vmalloc. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 100 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 101 | source "kernel/Kconfig.preempt" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 102 | |
Dave Hansen | 3f22ab2 | 2005-06-23 00:07:43 -0700 | [diff] [blame] | 103 | source mm/Kconfig |
| 104 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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" |
Jesper Nilsson | 60dbd66 | 2010-07-30 17:33:07 +0200 | [diff] [blame] | 115 | select ARCH_USES_GETTIMEOFFSET |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 116 | help |
| 117 | Support version 1 of the ETRAX 100LX. |
| 118 | |
| 119 | config ETRAX100LX_V2 |
| 120 | bool "ETRAX-100LX-v2" |
Jesper Nilsson | 60dbd66 | 2010-07-30 17:33:07 +0200 | [diff] [blame] | 121 | select ARCH_USES_GETTIMEOFFSET |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 122 | help |
| 123 | Support version 2 of the ETRAX 100LX. |
| 124 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 125 | config ETRAXFS |
| 126 | bool "ETRAX-FS-V32" |
| 127 | help |
| 128 | Support CRIS V32. |
| 129 | |
| 130 | config CRIS_MACH_ARTPEC3 |
| 131 | bool "ARTPEC-3" |
| 132 | help |
| 133 | Support Axis ARTPEC-3. |
| 134 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 135 | endchoice |
| 136 | |
| 137 | config ETRAX_ARCH_V10 |
| 138 | bool |
| 139 | default y if ETRAX100LX || ETRAX100LX_V2 |
| 140 | default n if !(ETRAX100LX || ETRAX100LX_V2) |
Josh Triplett | ae797bd | 2014-04-07 15:39:04 -0700 | [diff] [blame] | 141 | select TTY |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 142 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 143 | config ETRAX_ARCH_V32 |
| 144 | bool |
| 145 | default y if (ETRAXFS || CRIS_MACH_ARTPEC3) |
| 146 | default n if !(ETRAXFS || CRIS_MACH_ARTPEC3) |
| 147 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 148 | config ETRAX_DRAM_SIZE |
| 149 | int "DRAM size (dec, in MB)" |
| 150 | default "8" |
| 151 | help |
| 152 | Size of DRAM (decimal in MB) typically 2, 8 or 16. |
| 153 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 154 | config ETRAX_VMEM_SIZE |
| 155 | int "Video memory size (dec, in MB)" |
| 156 | depends on ETRAX_ARCH_V32 && !ETRAXFS |
| 157 | default 8 if !ETRAXFS |
| 158 | help |
| 159 | Size of Video accessible memory (decimal, in MB). |
| 160 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 161 | config ETRAX_FLASH_BUSWIDTH |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 162 | int "Buswidth of NOR flash in bytes" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 163 | default "2" |
| 164 | help |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 165 | Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2. |
| 166 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 167 | config ETRAX_FLASH1_SIZE |
| 168 | int "FLASH1 size (dec, in MB. 0 = Unknown)" |
| 169 | default "0" |
| 170 | |
| 171 | choice |
| 172 | prompt "Product debug-port" |
| 173 | default ETRAX_DEBUG_PORT0 |
| 174 | |
| 175 | config ETRAX_DEBUG_PORT0 |
| 176 | bool "Serial-0" |
| 177 | help |
| 178 | Choose a serial port for the ETRAX debug console. Default to |
| 179 | port 0. |
| 180 | |
| 181 | config ETRAX_DEBUG_PORT1 |
| 182 | bool "Serial-1" |
| 183 | help |
| 184 | Use serial port 1 for the console. |
| 185 | |
| 186 | config ETRAX_DEBUG_PORT2 |
| 187 | bool "Serial-2" |
| 188 | help |
| 189 | Use serial port 2 for the console. |
| 190 | |
| 191 | config ETRAX_DEBUG_PORT3 |
| 192 | bool "Serial-3" |
| 193 | help |
| 194 | Use serial port 3 for the console. |
| 195 | |
| 196 | config ETRAX_DEBUG_PORT_NULL |
| 197 | bool "disabled" |
| 198 | help |
| 199 | Disable serial-port debugging. |
| 200 | |
| 201 | endchoice |
| 202 | |
| 203 | choice |
| 204 | prompt "Kernel GDB port" |
| 205 | depends on ETRAX_KGDB |
| 206 | default ETRAX_KGDB_PORT0 |
| 207 | help |
| 208 | Choose a serial port for kernel debugging. NOTE: This port should |
| 209 | not be enabled under Drivers for built-in interfaces (as it has its |
| 210 | own initialization code) and should not be the same as the debug port. |
| 211 | |
| 212 | config ETRAX_KGDB_PORT0 |
| 213 | bool "Serial-0" |
| 214 | help |
| 215 | Use serial port 0 for kernel debugging. |
| 216 | |
| 217 | config ETRAX_KGDB_PORT1 |
| 218 | bool "Serial-1" |
| 219 | help |
| 220 | Use serial port 1 for kernel debugging. |
| 221 | |
| 222 | config ETRAX_KGDB_PORT2 |
| 223 | bool "Serial-2" |
| 224 | help |
| 225 | Use serial port 2 for kernel debugging. |
| 226 | |
| 227 | config ETRAX_KGDB_PORT3 |
| 228 | bool "Serial-3" |
| 229 | help |
| 230 | Use serial port 3 for kernel debugging. |
| 231 | |
| 232 | endchoice |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 233 | |
| 234 | source arch/cris/arch-v10/Kconfig |
Jesper Nilsson | 2d33d56 | 2008-02-04 22:30:31 -0800 | [diff] [blame] | 235 | source arch/cris/arch-v32/Kconfig |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 236 | |
| 237 | endmenu |
| 238 | |
Sam Ravnborg | d5950b4 | 2005-07-11 21:03:49 -0700 | [diff] [blame] | 239 | source "net/Kconfig" |
| 240 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 241 | # bring in ETRAX built-in drivers |
| 242 | menu "Drivers for built-in interfaces" |
Jesper Nilsson | 2d33d56 | 2008-02-04 22:30:31 -0800 | [diff] [blame] | 243 | source arch/cris/arch-v10/drivers/Kconfig |
| 244 | source arch/cris/arch-v32/drivers/Kconfig |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 245 | |
Jesper Nilsson | 79e04fd | 2008-02-06 13:21:28 +0100 | [diff] [blame] | 246 | config ETRAX_AXISFLASHMAP |
| 247 | bool "Axis flash-map support" |
| 248 | select MTD |
| 249 | select MTD_CFI |
| 250 | select MTD_CFI_AMDSTD |
| 251 | select MTD_JEDECPROBE if ETRAX_ARCH_V32 |
Jesper Nilsson | 79e04fd | 2008-02-06 13:21:28 +0100 | [diff] [blame] | 252 | select MTD_BLOCK |
Jesper Nilsson | 79e04fd | 2008-02-06 13:21:28 +0100 | [diff] [blame] | 253 | select MTD_COMPLEX_MAPPINGS |
| 254 | help |
| 255 | This option enables MTD mapping of flash devices. Needed to use |
| 256 | flash memories. If unsure, say Y. |
| 257 | |
Jesper Nilsson | c974a9e | 2008-01-21 11:44:11 +0100 | [diff] [blame] | 258 | config ETRAX_SYNCHRONOUS_SERIAL |
| 259 | bool "Synchronous serial-port support" |
| 260 | help |
| 261 | Select this to enable the synchronous serial port driver. |
| 262 | |
| 263 | config ETRAX_SYNCHRONOUS_SERIAL_PORT0 |
| 264 | bool "Synchronous serial port 0 enabled" |
| 265 | depends on ETRAX_SYNCHRONOUS_SERIAL |
| 266 | help |
| 267 | Enabled synchronous serial port 0. |
| 268 | |
| 269 | config ETRAX_SYNCHRONOUS_SERIAL0_DMA |
| 270 | bool "Enable DMA on synchronous serial port 0." |
| 271 | depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0 |
| 272 | help |
| 273 | A synchronous serial port can run in manual or DMA mode. |
| 274 | Selecting this option will make it run in DMA mode. |
| 275 | |
| 276 | config ETRAX_SYNCHRONOUS_SERIAL_PORT1 |
| 277 | bool "Synchronous serial port 1 enabled" |
| 278 | depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10) |
| 279 | help |
| 280 | Enabled synchronous serial port 1. |
| 281 | |
| 282 | config ETRAX_SYNCHRONOUS_SERIAL1_DMA |
| 283 | bool "Enable DMA on synchronous serial port 1." |
| 284 | depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1 |
| 285 | help |
| 286 | A synchronous serial port can run in manual or DMA mode. |
| 287 | Selecting this option will make it run in DMA mode. |
| 288 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 289 | choice |
| 290 | prompt "Network LED behavior" |
| 291 | depends on ETRAX_ETHERNET |
| 292 | default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY |
| 293 | |
| 294 | config ETRAX_NETWORK_LED_ON_WHEN_LINK |
| 295 | bool "LED_on_when_link" |
| 296 | help |
| 297 | Selecting LED_on_when_link will light the LED when there is a |
| 298 | connection and will flash off when there is activity. |
| 299 | |
| 300 | Selecting LED_on_when_activity will light the LED only when |
| 301 | there is activity. |
| 302 | |
| 303 | This setting will also affect the behaviour of other activity LEDs |
| 304 | e.g. Bluetooth. |
| 305 | |
| 306 | config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY |
| 307 | bool "LED_on_when_activity" |
| 308 | help |
| 309 | Selecting LED_on_when_link will light the LED when there is a |
| 310 | connection and will flash off when there is activity. |
| 311 | |
| 312 | Selecting LED_on_when_activity will light the LED only when |
| 313 | there is activity. |
| 314 | |
| 315 | This setting will also affect the behaviour of other activity LEDs |
| 316 | e.g. Bluetooth. |
| 317 | |
| 318 | endchoice |
| 319 | |
| 320 | choice |
| 321 | prompt "Ser0 DMA out channel" |
| 322 | depends on ETRAX_SERIAL_PORT0 |
| 323 | default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32 |
| 324 | default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10 |
| 325 | |
| 326 | config ETRAX_SERIAL_PORT0_NO_DMA_OUT |
| 327 | bool "Ser0 uses no DMA for output" |
| 328 | help |
| 329 | Do not use DMA for ser0 output. |
| 330 | |
| 331 | config ETRAX_SERIAL_PORT0_DMA6_OUT |
| 332 | bool "Ser0 uses DMA6 for output" |
| 333 | depends on ETRAXFS |
| 334 | help |
| 335 | Enables the DMA6 output channel for ser0 (ttyS0). |
| 336 | If you do not enable DMA, an interrupt for each character will be |
| 337 | used when transmitting data. |
| 338 | Normally you want to use DMA, unless you use the DMA channel for |
| 339 | something else. |
| 340 | |
| 341 | config ETRAX_SERIAL_PORT0_DMA0_OUT |
| 342 | bool "Ser0 uses DMA0 for output" |
| 343 | depends on CRIS_MACH_ARTPEC3 |
| 344 | help |
| 345 | Enables the DMA0 output channel for ser0 (ttyS0). |
| 346 | If you do not enable DMA, an interrupt for each character will be |
| 347 | used when transmitting data. |
| 348 | Normally you want to use DMA, unless you use the DMA channel for |
| 349 | something else. |
| 350 | |
| 351 | endchoice |
| 352 | |
| 353 | choice |
| 354 | prompt "Ser0 DMA in channel " |
| 355 | depends on ETRAX_SERIAL_PORT0 |
| 356 | default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32 |
| 357 | default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10 |
| 358 | help |
| 359 | What DMA channel to use for ser0. |
| 360 | |
| 361 | config ETRAX_SERIAL_PORT0_NO_DMA_IN |
| 362 | bool "Ser0 uses no DMA for input" |
| 363 | help |
| 364 | Do not use DMA for ser0 input. |
| 365 | |
| 366 | config ETRAX_SERIAL_PORT0_DMA7_IN |
| 367 | bool "Ser0 uses DMA7 for input" |
| 368 | depends on ETRAXFS |
| 369 | help |
| 370 | Enables the DMA7 input channel for ser0 (ttyS0). |
| 371 | If you do not enable DMA, an interrupt for each character will be |
| 372 | used when receiving data. |
| 373 | Normally you want to use DMA, unless you use the DMA channel for |
| 374 | something else. |
| 375 | |
| 376 | config ETRAX_SERIAL_PORT0_DMA1_IN |
| 377 | bool "Ser0 uses DMA1 for input" |
| 378 | depends on CRIS_MACH_ARTPEC3 |
| 379 | help |
| 380 | Enables the DMA1 input channel for ser0 (ttyS0). |
| 381 | If you do not enable DMA, an interrupt for each character will be |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 382 | used when receiving data. |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 383 | Normally you want to use DMA, unless you use the DMA channel for |
| 384 | something else. |
| 385 | |
| 386 | endchoice |
| 387 | |
| 388 | choice |
| 389 | prompt "Ser1 DMA in channel " |
| 390 | depends on ETRAX_SERIAL_PORT1 |
| 391 | default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32 |
| 392 | default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10 |
| 393 | help |
| 394 | What DMA channel to use for ser1. |
| 395 | |
| 396 | config ETRAX_SERIAL_PORT1_NO_DMA_IN |
| 397 | bool "Ser1 uses no DMA for input" |
| 398 | help |
| 399 | Do not use DMA for ser1 input. |
| 400 | |
| 401 | config ETRAX_SERIAL_PORT1_DMA5_IN |
| 402 | bool "Ser1 uses DMA5 for input" |
| 403 | depends on ETRAX_ARCH_V32 |
| 404 | help |
| 405 | Enables the DMA5 input channel for ser1 (ttyS1). |
| 406 | If you do not enable DMA, an interrupt for each character will be |
| 407 | used when receiving data. |
| 408 | Normally you want this on, unless you use the DMA channel for |
| 409 | something else. |
| 410 | |
| 411 | config ETRAX_SERIAL_PORT1_DMA9_IN |
| 412 | depends on ETRAX_ARCH_V10 |
| 413 | bool "Ser1 uses DMA9 for input" |
| 414 | |
| 415 | endchoice |
| 416 | |
| 417 | |
| 418 | choice |
| 419 | prompt "Ser1 DMA out channel" |
| 420 | depends on ETRAX_SERIAL_PORT1 |
| 421 | default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32 |
| 422 | default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10 |
| 423 | help |
| 424 | What DMA channel to use for ser1. |
| 425 | |
| 426 | config ETRAX_SERIAL_PORT1_NO_DMA_OUT |
| 427 | bool "Ser1 uses no DMA for output" |
| 428 | help |
| 429 | Do not use DMA for ser1 output. |
| 430 | |
| 431 | config ETRAX_SERIAL_PORT1_DMA8_OUT |
| 432 | depends on ETRAX_ARCH_V10 |
| 433 | bool "Ser1 uses DMA8 for output" |
| 434 | |
| 435 | config ETRAX_SERIAL_PORT1_DMA4_OUT |
| 436 | depends on ETRAX_ARCH_V32 |
| 437 | bool "Ser1 uses DMA4 for output" |
| 438 | help |
| 439 | Enables the DMA4 output channel for ser1 (ttyS1). |
| 440 | If you do not enable DMA, an interrupt for each character will be |
| 441 | used when transmitting data. |
| 442 | Normally you want this on, unless you use the DMA channel for |
| 443 | something else. |
| 444 | |
| 445 | endchoice |
| 446 | |
| 447 | choice |
| 448 | prompt "Ser2 DMA out channel" |
| 449 | depends on ETRAX_SERIAL_PORT2 |
| 450 | default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32 |
| 451 | default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10 |
| 452 | |
| 453 | config ETRAX_SERIAL_PORT2_NO_DMA_OUT |
| 454 | bool "Ser2 uses no DMA for output" |
| 455 | help |
| 456 | Do not use DMA for ser2 output. |
| 457 | |
| 458 | config ETRAX_SERIAL_PORT2_DMA2_OUT |
| 459 | bool "Ser2 uses DMA2 for output" |
| 460 | depends on ETRAXFS || ETRAX_ARCH_V10 |
| 461 | help |
| 462 | Enables the DMA2 output channel for ser2 (ttyS2). |
| 463 | If you do not enable DMA, an interrupt for each character will be |
| 464 | used when transmitting data. |
| 465 | Normally you want to use DMA, unless you use the DMA channel for |
| 466 | something else. |
| 467 | |
| 468 | config ETRAX_SERIAL_PORT2_DMA6_OUT |
| 469 | bool "Ser2 uses DMA6 for output" |
| 470 | depends on CRIS_MACH_ARTPEC3 |
| 471 | help |
| 472 | Enables the DMA6 output channel for ser2 (ttyS2). |
| 473 | If you do not enable DMA, an interrupt for each character will be |
| 474 | used when transmitting data. |
| 475 | Normally you want to use DMA, unless you use the DMA channel for |
| 476 | something else. |
| 477 | |
| 478 | endchoice |
| 479 | |
| 480 | choice |
| 481 | prompt "Ser2 DMA in channel" |
| 482 | depends on ETRAX_SERIAL_PORT2 |
| 483 | default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32 |
| 484 | default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10 |
| 485 | help |
| 486 | What DMA channel to use for ser2. |
| 487 | |
| 488 | config ETRAX_SERIAL_PORT2_NO_DMA_IN |
| 489 | bool "Ser2 uses no DMA for input" |
| 490 | help |
| 491 | Do not use DMA for ser2 input. |
| 492 | |
| 493 | config ETRAX_SERIAL_PORT2_DMA3_IN |
| 494 | bool "Ser2 uses DMA3 for input" |
| 495 | depends on ETRAXFS || ETRAX_ARCH_V10 |
| 496 | help |
| 497 | Enables the DMA3 input channel for ser2 (ttyS2). |
| 498 | If you do not enable DMA, an interrupt for each character will be |
| 499 | used when receiving data. |
| 500 | Normally you want to use DMA, unless you use the DMA channel for |
| 501 | something else. |
| 502 | |
| 503 | config ETRAX_SERIAL_PORT2_DMA7_IN |
| 504 | bool "Ser2 uses DMA7 for input" |
| 505 | depends on CRIS_MACH_ARTPEC3 |
| 506 | help |
| 507 | Enables the DMA7 input channel for ser2 (ttyS2). |
| 508 | If you do not enable DMA, an interrupt for each character will be |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 509 | used when receiving data. |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 510 | Normally you want to use DMA, unless you use the DMA channel for |
| 511 | something else. |
| 512 | |
| 513 | endchoice |
| 514 | |
| 515 | choice |
| 516 | prompt "Ser3 DMA in channel" |
| 517 | depends on ETRAX_SERIAL_PORT3 |
| 518 | default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32 |
| 519 | default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10 |
| 520 | help |
| 521 | What DMA channel to use for ser3. |
| 522 | |
| 523 | config ETRAX_SERIAL_PORT3_NO_DMA_IN |
| 524 | bool "Ser3 uses no DMA for input" |
| 525 | help |
| 526 | Do not use DMA for ser3 input. |
| 527 | |
| 528 | config ETRAX_SERIAL_PORT3_DMA5_IN |
| 529 | depends on ETRAX_ARCH_V10 |
| 530 | bool "DMA 5" |
| 531 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 532 | endchoice |
| 533 | |
| 534 | choice |
| 535 | prompt "Ser3 DMA out channel" |
| 536 | depends on ETRAX_SERIAL_PORT3 |
| 537 | default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32 |
| 538 | default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10 |
| 539 | |
| 540 | config ETRAX_SERIAL_PORT3_NO_DMA_OUT |
| 541 | bool "Ser3 uses no DMA for output" |
| 542 | help |
| 543 | Do not use DMA for ser3 output. |
| 544 | |
| 545 | config ETRAX_SERIAL_PORT3_DMA4_OUT |
| 546 | depends on ETRAX_ARCH_V10 |
| 547 | bool "DMA 4" |
| 548 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 549 | endchoice |
| 550 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 551 | endmenu |
| 552 | |
Geert Uytterhoeven | acf8363 | 2013-05-14 13:54:21 +0200 | [diff] [blame] | 553 | source "drivers/Kconfig" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 554 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 555 | source "fs/Kconfig" |
| 556 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 557 | source "arch/cris/Kconfig.debug" |
| 558 | |
| 559 | source "security/Kconfig" |
| 560 | |
| 561 | source "crypto/Kconfig" |
| 562 | |
| 563 | source "lib/Kconfig" |