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