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