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