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