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