Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v2.6.35 701 lines 17 kB view raw
1# 2# For a description of the syntax of this configuration file, 3# see the Configure script. 4# 5 6mainmenu "Linux/CRIS Kernel Configuration" 7 8config MMU 9 bool 10 default y 11 12config ZONE_DMA 13 bool 14 default y 15 16config RWSEM_GENERIC_SPINLOCK 17 bool 18 default y 19 20config RWSEM_XCHGADD_ALGORITHM 21 bool 22 23config GENERIC_TIME 24 def_bool y 25 26config GENERIC_CMOS_UPDATE 27 def_bool y 28 29config ARCH_USES_GETTIMEOFFSET 30 def_bool y 31 32config GENERIC_IOMAP 33 bool 34 default y 35 36config ARCH_HAS_ILOG2_U32 37 bool 38 default n 39 40config ARCH_HAS_ILOG2_U64 41 bool 42 default n 43 44config GENERIC_FIND_NEXT_BIT 45 bool 46 default y 47 48config GENERIC_HWEIGHT 49 bool 50 default y 51 52config GENERIC_CALIBRATE_DELAY 53 bool 54 default y 55 56config NO_IOPORT 57 def_bool y 58 59config FORCE_MAX_ZONEORDER 60 int 61 default 6 62 63config CRIS 64 bool 65 default y 66 select HAVE_IDE 67 68config HZ 69 int 70 default 100 71 72source "init/Kconfig" 73 74source "kernel/Kconfig.freezer" 75 76menu "General setup" 77 78source "fs/Kconfig.binfmt" 79 80config GENERIC_HARDIRQS 81 bool 82 default y 83 84config ETRAX_CMDLINE 85 string "Kernel command line" 86 default "root=/dev/mtdblock3" 87 help 88 Pass additional commands to the kernel. 89 90config ETRAX_WATCHDOG 91 bool "Enable ETRAX watchdog" 92 help 93 Enable the built-in watchdog timer support on ETRAX based embedded 94 network computers. 95 96config ETRAX_WATCHDOG_NICE_DOGGY 97 bool "Disable watchdog during Oops printouts" 98 depends on ETRAX_WATCHDOG 99 help 100 By enabling this you make sure that the watchdog does not bite while 101 printing oopses. Recommended for development systems but not for 102 production releases. 103 104config ETRAX_FAST_TIMER 105 bool "Enable ETRAX fast timer API" 106 help 107 This options enables the API to a fast timer implementation using 108 timer1 to get sub jiffie resolution timers (primarily one-shot 109 timers). 110 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled. 111 112config ETRAX_KMALLOCED_MODULES 113 bool "Enable module allocation with kmalloc" 114 help 115 Enable module allocation with kmalloc instead of vmalloc. 116 117config OOM_REBOOT 118 bool "Enable reboot at out of memory" 119 120source "kernel/Kconfig.preempt" 121 122source mm/Kconfig 123 124endmenu 125 126menu "Hardware setup" 127 128choice 129 prompt "Processor type" 130 default ETRAX100LX 131 132config ETRAX100LX 133 bool "ETRAX-100LX-v1" 134 help 135 Support version 1 of the ETRAX 100LX. 136 137config ETRAX100LX_V2 138 bool "ETRAX-100LX-v2" 139 help 140 Support version 2 of the ETRAX 100LX. 141 142config SVINTO_SIM 143 bool "ETRAX-100LX-for-xsim-simulator" 144 help 145 Support the xsim ETRAX Simulator. 146 147config ETRAXFS 148 bool "ETRAX-FS-V32" 149 help 150 Support CRIS V32. 151 152config CRIS_MACH_ARTPEC3 153 bool "ARTPEC-3" 154 help 155 Support Axis ARTPEC-3. 156 157endchoice 158 159config ETRAX_VCS_SIM 160 bool "VCS Simulator" 161 help 162 Setup hardware to be run in the VCS simulator. 163 164config ETRAX_ARCH_V10 165 bool 166 default y if ETRAX100LX || ETRAX100LX_V2 167 default n if !(ETRAX100LX || ETRAX100LX_V2) 168 169config ETRAX_ARCH_V32 170 bool 171 default y if (ETRAXFS || CRIS_MACH_ARTPEC3) 172 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3) 173 174config 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 180config 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 187config ETRAX_FLASH_BUSWIDTH 188 int "Buswidth of NOR flash in bytes" 189 default "2" 190 help 191 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2. 192 193config 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 199config ETRAX_FLASH1_SIZE 200 int "FLASH1 size (dec, in MB. 0 = Unknown)" 201 default "0" 202 203choice 204 prompt "Product debug-port" 205 default ETRAX_DEBUG_PORT0 206 207config 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 213config ETRAX_DEBUG_PORT1 214 bool "Serial-1" 215 help 216 Use serial port 1 for the console. 217 218config ETRAX_DEBUG_PORT2 219 bool "Serial-2" 220 help 221 Use serial port 2 for the console. 222 223config ETRAX_DEBUG_PORT3 224 bool "Serial-3" 225 help 226 Use serial port 3 for the console. 227 228config ETRAX_DEBUG_PORT_NULL 229 bool "disabled" 230 help 231 Disable serial-port debugging. 232 233endchoice 234 235choice 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 244config ETRAX_KGDB_PORT0 245 bool "Serial-0" 246 help 247 Use serial port 0 for kernel debugging. 248 249config ETRAX_KGDB_PORT1 250 bool "Serial-1" 251 help 252 Use serial port 1 for kernel debugging. 253 254config ETRAX_KGDB_PORT2 255 bool "Serial-2" 256 help 257 Use serial port 2 for kernel debugging. 258 259config ETRAX_KGDB_PORT3 260 bool "Serial-3" 261 help 262 Use serial port 3 for kernel debugging. 263 264endchoice 265 266source arch/cris/arch-v10/Kconfig 267source arch/cris/arch-v32/Kconfig 268 269endmenu 270 271source "net/Kconfig" 272 273# bring in ETRAX built-in drivers 274menu "Drivers for built-in interfaces" 275source arch/cris/arch-v10/drivers/Kconfig 276source arch/cris/arch-v32/drivers/Kconfig 277 278config 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 293config 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 305choice 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 311config 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 318config 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 324endchoice 325 326config ETRAX_SYNCHRONOUS_SERIAL 327 bool "Synchronous serial-port support" 328 help 329 Select this to enable the synchronous serial port driver. 330 331config 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 337config 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 344config 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 350config 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 357choice 358 prompt "Network LED behavior" 359 depends on ETRAX_ETHERNET 360 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY 361 362config 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 374config 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 386endchoice 387 388choice 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 394config 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 399config 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 409config 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 419endchoice 420 421choice 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 429config 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 434config 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 444config 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 450 used when receiving data. 451 Normally you want to use DMA, unless you use the DMA channel for 452 something else. 453 454endchoice 455 456choice 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 464config 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 469config 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 479config ETRAX_SERIAL_PORT1_DMA9_IN 480 depends on ETRAX_ARCH_V10 481 bool "Ser1 uses DMA9 for input" 482 483endchoice 484 485 486choice 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 494config 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 499config ETRAX_SERIAL_PORT1_DMA8_OUT 500 depends on ETRAX_ARCH_V10 501 bool "Ser1 uses DMA8 for output" 502 503config 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 513endchoice 514 515choice 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 521config 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 526config 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 536config 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 546endchoice 547 548choice 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 556config 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 561config 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 571config 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 577 used when receiving data. 578 Normally you want to use DMA, unless you use the DMA channel for 579 something else. 580 581endchoice 582 583choice 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 591config 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 596config ETRAX_SERIAL_PORT3_DMA5_IN 597 depends on ETRAX_ARCH_V10 598 bool "DMA 5" 599 600config 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 610config 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 616 used when receiving data. 617 Normally you want to use DMA, unless you use the DMA channel for 618 something else. 619 620endchoice 621 622choice 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 628config 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 633config ETRAX_SERIAL_PORT3_DMA4_OUT 634 depends on ETRAX_ARCH_V10 635 bool "DMA 4" 636 637config 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 647config 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 657endchoice 658 659endmenu 660 661source "drivers/base/Kconfig" 662 663# standard linux drivers 664source "drivers/mtd/Kconfig" 665 666source "drivers/parport/Kconfig" 667 668source "drivers/pnp/Kconfig" 669 670source "drivers/block/Kconfig" 671 672source "drivers/ide/Kconfig" 673 674source "drivers/net/Kconfig" 675 676source "drivers/i2c/Kconfig" 677 678source "drivers/rtc/Kconfig" 679 680# 681# input before char - char/joystick depends on it. As does USB. 682# 683source "drivers/input/Kconfig" 684 685source "drivers/char/Kconfig" 686 687source "fs/Kconfig" 688 689source "drivers/usb/Kconfig" 690 691source "drivers/uwb/Kconfig" 692 693source "drivers/staging/Kconfig" 694 695source "arch/cris/Kconfig.debug" 696 697source "security/Kconfig" 698 699source "crypto/Kconfig" 700 701source "lib/Kconfig"