1config M68K 2 bool 3 default y 4 select HAVE_IDE 5 select HAVE_GENERIC_HARDIRQS 6 7config MMU 8 bool 9 default n 10 11config NO_DMA 12 bool 13 depends on !COLDFIRE 14 default y 15 16config FPU 17 bool 18 default n 19 20config ZONE_DMA 21 bool 22 default y 23 24config RWSEM_GENERIC_SPINLOCK 25 bool 26 default y 27 28config RWSEM_XCHGADD_ALGORITHM 29 bool 30 default n 31 32config ARCH_HAS_ILOG2_U32 33 bool 34 default n 35 36config ARCH_HAS_ILOG2_U64 37 bool 38 default n 39 40config GENERIC_FIND_NEXT_BIT 41 bool 42 default y 43 44config GENERIC_GPIO 45 bool 46 default n 47 48config GENERIC_HWEIGHT 49 bool 50 default y 51 52config GENERIC_CALIBRATE_DELAY 53 bool 54 default y 55 56config GENERIC_CMOS_UPDATE 57 bool 58 default y 59 60config TIME_LOW_RES 61 bool 62 default y 63 64config GENERIC_CLOCKEVENTS 65 bool 66 default n 67 68config NO_IOPORT 69 def_bool y 70 71config COLDFIRE_SW_A7 72 bool 73 default n 74 75config HAVE_CACHE_SPLIT 76 bool 77 78config HAVE_CACHE_CB 79 bool 80 81source "init/Kconfig" 82 83source "kernel/Kconfig.freezer" 84 85menu "Processor type and features" 86 87choice 88 prompt "CPU" 89 default M68EZ328 90 91config M68328 92 bool "MC68328" 93 help 94 Motorola 68328 processor support. 95 96config M68EZ328 97 bool "MC68EZ328" 98 help 99 Motorola 68EX328 processor support. 100 101config M68VZ328 102 bool "MC68VZ328" 103 help 104 Motorola 68VZ328 processor support. 105 106config M68360 107 bool "MC68360" 108 help 109 Motorola 68360 processor support. 110 111config M5206 112 bool "MCF5206" 113 select COLDFIRE_SW_A7 114 help 115 Motorola ColdFire 5206 processor support. 116 117config M5206e 118 bool "MCF5206e" 119 select COLDFIRE_SW_A7 120 help 121 Motorola ColdFire 5206e processor support. 122 123config M520x 124 bool "MCF520x" 125 select GENERIC_CLOCKEVENTS 126 select HAVE_CACHE_SPLIT 127 help 128 Freescale Coldfire 5207/5208 processor support. 129 130config M523x 131 bool "MCF523x" 132 select GENERIC_CLOCKEVENTS 133 select HAVE_CACHE_SPLIT 134 help 135 Freescale Coldfire 5230/1/2/4/5 processor support 136 137config M5249 138 bool "MCF5249" 139 select COLDFIRE_SW_A7 140 help 141 Motorola ColdFire 5249 processor support. 142 143config M5271 144 bool "MCF5271" 145 select HAVE_CACHE_SPLIT 146 help 147 Freescale (Motorola) ColdFire 5270/5271 processor support. 148 149config M5272 150 bool "MCF5272" 151 select COLDFIRE_SW_A7 152 help 153 Motorola ColdFire 5272 processor support. 154 155config M5275 156 bool "MCF5275" 157 select HAVE_CACHE_SPLIT 158 help 159 Freescale (Motorola) ColdFire 5274/5275 processor support. 160 161config M528x 162 bool "MCF528x" 163 select GENERIC_CLOCKEVENTS 164 select HAVE_CACHE_SPLIT 165 help 166 Motorola ColdFire 5280/5282 processor support. 167 168config M5307 169 bool "MCF5307" 170 select COLDFIRE_SW_A7 171 select HAVE_CACHE_CB 172 help 173 Motorola ColdFire 5307 processor support. 174 175config M532x 176 bool "MCF532x" 177 select HAVE_CACHE_CB 178 help 179 Freescale (Motorola) ColdFire 532x processor support. 180 181config M5407 182 bool "MCF5407" 183 select COLDFIRE_SW_A7 184 select HAVE_CACHE_CB 185 help 186 Motorola ColdFire 5407 processor support. 187 188config M547x 189 bool "MCF547x" 190 select HAVE_CACHE_CB 191 help 192 Freescale ColdFire 5470/5471/5472/5473/5474/5475 processor support. 193 194config M548x 195 bool "MCF548x" 196 select HAVE_CACHE_CB 197 help 198 Freescale ColdFire 5480/5481/5482/5483/5484/5485 processor support. 199 200endchoice 201 202config M527x 203 bool 204 depends on (M5271 || M5275) 205 select GENERIC_CLOCKEVENTS 206 default y 207 208config M54xx 209 bool 210 depends on (M548x || M547x) 211 default y 212 213config COLDFIRE 214 bool 215 depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407 || M54xx) 216 select GENERIC_GPIO 217 select ARCH_REQUIRE_GPIOLIB 218 default y 219 220config CLOCK_SET 221 bool "Enable setting the CPU clock frequency" 222 default n 223 help 224 On some CPU's you do not need to know what the core CPU clock 225 frequency is. On these you can disable clock setting. On some 226 traditional 68K parts, and on all ColdFire parts you need to set 227 the appropriate CPU clock frequency. On these devices many of the 228 onboard peripherals derive their timing from the master CPU clock 229 frequency. 230 231config CLOCK_FREQ 232 int "Set the core clock frequency" 233 default "66666666" 234 depends on CLOCK_SET 235 help 236 Define the CPU clock frequency in use. This is the core clock 237 frequency, it may or may not be the same as the external clock 238 crystal fitted to your board. Some processors have an internal 239 PLL and can have their frequency programmed at run time, others 240 use internal dividers. In general the kernel won't setup a PLL 241 if it is fitted (there are some exceptions). This value will be 242 specific to the exact CPU that you are using. 243 244config CLOCK_DIV 245 int "Set the core/bus clock divide ratio" 246 default "1" 247 depends on CLOCK_SET 248 help 249 On many SoC style CPUs the master CPU clock is also used to drive 250 on-chip peripherals. The clock that is distributed to these 251 peripherals is sometimes a fixed ratio of the master clock 252 frequency. If so then set this to the divider ratio of the 253 master clock to the peripheral clock. If not sure then select 1. 254 255config OLDMASK 256 bool "Old mask 5307 (1H55J) silicon" 257 depends on M5307 258 help 259 Build support for the older revision ColdFire 5307 silicon. 260 Specifically this is the 1H55J mask revision. 261 262if HAVE_CACHE_SPLIT 263choice 264 prompt "Split Cache Configuration" 265 default CACHE_I 266 267config CACHE_I 268 bool "Instruction" 269 help 270 Use all of the ColdFire CPU cache memory as an instruction cache. 271 272config CACHE_D 273 bool "Data" 274 help 275 Use all of the ColdFire CPU cache memory as a data cache. 276 277config CACHE_BOTH 278 bool "Both" 279 help 280 Split the ColdFire CPU cache, and use half as an instruction cache 281 and half as a data cache. 282endchoice 283endif 284 285if HAVE_CACHE_CB 286choice 287 prompt "Data cache mode" 288 default CACHE_WRITETHRU 289 290config CACHE_WRITETHRU 291 bool "Write-through" 292 help 293 The ColdFire CPU cache is set into Write-through mode. 294 295config CACHE_COPYBACK 296 bool "Copy-back" 297 help 298 The ColdFire CPU cache is set into Copy-back mode. 299endchoice 300endif 301 302comment "Platform" 303 304config PILOT3 305 bool "Pilot 1000/5000, PalmPilot Personal/Pro, or PalmIII support" 306 depends on M68328 307 help 308 Support for the Palm Pilot 1000/5000, Personal/Pro and PalmIII. 309 310config XCOPILOT_BUGS 311 bool "(X)Copilot support" 312 depends on PILOT3 313 help 314 Support the bugs of Xcopilot. 315 316config UC5272 317 bool 'Arcturus Networks uC5272 dimm board support' 318 depends on M5272 319 help 320 Support for the Arcturus Networks uC5272 dimm board. 321 322config UC5282 323 bool "Arcturus Networks uC5282 board support" 324 depends on M528x 325 help 326 Support for the Arcturus Networks uC5282 dimm board. 327 328config UCSIMM 329 bool "uCsimm module support" 330 depends on M68EZ328 331 help 332 Support for the Arcturus Networks uCsimm module. 333 334config UCDIMM 335 bool "uDsimm module support" 336 depends on M68VZ328 337 help 338 Support for the Arcturus Networks uDsimm module. 339 340config DRAGEN2 341 bool "DragenEngine II board support" 342 depends on M68VZ328 343 help 344 Support for the DragenEngine II board. 345 346config DIRECT_IO_ACCESS 347 bool "Allow user to access IO directly" 348 depends on (UCSIMM || UCDIMM || DRAGEN2) 349 help 350 Disable the CPU internal registers protection in user mode, 351 to allow a user application to read/write them. 352 353config INIT_LCD 354 bool "Initialize LCD" 355 depends on (UCSIMM || UCDIMM || DRAGEN2) 356 help 357 Initialize the LCD controller of the 68x328 processor. 358 359config MEMORY_RESERVE 360 int "Memory reservation (MiB)" 361 depends on (UCSIMM || UCDIMM) 362 help 363 Reserve certain memory regions on 68x328 based boards. 364 365config UCQUICC 366 bool "Lineo uCquicc board support" 367 depends on M68360 368 help 369 Support for the Lineo uCquicc board. 370 371config ARN5206 372 bool "Arnewsh 5206 board support" 373 depends on M5206 374 help 375 Support for the Arnewsh 5206 board. 376 377config M5206eC3 378 bool "Motorola M5206eC3 board support" 379 depends on M5206e 380 help 381 Support for the Motorola M5206eC3 board. 382 383config ELITE 384 bool "Motorola M5206eLITE board support" 385 depends on M5206e 386 help 387 Support for the Motorola M5206eLITE board. 388 389config M5208EVB 390 bool "Freescale M5208EVB board support" 391 depends on M520x 392 help 393 Support for the Freescale Coldfire M5208EVB. 394 395config M5235EVB 396 bool "Freescale M5235EVB support" 397 depends on M523x 398 help 399 Support for the Freescale M5235EVB board. 400 401config M5249C3 402 bool "Motorola M5249C3 board support" 403 depends on M5249 404 help 405 Support for the Motorola M5249C3 board. 406 407config M5271EVB 408 bool "Freescale (Motorola) M5271EVB board support" 409 depends on M5271 410 help 411 Support for the Freescale (Motorola) M5271EVB board. 412 413config M5275EVB 414 bool "Freescale (Motorola) M5275EVB board support" 415 depends on M5275 416 help 417 Support for the Freescale (Motorola) M5275EVB board. 418 419config M5272C3 420 bool "Motorola M5272C3 board support" 421 depends on M5272 422 help 423 Support for the Motorola M5272C3 board. 424 425config COBRA5272 426 bool "senTec COBRA5272 board support" 427 depends on M5272 428 help 429 Support for the senTec COBRA5272 board. 430 431config AVNET5282 432 bool "Avnet 5282 board support" 433 depends on M528x 434 help 435 Support for the Avnet 5282 board. 436 437config M5282EVB 438 bool "Motorola M5282EVB board support" 439 depends on M528x 440 help 441 Support for the Motorola M5282EVB board. 442 443config COBRA5282 444 bool "senTec COBRA5282 board support" 445 depends on M528x 446 help 447 Support for the senTec COBRA5282 board. 448 449config SOM5282EM 450 bool "EMAC.Inc SOM5282EM board support" 451 depends on M528x 452 help 453 Support for the EMAC.Inc SOM5282EM module. 454 455config WILDFIRE 456 bool "Intec Automation Inc. WildFire board support" 457 depends on M528x 458 help 459 Support for the Intec Automation Inc. WildFire. 460 461config WILDFIREMOD 462 bool "Intec Automation Inc. WildFire module support" 463 depends on M528x 464 help 465 Support for the Intec Automation Inc. WildFire module. 466 467config ARN5307 468 bool "Arnewsh 5307 board support" 469 depends on M5307 470 help 471 Support for the Arnewsh 5307 board. 472 473config M5307C3 474 bool "Motorola M5307C3 board support" 475 depends on M5307 476 help 477 Support for the Motorola M5307C3 board. 478 479config SECUREEDGEMP3 480 bool "SnapGear SecureEdge/MP3 platform support" 481 depends on M5307 482 help 483 Support for the SnapGear SecureEdge/MP3 platform. 484 485config M5329EVB 486 bool "Freescale (Motorola) M5329EVB board support" 487 depends on M532x 488 help 489 Support for the Freescale (Motorola) M5329EVB board. 490 491config COBRA5329 492 bool "senTec COBRA5329 board support" 493 depends on M532x 494 help 495 Support for the senTec COBRA5329 board. 496 497config M5407C3 498 bool "Motorola M5407C3 board support" 499 depends on M5407 500 help 501 Support for the Motorola M5407C3 board. 502 503config CLEOPATRA 504 bool "Feith CLEOPATRA board support" 505 depends on (M5307 || M5407) 506 help 507 Support for the Feith Cleopatra boards. 508 509config CANCam 510 bool "Feith CANCam board support" 511 depends on M5272 512 help 513 Support for the Feith CANCam board. 514 515config SCALES 516 bool "Feith SCALES board support" 517 depends on M5272 518 help 519 Support for the Feith SCALES board. 520 521config NETtel 522 bool "SecureEdge/NETtel board support" 523 depends on (M5206e || M5272 || M5307) 524 help 525 Support for the SnapGear NETtel/SecureEdge/SnapGear boards. 526 527config SNAPGEAR 528 bool "SnapGear router board support" 529 depends on NETtel 530 help 531 Special additional support for SnapGear router boards. 532 533config CPU16B 534 bool "Sneha Technologies S.L. Sarasvati board support" 535 depends on M5272 536 help 537 Support for the SNEHA CPU16B board. 538 539config MOD5272 540 bool "Netburner MOD-5272 board support" 541 depends on M5272 542 help 543 Support for the Netburner MOD-5272 board. 544 545config SAVANTrosie1 546 bool "Savant Rosie1 board support" 547 depends on M523x 548 help 549 Support for the Savant Rosie1 board. 550 551config ROMFS_FROM_ROM 552 bool "ROMFS image not RAM resident" 553 depends on (NETtel || SNAPGEAR) 554 help 555 The ROMfs filesystem will stay resident in the FLASH/ROM, not be 556 moved into RAM. 557 558config PILOT 559 bool 560 default y 561 depends on (PILOT3 || PILOT5) 562 563config ARNEWSH 564 bool 565 default y 566 depends on (ARN5206 || ARN5307) 567 568config FREESCALE 569 bool 570 default y 571 depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3) 572 573config HW_FEITH 574 bool 575 default y 576 depends on (CLEOPATRA || CANCam || SCALES) 577 578config senTec 579 bool 580 default y 581 depends on (COBRA5272 || COBRA5282) 582 583config EMAC_INC 584 bool 585 default y 586 depends on (SOM5282EM) 587 588config SNEHA 589 bool 590 default y 591 depends on CPU16B 592 593config SAVANT 594 bool 595 default y 596 depends on SAVANTrosie1 597 598config AVNET 599 bool 600 default y 601 depends on (AVNET5282) 602 603config UBOOT 604 bool "Support for U-Boot command line parameters" 605 help 606 If you say Y here kernel will try to collect command 607 line parameters from the initial u-boot stack. 608 default n 609 610config 4KSTACKS 611 bool "Use 4Kb for kernel stacks instead of 8Kb" 612 default y 613 help 614 If you say Y here the kernel will use a 4Kb stacksize for the 615 kernel stack attached to each process/thread. This facilitates 616 running more threads on a system and also reduces the pressure 617 on the VM subsystem for higher order allocations. 618 619config HZ 620 int 621 default 1000 if CLEOPATRA 622 default 100 623 624comment "RAM configuration" 625 626config RAMBASE 627 hex "Address of the base of RAM" 628 default "0" 629 help 630 Define the address that RAM starts at. On many platforms this is 631 0, the base of the address space. And this is the default. Some 632 platforms choose to setup their RAM at other addresses within the 633 processor address space. 634 635config RAMSIZE 636 hex "Size of RAM (in bytes), or 0 for automatic" 637 default "0x400000" 638 help 639 Define the size of the system RAM. If you select 0 then the 640 kernel will try to probe the RAM size at runtime. This is not 641 supported on all CPU types. 642 643config VECTORBASE 644 hex "Address of the base of system vectors" 645 default "0" 646 help 647 Define the address of the system vectors. Commonly this is 648 put at the start of RAM, but it doesn't have to be. On ColdFire 649 platforms this address is programmed into the VBR register, thus 650 actually setting the address to use. 651 652config KERNELBASE 653 hex "Address of the base of kernel code" 654 default "0x400" 655 help 656 Typically on m68k systems the kernel will not start at the base 657 of RAM, but usually some small offset from it. Define the start 658 address of the kernel here. The most common setup will have the 659 processor vectors at the base of RAM and then the start of the 660 kernel. On some platforms some RAM is reserved for boot loaders 661 and the kernel starts after that. The 0x400 default was based on 662 a system with the RAM based at address 0, and leaving enough room 663 for the theoretical maximum number of 256 vectors. 664 665choice 666 prompt "RAM bus width" 667 default RAMAUTOBIT 668 669config RAMAUTOBIT 670 bool "AUTO" 671 help 672 Select the physical RAM data bus size. Not needed on most platforms, 673 so you can generally choose AUTO. 674 675config RAM8BIT 676 bool "8bit" 677 help 678 Configure RAM bus to be 8 bits wide. 679 680config RAM16BIT 681 bool "16bit" 682 help 683 Configure RAM bus to be 16 bits wide. 684 685config RAM32BIT 686 bool "32bit" 687 help 688 Configure RAM bus to be 32 bits wide. 689 690endchoice 691 692comment "ROM configuration" 693 694config ROM 695 bool "Specify ROM linker regions" 696 default n 697 help 698 Define a ROM region for the linker script. This creates a kernel 699 that can be stored in flash, with possibly the text, and data 700 regions being copied out to RAM at startup. 701 702config ROMBASE 703 hex "Address of the base of ROM device" 704 default "0" 705 depends on ROM 706 help 707 Define the address that the ROM region starts at. Some platforms 708 use this to set their chip select region accordingly for the boot 709 device. 710 711config ROMVEC 712 hex "Address of the base of the ROM vectors" 713 default "0" 714 depends on ROM 715 help 716 This is almost always the same as the base of the ROM. Since on all 717 68000 type variants the vectors are at the base of the boot device 718 on system startup. 719 720config ROMVECSIZE 721 hex "Size of ROM vector region (in bytes)" 722 default "0x400" 723 depends on ROM 724 help 725 Define the size of the vector region in ROM. For most 68000 726 variants this would be 0x400 bytes in size. Set to 0 if you do 727 not want a vector region at the start of the ROM. 728 729config ROMSTART 730 hex "Address of the base of system image in ROM" 731 default "0x400" 732 depends on ROM 733 help 734 Define the start address of the system image in ROM. Commonly this 735 is strait after the ROM vectors. 736 737config ROMSIZE 738 hex "Size of the ROM device" 739 default "0x100000" 740 depends on ROM 741 help 742 Size of the ROM device. On some platforms this is used to setup 743 the chip select that controls the boot ROM device. 744 745choice 746 prompt "Kernel executes from" 747 ---help--- 748 Choose the memory type that the kernel will be running in. 749 750config RAMKERNEL 751 bool "RAM" 752 help 753 The kernel will be resident in RAM when running. 754 755config ROMKERNEL 756 bool "ROM" 757 help 758 The kernel will be resident in FLASH/ROM when running. This is 759 often referred to as Execute-in-Place (XIP), since the kernel 760 code executes from the position it is stored in the FLASH/ROM. 761 762endchoice 763 764if COLDFIRE 765source "kernel/Kconfig.preempt" 766endif 767 768source "kernel/time/Kconfig" 769 770source "mm/Kconfig" 771 772endmenu 773 774config ISA_DMA_API 775 bool 776 depends on !M5272 777 default y 778 779source "drivers/pcmcia/Kconfig" 780 781menu "Executable file formats" 782 783source "fs/Kconfig.binfmt" 784 785endmenu 786 787menu "Power management options" 788 789config PM 790 bool "Power Management support" 791 help 792 Support processor power management modes 793 794endmenu 795 796source "net/Kconfig" 797 798source "drivers/Kconfig" 799 800source "fs/Kconfig" 801 802source "arch/m68knommu/Kconfig.debug" 803 804source "security/Kconfig" 805 806source "crypto/Kconfig" 807 808source "lib/Kconfig" 809