Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see the Configure script. |
| 4 | # |
| 5 | |
| 6 | mainmenu "Linux/CRIS Kernel Configuration" |
| 7 | |
| 8 | config MMU |
| 9 | bool |
| 10 | default y |
| 11 | |
Christoph Lameter | 66701b1 | 2007-02-10 01:43:09 -0800 | [diff] [blame] | 12 | config ZONE_DMA |
| 13 | bool |
| 14 | default y |
| 15 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | config RWSEM_GENERIC_SPINLOCK |
| 17 | bool |
| 18 | default y |
| 19 | |
| 20 | config RWSEM_XCHGADD_ALGORITHM |
| 21 | bool |
| 22 | |
John Stultz | 8eff8a5 | 2010-03-03 19:57:28 -0800 | [diff] [blame] | 23 | config GENERIC_CMOS_UPDATE |
| 24 | def_bool y |
| 25 | |
john stultz | ba875ba | 2010-03-05 13:42:31 -0800 | [diff] [blame] | 26 | config ARCH_USES_GETTIMEOFFSET |
Jesper Nilsson | 60dbd66 | 2010-07-30 17:33:07 +0200 | [diff] [blame] | 27 | def_bool n |
john stultz | ba875ba | 2010-03-05 13:42:31 -0800 | [diff] [blame] | 28 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 29 | config GENERIC_IOMAP |
| 30 | bool |
| 31 | default y |
| 32 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 33 | config ARCH_HAS_ILOG2_U32 |
| 34 | bool |
| 35 | default n |
| 36 | |
| 37 | config ARCH_HAS_ILOG2_U64 |
| 38 | bool |
| 39 | default n |
| 40 | |
Akinobu Mita | e9f26df | 2006-03-26 01:39:21 -0800 | [diff] [blame] | 41 | config GENERIC_FIND_NEXT_BIT |
| 42 | bool |
| 43 | default y |
| 44 | |
| 45 | config GENERIC_HWEIGHT |
| 46 | bool |
| 47 | default y |
| 48 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | config GENERIC_CALIBRATE_DELAY |
| 50 | bool |
| 51 | default y |
| 52 | |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 53 | config NO_IOPORT |
| 54 | def_bool y |
| 55 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 56 | config FORCE_MAX_ZONEORDER |
| 57 | int |
| 58 | default 6 |
| 59 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | config CRIS |
| 61 | bool |
| 62 | default y |
Sam Ravnborg | ec7748b | 2008-02-09 10:46:40 +0100 | [diff] [blame] | 63 | select HAVE_IDE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 65 | config HZ |
| 66 | int |
| 67 | default 100 |
| 68 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | source "init/Kconfig" |
| 70 | |
Matt Helsley | dc52ddc | 2008-10-18 20:27:21 -0700 | [diff] [blame] | 71 | source "kernel/Kconfig.freezer" |
| 72 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 73 | menu "General setup" |
| 74 | |
| 75 | source "fs/Kconfig.binfmt" |
| 76 | |
Jesper Nilsson | eb2746d | 2007-11-14 17:00:52 -0800 | [diff] [blame] | 77 | config GENERIC_HARDIRQS |
| 78 | bool |
| 79 | default y |
| 80 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 81 | config ETRAX_CMDLINE |
| 82 | string "Kernel command line" |
| 83 | default "root=/dev/mtdblock3" |
| 84 | help |
| 85 | Pass additional commands to the kernel. |
| 86 | |
| 87 | config ETRAX_WATCHDOG |
| 88 | bool "Enable ETRAX watchdog" |
| 89 | help |
| 90 | Enable the built-in watchdog timer support on ETRAX based embedded |
| 91 | network computers. |
| 92 | |
| 93 | config ETRAX_WATCHDOG_NICE_DOGGY |
| 94 | bool "Disable watchdog during Oops printouts" |
| 95 | depends on ETRAX_WATCHDOG |
| 96 | help |
| 97 | By enabling this you make sure that the watchdog does not bite while |
| 98 | printing oopses. Recommended for development systems but not for |
| 99 | production releases. |
| 100 | |
| 101 | config ETRAX_FAST_TIMER |
| 102 | bool "Enable ETRAX fast timer API" |
| 103 | help |
| 104 | This options enables the API to a fast timer implementation using |
| 105 | timer1 to get sub jiffie resolution timers (primarily one-shot |
| 106 | timers). |
| 107 | This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled. |
| 108 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 109 | config ETRAX_KMALLOCED_MODULES |
| 110 | bool "Enable module allocation with kmalloc" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 111 | help |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 112 | Enable module allocation with kmalloc instead of vmalloc. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 113 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 114 | config OOM_REBOOT |
| 115 | bool "Enable reboot at out of memory" |
| 116 | |
| 117 | source "kernel/Kconfig.preempt" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 118 | |
Dave Hansen | 3f22ab2 | 2005-06-23 00:07:43 -0700 | [diff] [blame] | 119 | source mm/Kconfig |
| 120 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 121 | endmenu |
| 122 | |
| 123 | menu "Hardware setup" |
| 124 | |
| 125 | choice |
| 126 | prompt "Processor type" |
| 127 | default ETRAX100LX |
| 128 | |
| 129 | config ETRAX100LX |
| 130 | bool "ETRAX-100LX-v1" |
Jesper Nilsson | 60dbd66 | 2010-07-30 17:33:07 +0200 | [diff] [blame] | 131 | select ARCH_USES_GETTIMEOFFSET |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 132 | help |
| 133 | Support version 1 of the ETRAX 100LX. |
| 134 | |
| 135 | config ETRAX100LX_V2 |
| 136 | bool "ETRAX-100LX-v2" |
Jesper Nilsson | 60dbd66 | 2010-07-30 17:33:07 +0200 | [diff] [blame] | 137 | select ARCH_USES_GETTIMEOFFSET |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 138 | help |
| 139 | Support version 2 of the ETRAX 100LX. |
| 140 | |
| 141 | config SVINTO_SIM |
| 142 | bool "ETRAX-100LX-for-xsim-simulator" |
Jesper Nilsson | 60dbd66 | 2010-07-30 17:33:07 +0200 | [diff] [blame] | 143 | select ARCH_USES_GETTIMEOFFSET |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 144 | help |
| 145 | Support the xsim ETRAX Simulator. |
| 146 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 147 | config ETRAXFS |
| 148 | bool "ETRAX-FS-V32" |
| 149 | help |
| 150 | Support CRIS V32. |
| 151 | |
| 152 | config CRIS_MACH_ARTPEC3 |
| 153 | bool "ARTPEC-3" |
| 154 | help |
| 155 | Support Axis ARTPEC-3. |
| 156 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 157 | endchoice |
| 158 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 159 | config ETRAX_VCS_SIM |
| 160 | bool "VCS Simulator" |
| 161 | help |
| 162 | Setup hardware to be run in the VCS simulator. |
| 163 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 164 | config ETRAX_ARCH_V10 |
| 165 | bool |
| 166 | default y if ETRAX100LX || ETRAX100LX_V2 |
| 167 | default n if !(ETRAX100LX || ETRAX100LX_V2) |
| 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 | |
| 193 | config ETRAX_NANDFLASH_BUSWIDTH |
| 194 | int "Buswidth of NAND flash in bytes" |
| 195 | default "1" |
| 196 | help |
| 197 | Width in bytes of the NAND flash (1 or 2). |
| 198 | |
| 199 | config ETRAX_FLASH1_SIZE |
| 200 | int "FLASH1 size (dec, in MB. 0 = Unknown)" |
| 201 | default "0" |
| 202 | |
| 203 | choice |
| 204 | prompt "Product debug-port" |
| 205 | default ETRAX_DEBUG_PORT0 |
| 206 | |
| 207 | config ETRAX_DEBUG_PORT0 |
| 208 | bool "Serial-0" |
| 209 | help |
| 210 | Choose a serial port for the ETRAX debug console. Default to |
| 211 | port 0. |
| 212 | |
| 213 | config ETRAX_DEBUG_PORT1 |
| 214 | bool "Serial-1" |
| 215 | help |
| 216 | Use serial port 1 for the console. |
| 217 | |
| 218 | config ETRAX_DEBUG_PORT2 |
| 219 | bool "Serial-2" |
| 220 | help |
| 221 | Use serial port 2 for the console. |
| 222 | |
| 223 | config ETRAX_DEBUG_PORT3 |
| 224 | bool "Serial-3" |
| 225 | help |
| 226 | Use serial port 3 for the console. |
| 227 | |
| 228 | config ETRAX_DEBUG_PORT_NULL |
| 229 | bool "disabled" |
| 230 | help |
| 231 | Disable serial-port debugging. |
| 232 | |
| 233 | endchoice |
| 234 | |
| 235 | choice |
| 236 | prompt "Kernel GDB port" |
| 237 | depends on ETRAX_KGDB |
| 238 | default ETRAX_KGDB_PORT0 |
| 239 | help |
| 240 | Choose a serial port for kernel debugging. NOTE: This port should |
| 241 | not be enabled under Drivers for built-in interfaces (as it has its |
| 242 | own initialization code) and should not be the same as the debug port. |
| 243 | |
| 244 | config ETRAX_KGDB_PORT0 |
| 245 | bool "Serial-0" |
| 246 | help |
| 247 | Use serial port 0 for kernel debugging. |
| 248 | |
| 249 | config ETRAX_KGDB_PORT1 |
| 250 | bool "Serial-1" |
| 251 | help |
| 252 | Use serial port 1 for kernel debugging. |
| 253 | |
| 254 | config ETRAX_KGDB_PORT2 |
| 255 | bool "Serial-2" |
| 256 | help |
| 257 | Use serial port 2 for kernel debugging. |
| 258 | |
| 259 | config ETRAX_KGDB_PORT3 |
| 260 | bool "Serial-3" |
| 261 | help |
| 262 | Use serial port 3 for kernel debugging. |
| 263 | |
| 264 | endchoice |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 265 | |
| 266 | source arch/cris/arch-v10/Kconfig |
Jesper Nilsson | 2d33d56 | 2008-02-04 22:30:31 -0800 | [diff] [blame] | 267 | source arch/cris/arch-v32/Kconfig |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 268 | |
| 269 | endmenu |
| 270 | |
Sam Ravnborg | d5950b4 | 2005-07-11 21:03:49 -0700 | [diff] [blame] | 271 | source "net/Kconfig" |
| 272 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 273 | # bring in ETRAX built-in drivers |
| 274 | menu "Drivers for built-in interfaces" |
Jesper Nilsson | 2d33d56 | 2008-02-04 22:30:31 -0800 | [diff] [blame] | 275 | source arch/cris/arch-v10/drivers/Kconfig |
| 276 | source arch/cris/arch-v32/drivers/Kconfig |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 277 | |
Jesper Nilsson | 79e04fd | 2008-02-06 13:21:28 +0100 | [diff] [blame] | 278 | config ETRAX_AXISFLASHMAP |
| 279 | bool "Axis flash-map support" |
| 280 | select MTD |
| 281 | select MTD_CFI |
| 282 | select MTD_CFI_AMDSTD |
| 283 | select MTD_JEDECPROBE if ETRAX_ARCH_V32 |
| 284 | select MTD_CHAR |
| 285 | select MTD_BLOCK |
| 286 | select MTD_PARTITIONS |
| 287 | select MTD_CONCAT |
| 288 | select MTD_COMPLEX_MAPPINGS |
| 289 | help |
| 290 | This option enables MTD mapping of flash devices. Needed to use |
| 291 | flash memories. If unsure, say Y. |
| 292 | |
Jesper Nilsson | c3d6ddd | 2008-01-21 11:05:40 +0100 | [diff] [blame] | 293 | config ETRAX_RTC |
| 294 | bool "Real Time Clock support" |
| 295 | depends on ETRAX_I2C |
| 296 | help |
| 297 | Enables drivers for the Real-Time Clock battery-backed chips on |
| 298 | some products. The kernel reads the time when booting, and |
| 299 | the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a |
| 300 | rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc |
| 301 | device. You can check the time with cat /proc/rtc, but |
| 302 | normal time reading should be done using libc function time and |
| 303 | friends. |
| 304 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 305 | choice |
| 306 | prompt "RTC chip" |
| 307 | depends on ETRAX_RTC |
| 308 | default ETRAX_PCF8563 if ETRAX_ARCH_V32 |
| 309 | default ETRAX_DS1302 if ETRAX_ARCH_V10 |
| 310 | |
| 311 | config ETRAX_DS1302 |
| 312 | depends on ETRAX_ARCH_V10 |
| 313 | bool "DS1302" |
| 314 | help |
| 315 | Enables the driver for the DS1302 Real-Time Clock battery-backed |
| 316 | chip on some products. |
| 317 | |
| 318 | config ETRAX_PCF8563 |
| 319 | bool "PCF8563" |
| 320 | help |
| 321 | Enables the driver for the PCF8563 Real-Time Clock battery-backed |
| 322 | chip on some products. |
| 323 | |
| 324 | endchoice |
| 325 | |
Jesper Nilsson | c974a9e | 2008-01-21 11:44:11 +0100 | [diff] [blame] | 326 | config ETRAX_SYNCHRONOUS_SERIAL |
| 327 | bool "Synchronous serial-port support" |
| 328 | help |
| 329 | Select this to enable the synchronous serial port driver. |
| 330 | |
| 331 | config ETRAX_SYNCHRONOUS_SERIAL_PORT0 |
| 332 | bool "Synchronous serial port 0 enabled" |
| 333 | depends on ETRAX_SYNCHRONOUS_SERIAL |
| 334 | help |
| 335 | Enabled synchronous serial port 0. |
| 336 | |
| 337 | config ETRAX_SYNCHRONOUS_SERIAL0_DMA |
| 338 | bool "Enable DMA on synchronous serial port 0." |
| 339 | depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0 |
| 340 | help |
| 341 | A synchronous serial port can run in manual or DMA mode. |
| 342 | Selecting this option will make it run in DMA mode. |
| 343 | |
| 344 | config ETRAX_SYNCHRONOUS_SERIAL_PORT1 |
| 345 | bool "Synchronous serial port 1 enabled" |
| 346 | depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10) |
| 347 | help |
| 348 | Enabled synchronous serial port 1. |
| 349 | |
| 350 | config ETRAX_SYNCHRONOUS_SERIAL1_DMA |
| 351 | bool "Enable DMA on synchronous serial port 1." |
| 352 | depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1 |
| 353 | help |
| 354 | A synchronous serial port can run in manual or DMA mode. |
| 355 | Selecting this option will make it run in DMA mode. |
| 356 | |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 357 | choice |
| 358 | prompt "Network LED behavior" |
| 359 | depends on ETRAX_ETHERNET |
| 360 | default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY |
| 361 | |
| 362 | config ETRAX_NETWORK_LED_ON_WHEN_LINK |
| 363 | bool "LED_on_when_link" |
| 364 | help |
| 365 | Selecting LED_on_when_link will light the LED when there is a |
| 366 | connection and will flash off when there is activity. |
| 367 | |
| 368 | Selecting LED_on_when_activity will light the LED only when |
| 369 | there is activity. |
| 370 | |
| 371 | This setting will also affect the behaviour of other activity LEDs |
| 372 | e.g. Bluetooth. |
| 373 | |
| 374 | config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY |
| 375 | bool "LED_on_when_activity" |
| 376 | help |
| 377 | Selecting LED_on_when_link will light the LED when there is a |
| 378 | connection and will flash off when there is activity. |
| 379 | |
| 380 | Selecting LED_on_when_activity will light the LED only when |
| 381 | there is activity. |
| 382 | |
| 383 | This setting will also affect the behaviour of other activity LEDs |
| 384 | e.g. Bluetooth. |
| 385 | |
| 386 | endchoice |
| 387 | |
| 388 | choice |
| 389 | prompt "Ser0 DMA out channel" |
| 390 | depends on ETRAX_SERIAL_PORT0 |
| 391 | default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32 |
| 392 | default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10 |
| 393 | |
| 394 | config ETRAX_SERIAL_PORT0_NO_DMA_OUT |
| 395 | bool "Ser0 uses no DMA for output" |
| 396 | help |
| 397 | Do not use DMA for ser0 output. |
| 398 | |
| 399 | config ETRAX_SERIAL_PORT0_DMA6_OUT |
| 400 | bool "Ser0 uses DMA6 for output" |
| 401 | depends on ETRAXFS |
| 402 | help |
| 403 | Enables the DMA6 output channel for ser0 (ttyS0). |
| 404 | If you do not enable DMA, an interrupt for each character will be |
| 405 | used when transmitting data. |
| 406 | Normally you want to use DMA, unless you use the DMA channel for |
| 407 | something else. |
| 408 | |
| 409 | config ETRAX_SERIAL_PORT0_DMA0_OUT |
| 410 | bool "Ser0 uses DMA0 for output" |
| 411 | depends on CRIS_MACH_ARTPEC3 |
| 412 | help |
| 413 | Enables the DMA0 output channel for ser0 (ttyS0). |
| 414 | If you do not enable DMA, an interrupt for each character will be |
| 415 | used when transmitting data. |
| 416 | Normally you want to use DMA, unless you use the DMA channel for |
| 417 | something else. |
| 418 | |
| 419 | endchoice |
| 420 | |
| 421 | choice |
| 422 | prompt "Ser0 DMA in channel " |
| 423 | depends on ETRAX_SERIAL_PORT0 |
| 424 | default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32 |
| 425 | default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10 |
| 426 | help |
| 427 | What DMA channel to use for ser0. |
| 428 | |
| 429 | config ETRAX_SERIAL_PORT0_NO_DMA_IN |
| 430 | bool "Ser0 uses no DMA for input" |
| 431 | help |
| 432 | Do not use DMA for ser0 input. |
| 433 | |
| 434 | config ETRAX_SERIAL_PORT0_DMA7_IN |
| 435 | bool "Ser0 uses DMA7 for input" |
| 436 | depends on ETRAXFS |
| 437 | help |
| 438 | Enables the DMA7 input channel for ser0 (ttyS0). |
| 439 | If you do not enable DMA, an interrupt for each character will be |
| 440 | used when receiving data. |
| 441 | Normally you want to use DMA, unless you use the DMA channel for |
| 442 | something else. |
| 443 | |
| 444 | config ETRAX_SERIAL_PORT0_DMA1_IN |
| 445 | bool "Ser0 uses DMA1 for input" |
| 446 | depends on CRIS_MACH_ARTPEC3 |
| 447 | help |
| 448 | Enables the DMA1 input channel for ser0 (ttyS0). |
| 449 | 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] | 450 | used when receiving data. |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 451 | Normally you want to use DMA, unless you use the DMA channel for |
| 452 | something else. |
| 453 | |
| 454 | endchoice |
| 455 | |
| 456 | choice |
| 457 | prompt "Ser1 DMA in channel " |
| 458 | depends on ETRAX_SERIAL_PORT1 |
| 459 | default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32 |
| 460 | default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10 |
| 461 | help |
| 462 | What DMA channel to use for ser1. |
| 463 | |
| 464 | config ETRAX_SERIAL_PORT1_NO_DMA_IN |
| 465 | bool "Ser1 uses no DMA for input" |
| 466 | help |
| 467 | Do not use DMA for ser1 input. |
| 468 | |
| 469 | config ETRAX_SERIAL_PORT1_DMA5_IN |
| 470 | bool "Ser1 uses DMA5 for input" |
| 471 | depends on ETRAX_ARCH_V32 |
| 472 | help |
| 473 | Enables the DMA5 input channel for ser1 (ttyS1). |
| 474 | If you do not enable DMA, an interrupt for each character will be |
| 475 | used when receiving data. |
| 476 | Normally you want this on, unless you use the DMA channel for |
| 477 | something else. |
| 478 | |
| 479 | config ETRAX_SERIAL_PORT1_DMA9_IN |
| 480 | depends on ETRAX_ARCH_V10 |
| 481 | bool "Ser1 uses DMA9 for input" |
| 482 | |
| 483 | endchoice |
| 484 | |
| 485 | |
| 486 | choice |
| 487 | prompt "Ser1 DMA out channel" |
| 488 | depends on ETRAX_SERIAL_PORT1 |
| 489 | default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32 |
| 490 | default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10 |
| 491 | help |
| 492 | What DMA channel to use for ser1. |
| 493 | |
| 494 | config ETRAX_SERIAL_PORT1_NO_DMA_OUT |
| 495 | bool "Ser1 uses no DMA for output" |
| 496 | help |
| 497 | Do not use DMA for ser1 output. |
| 498 | |
| 499 | config ETRAX_SERIAL_PORT1_DMA8_OUT |
| 500 | depends on ETRAX_ARCH_V10 |
| 501 | bool "Ser1 uses DMA8 for output" |
| 502 | |
| 503 | config ETRAX_SERIAL_PORT1_DMA4_OUT |
| 504 | depends on ETRAX_ARCH_V32 |
| 505 | bool "Ser1 uses DMA4 for output" |
| 506 | help |
| 507 | Enables the DMA4 output channel for ser1 (ttyS1). |
| 508 | If you do not enable DMA, an interrupt for each character will be |
| 509 | used when transmitting data. |
| 510 | Normally you want this on, unless you use the DMA channel for |
| 511 | something else. |
| 512 | |
| 513 | endchoice |
| 514 | |
| 515 | choice |
| 516 | prompt "Ser2 DMA out channel" |
| 517 | depends on ETRAX_SERIAL_PORT2 |
| 518 | default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32 |
| 519 | default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10 |
| 520 | |
| 521 | config ETRAX_SERIAL_PORT2_NO_DMA_OUT |
| 522 | bool "Ser2 uses no DMA for output" |
| 523 | help |
| 524 | Do not use DMA for ser2 output. |
| 525 | |
| 526 | config ETRAX_SERIAL_PORT2_DMA2_OUT |
| 527 | bool "Ser2 uses DMA2 for output" |
| 528 | depends on ETRAXFS || ETRAX_ARCH_V10 |
| 529 | help |
| 530 | Enables the DMA2 output channel for ser2 (ttyS2). |
| 531 | If you do not enable DMA, an interrupt for each character will be |
| 532 | used when transmitting data. |
| 533 | Normally you want to use DMA, unless you use the DMA channel for |
| 534 | something else. |
| 535 | |
| 536 | config ETRAX_SERIAL_PORT2_DMA6_OUT |
| 537 | bool "Ser2 uses DMA6 for output" |
| 538 | depends on CRIS_MACH_ARTPEC3 |
| 539 | help |
| 540 | Enables the DMA6 output channel for ser2 (ttyS2). |
| 541 | If you do not enable DMA, an interrupt for each character will be |
| 542 | used when transmitting data. |
| 543 | Normally you want to use DMA, unless you use the DMA channel for |
| 544 | something else. |
| 545 | |
| 546 | endchoice |
| 547 | |
| 548 | choice |
| 549 | prompt "Ser2 DMA in channel" |
| 550 | depends on ETRAX_SERIAL_PORT2 |
| 551 | default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32 |
| 552 | default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10 |
| 553 | help |
| 554 | What DMA channel to use for ser2. |
| 555 | |
| 556 | config ETRAX_SERIAL_PORT2_NO_DMA_IN |
| 557 | bool "Ser2 uses no DMA for input" |
| 558 | help |
| 559 | Do not use DMA for ser2 input. |
| 560 | |
| 561 | config ETRAX_SERIAL_PORT2_DMA3_IN |
| 562 | bool "Ser2 uses DMA3 for input" |
| 563 | depends on ETRAXFS || ETRAX_ARCH_V10 |
| 564 | help |
| 565 | Enables the DMA3 input channel for ser2 (ttyS2). |
| 566 | If you do not enable DMA, an interrupt for each character will be |
| 567 | used when receiving data. |
| 568 | Normally you want to use DMA, unless you use the DMA channel for |
| 569 | something else. |
| 570 | |
| 571 | config ETRAX_SERIAL_PORT2_DMA7_IN |
| 572 | bool "Ser2 uses DMA7 for input" |
| 573 | depends on CRIS_MACH_ARTPEC3 |
| 574 | help |
| 575 | Enables the DMA7 input channel for ser2 (ttyS2). |
| 576 | 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] | 577 | used when receiving data. |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 578 | Normally you want to use DMA, unless you use the DMA channel for |
| 579 | something else. |
| 580 | |
| 581 | endchoice |
| 582 | |
| 583 | choice |
| 584 | prompt "Ser3 DMA in channel" |
| 585 | depends on ETRAX_SERIAL_PORT3 |
| 586 | default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32 |
| 587 | default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10 |
| 588 | help |
| 589 | What DMA channel to use for ser3. |
| 590 | |
| 591 | config ETRAX_SERIAL_PORT3_NO_DMA_IN |
| 592 | bool "Ser3 uses no DMA for input" |
| 593 | help |
| 594 | Do not use DMA for ser3 input. |
| 595 | |
| 596 | config ETRAX_SERIAL_PORT3_DMA5_IN |
| 597 | depends on ETRAX_ARCH_V10 |
| 598 | bool "DMA 5" |
| 599 | |
| 600 | config ETRAX_SERIAL_PORT3_DMA9_IN |
| 601 | bool "Ser3 uses DMA9 for input" |
| 602 | depends on ETRAXFS |
| 603 | help |
| 604 | Enables the DMA9 input channel for ser3 (ttyS3). |
| 605 | If you do not enable DMA, an interrupt for each character will be |
| 606 | used when receiving data. |
| 607 | Normally you want to use DMA, unless you use the DMA channel for |
| 608 | something else. |
| 609 | |
| 610 | config ETRAX_SERIAL_PORT3_DMA3_IN |
| 611 | bool "Ser3 uses DMA3 for input" |
| 612 | depends on CRIS_MACH_ARTPEC3 |
| 613 | help |
| 614 | Enables the DMA3 input channel for ser3 (ttyS3). |
| 615 | 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] | 616 | used when receiving data. |
Jesper Nilsson | 923dd2a | 2007-12-05 18:10:36 +0100 | [diff] [blame] | 617 | Normally you want to use DMA, unless you use the DMA channel for |
| 618 | something else. |
| 619 | |
| 620 | endchoice |
| 621 | |
| 622 | choice |
| 623 | prompt "Ser3 DMA out channel" |
| 624 | depends on ETRAX_SERIAL_PORT3 |
| 625 | default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32 |
| 626 | default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10 |
| 627 | |
| 628 | config ETRAX_SERIAL_PORT3_NO_DMA_OUT |
| 629 | bool "Ser3 uses no DMA for output" |
| 630 | help |
| 631 | Do not use DMA for ser3 output. |
| 632 | |
| 633 | config ETRAX_SERIAL_PORT3_DMA4_OUT |
| 634 | depends on ETRAX_ARCH_V10 |
| 635 | bool "DMA 4" |
| 636 | |
| 637 | config ETRAX_SERIAL_PORT3_DMA8_OUT |
| 638 | bool "Ser3 uses DMA8 for output" |
| 639 | depends on ETRAXFS |
| 640 | help |
| 641 | Enables the DMA8 output channel for ser3 (ttyS3). |
| 642 | If you do not enable DMA, an interrupt for each character will be |
| 643 | used when transmitting data. |
| 644 | Normally you want to use DMA, unless you use the DMA channel for |
| 645 | something else. |
| 646 | |
| 647 | config ETRAX_SERIAL_PORT3_DMA2_OUT |
| 648 | bool "Ser3 uses DMA2 for output" |
| 649 | depends on CRIS_MACH_ARTPEC3 |
| 650 | help |
| 651 | Enables the DMA2 output channel for ser3 (ttyS3). |
| 652 | If you do not enable DMA, an interrupt for each character will be |
| 653 | used when transmitting data. |
| 654 | Normally you want to use DMA, unless you use the DMA channel for |
| 655 | something else. |
| 656 | |
| 657 | endchoice |
| 658 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 659 | endmenu |
| 660 | |
| 661 | source "drivers/base/Kconfig" |
| 662 | |
| 663 | # standard linux drivers |
| 664 | source "drivers/mtd/Kconfig" |
| 665 | |
| 666 | source "drivers/parport/Kconfig" |
| 667 | |
| 668 | source "drivers/pnp/Kconfig" |
| 669 | |
| 670 | source "drivers/block/Kconfig" |
| 671 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 672 | source "drivers/ide/Kconfig" |
| 673 | |
Sam Ravnborg | d5950b4 | 2005-07-11 21:03:49 -0700 | [diff] [blame] | 674 | source "drivers/net/Kconfig" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 675 | |
Jesper Nilsson | 7b27552 | 2007-11-14 17:00:59 -0800 | [diff] [blame] | 676 | source "drivers/i2c/Kconfig" |
| 677 | |
| 678 | source "drivers/rtc/Kconfig" |
| 679 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 680 | # |
| 681 | # input before char - char/joystick depends on it. As does USB. |
| 682 | # |
| 683 | source "drivers/input/Kconfig" |
| 684 | |
| 685 | source "drivers/char/Kconfig" |
| 686 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 687 | source "fs/Kconfig" |
| 688 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 689 | source "drivers/usb/Kconfig" |
| 690 | |
Greg Kroah-Hartman | 2f86c3e | 2008-09-17 16:34:11 +0100 | [diff] [blame] | 691 | source "drivers/uwb/Kconfig" |
| 692 | |
F. Duncan M. Haldane | 6e38a2b | 2008-11-07 18:17:51 -0500 | [diff] [blame] | 693 | source "drivers/staging/Kconfig" |
| 694 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 695 | source "arch/cris/Kconfig.debug" |
| 696 | |
| 697 | source "security/Kconfig" |
| 698 | |
| 699 | source "crypto/Kconfig" |
| 700 | |
| 701 | source "lib/Kconfig" |