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