1config ARM 2 bool 3 default y 4 select ARCH_BINFMT_ELF_RANDOMIZE_PIE 5 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE 6 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST 7 select ARCH_HAVE_CUSTOM_GPIO_H 8 select ARCH_MIGHT_HAVE_PC_PARPORT 9 select ARCH_USE_BUILTIN_BSWAP 10 select ARCH_USE_CMPXCHG_LOCKREF 11 select ARCH_WANT_IPC_PARSE_VERSION 12 select BUILDTIME_EXTABLE_SORT if MMU 13 select CLONE_BACKWARDS 14 select CPU_PM if (SUSPEND || CPU_IDLE) 15 select DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS 16 select GENERIC_ATOMIC64 if (CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI) 17 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 18 select GENERIC_IDLE_POLL_SETUP 19 select GENERIC_IRQ_PROBE 20 select GENERIC_IRQ_SHOW 21 select GENERIC_PCI_IOMAP 22 select GENERIC_SCHED_CLOCK 23 select GENERIC_SMP_IDLE_THREAD 24 select GENERIC_STRNCPY_FROM_USER 25 select GENERIC_STRNLEN_USER 26 select HARDIRQS_SW_RESEND 27 select HAVE_ARCH_AUDITSYSCALL if (AEABI && !OABI_COMPAT) 28 select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL 29 select HAVE_ARCH_KGDB 30 select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT) 31 select HAVE_ARCH_TRACEHOOK 32 select HAVE_BPF_JIT 33 select HAVE_CONTEXT_TRACKING 34 select HAVE_C_RECORDMCOUNT 35 select HAVE_CC_STACKPROTECTOR 36 select HAVE_DEBUG_KMEMLEAK 37 select HAVE_DMA_API_DEBUG 38 select HAVE_DMA_ATTRS 39 select HAVE_DMA_CONTIGUOUS if MMU 40 select HAVE_DYNAMIC_FTRACE if (!XIP_KERNEL) 41 select HAVE_EFFICIENT_UNALIGNED_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && MMU 42 select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL) 43 select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL) 44 select HAVE_FUNCTION_TRACER if (!XIP_KERNEL) 45 select HAVE_GENERIC_DMA_COHERENT 46 select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7)) 47 select HAVE_IDE if PCI || ISA || PCMCIA 48 select HAVE_IRQ_TIME_ACCOUNTING 49 select HAVE_KERNEL_GZIP 50 select HAVE_KERNEL_LZ4 51 select HAVE_KERNEL_LZMA 52 select HAVE_KERNEL_LZO 53 select HAVE_KERNEL_XZ 54 select HAVE_KPROBES if !XIP_KERNEL 55 select HAVE_KRETPROBES if (HAVE_KPROBES) 56 select HAVE_MEMBLOCK 57 select HAVE_MOD_ARCH_SPECIFIC if ARM_UNWIND 58 select HAVE_OPROFILE if (HAVE_PERF_EVENTS) 59 select HAVE_PERF_EVENTS 60 select HAVE_PERF_REGS 61 select HAVE_PERF_USER_STACK_DUMP 62 select HAVE_REGS_AND_STACK_ACCESS_API 63 select HAVE_SYSCALL_TRACEPOINTS 64 select HAVE_UID16 65 select HAVE_VIRT_CPU_ACCOUNTING_GEN 66 select IRQ_FORCED_THREADING 67 select KTIME_SCALAR 68 select MODULES_USE_ELF_REL 69 select NO_BOOTMEM 70 select OLD_SIGACTION 71 select OLD_SIGSUSPEND3 72 select PERF_USE_VMALLOC 73 select RTC_LIB 74 select SYS_SUPPORTS_APM_EMULATION 75 # Above selects are sorted alphabetically; please add new ones 76 # according to that. Thanks. 77 help 78 The ARM series is a line of low-power-consumption RISC chip designs 79 licensed by ARM Ltd and targeted at embedded applications and 80 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer 81 manufactured, but legacy ARM-based PC hardware remains popular in 82 Europe. There is an ARM Linux project with a web page at 83 <http://www.arm.linux.org.uk/>. 84 85config ARM_HAS_SG_CHAIN 86 bool 87 88config NEED_SG_DMA_LENGTH 89 bool 90 91config ARM_DMA_USE_IOMMU 92 bool 93 select ARM_HAS_SG_CHAIN 94 select NEED_SG_DMA_LENGTH 95 96if ARM_DMA_USE_IOMMU 97 98config ARM_DMA_IOMMU_ALIGNMENT 99 int "Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers" 100 range 4 9 101 default 8 102 help 103 DMA mapping framework by default aligns all buffers to the smallest 104 PAGE_SIZE order which is greater than or equal to the requested buffer 105 size. This works well for buffers up to a few hundreds kilobytes, but 106 for larger buffers it just a waste of address space. Drivers which has 107 relatively small addressing window (like 64Mib) might run out of 108 virtual space with just a few allocations. 109 110 With this parameter you can specify the maximum PAGE_SIZE order for 111 DMA IOMMU buffers. Larger buffers will be aligned only to this 112 specified order. The order is expressed as a power of two multiplied 113 by the PAGE_SIZE. 114 115endif 116 117config MIGHT_HAVE_PCI 118 bool 119 120config SYS_SUPPORTS_APM_EMULATION 121 bool 122 123config HAVE_TCM 124 bool 125 select GENERIC_ALLOCATOR 126 127config HAVE_PROC_CPU 128 bool 129 130config NO_IOPORT_MAP 131 bool 132 133config EISA 134 bool 135 ---help--- 136 The Extended Industry Standard Architecture (EISA) bus was 137 developed as an open alternative to the IBM MicroChannel bus. 138 139 The EISA bus provided some of the features of the IBM MicroChannel 140 bus while maintaining backward compatibility with cards made for 141 the older ISA bus. The EISA bus saw limited use between 1988 and 142 1995 when it was made obsolete by the PCI bus. 143 144 Say Y here if you are building a kernel for an EISA-based machine. 145 146 Otherwise, say N. 147 148config SBUS 149 bool 150 151config STACKTRACE_SUPPORT 152 bool 153 default y 154 155config HAVE_LATENCYTOP_SUPPORT 156 bool 157 depends on !SMP 158 default y 159 160config LOCKDEP_SUPPORT 161 bool 162 default y 163 164config TRACE_IRQFLAGS_SUPPORT 165 bool 166 default y 167 168config RWSEM_XCHGADD_ALGORITHM 169 bool 170 default y 171 172config ARCH_HAS_ILOG2_U32 173 bool 174 175config ARCH_HAS_ILOG2_U64 176 bool 177 178config ARCH_HAS_CPUFREQ 179 bool 180 help 181 Internal node to signify that the ARCH has CPUFREQ support 182 and that the relevant menu configurations are displayed for 183 it. 184 185config ARCH_HAS_BANDGAP 186 bool 187 188config GENERIC_HWEIGHT 189 bool 190 default y 191 192config GENERIC_CALIBRATE_DELAY 193 bool 194 default y 195 196config ARCH_MAY_HAVE_PC_FDC 197 bool 198 199config ZONE_DMA 200 bool 201 202config NEED_DMA_MAP_STATE 203 def_bool y 204 205config ARCH_SUPPORTS_UPROBES 206 def_bool y 207 208config ARCH_HAS_DMA_SET_COHERENT_MASK 209 bool 210 211config GENERIC_ISA_DMA 212 bool 213 214config FIQ 215 bool 216 217config NEED_RET_TO_USER 218 bool 219 220config ARCH_MTD_XIP 221 bool 222 223config VECTORS_BASE 224 hex 225 default 0xffff0000 if MMU || CPU_HIGH_VECTOR 226 default DRAM_BASE if REMAP_VECTORS_TO_RAM 227 default 0x00000000 228 help 229 The base address of exception vectors. This must be two pages 230 in size. 231 232config ARM_PATCH_PHYS_VIRT 233 bool "Patch physical to virtual translations at runtime" if EMBEDDED 234 default y 235 depends on !XIP_KERNEL && MMU 236 depends on !ARCH_REALVIEW || !SPARSEMEM 237 help 238 Patch phys-to-virt and virt-to-phys translation functions at 239 boot and module load time according to the position of the 240 kernel in system memory. 241 242 This can only be used with non-XIP MMU kernels where the base 243 of physical memory is at a 16MB boundary. 244 245 Only disable this option if you know that you do not require 246 this feature (eg, building a kernel for a single machine) and 247 you need to shrink the kernel to the minimal size. 248 249config NEED_MACH_GPIO_H 250 bool 251 help 252 Select this when mach/gpio.h is required to provide special 253 definitions for this platform. The need for mach/gpio.h should 254 be avoided when possible. 255 256config NEED_MACH_IO_H 257 bool 258 help 259 Select this when mach/io.h is required to provide special 260 definitions for this platform. The need for mach/io.h should 261 be avoided when possible. 262 263config NEED_MACH_MEMORY_H 264 bool 265 help 266 Select this when mach/memory.h is required to provide special 267 definitions for this platform. The need for mach/memory.h should 268 be avoided when possible. 269 270config PHYS_OFFSET 271 hex "Physical address of main memory" if MMU 272 depends on !ARM_PATCH_PHYS_VIRT && !NEED_MACH_MEMORY_H 273 default DRAM_BASE if !MMU 274 help 275 Please provide the physical address corresponding to the 276 location of main memory in your system. 277 278config GENERIC_BUG 279 def_bool y 280 depends on BUG 281 282source "init/Kconfig" 283 284source "kernel/Kconfig.freezer" 285 286menu "System Type" 287 288config MMU 289 bool "MMU-based Paged Memory Management Support" 290 default y 291 help 292 Select if you want MMU-based virtualised addressing space 293 support by paged memory management. If unsure, say 'Y'. 294 295# 296# The "ARM system type" choice list is ordered alphabetically by option 297# text. Please add new entries in the option alphabetic order. 298# 299choice 300 prompt "ARM system type" 301 default ARCH_VERSATILE if !MMU 302 default ARCH_MULTIPLATFORM if MMU 303 304config ARCH_MULTIPLATFORM 305 bool "Allow multiple platforms to be selected" 306 depends on MMU 307 select ARCH_WANT_OPTIONAL_GPIOLIB 308 select ARM_HAS_SG_CHAIN 309 select ARM_PATCH_PHYS_VIRT 310 select AUTO_ZRELADDR 311 select COMMON_CLK 312 select GENERIC_CLOCKEVENTS 313 select MULTI_IRQ_HANDLER 314 select SPARSE_IRQ 315 select USE_OF 316 317config ARCH_INTEGRATOR 318 bool "ARM Ltd. Integrator family" 319 select ARCH_HAS_CPUFREQ 320 select ARM_AMBA 321 select ARM_PATCH_PHYS_VIRT 322 select AUTO_ZRELADDR 323 select COMMON_CLK 324 select COMMON_CLK_VERSATILE 325 select GENERIC_CLOCKEVENTS 326 select HAVE_TCM 327 select ICST 328 select MULTI_IRQ_HANDLER 329 select NEED_MACH_MEMORY_H 330 select PLAT_VERSATILE 331 select SPARSE_IRQ 332 select USE_OF 333 select VERSATILE_FPGA_IRQ 334 help 335 Support for ARM's Integrator platform. 336 337config ARCH_REALVIEW 338 bool "ARM Ltd. RealView family" 339 select ARCH_WANT_OPTIONAL_GPIOLIB 340 select ARM_AMBA 341 select ARM_TIMER_SP804 342 select COMMON_CLK 343 select COMMON_CLK_VERSATILE 344 select GENERIC_CLOCKEVENTS 345 select GPIO_PL061 if GPIOLIB 346 select ICST 347 select NEED_MACH_MEMORY_H 348 select PLAT_VERSATILE 349 select PLAT_VERSATILE_CLCD 350 help 351 This enables support for ARM Ltd RealView boards. 352 353config ARCH_VERSATILE 354 bool "ARM Ltd. Versatile family" 355 select ARCH_WANT_OPTIONAL_GPIOLIB 356 select ARM_AMBA 357 select ARM_TIMER_SP804 358 select ARM_VIC 359 select CLKDEV_LOOKUP 360 select GENERIC_CLOCKEVENTS 361 select HAVE_MACH_CLKDEV 362 select ICST 363 select PLAT_VERSATILE 364 select PLAT_VERSATILE_CLCD 365 select PLAT_VERSATILE_CLOCK 366 select VERSATILE_FPGA_IRQ 367 help 368 This enables support for ARM Ltd Versatile board. 369 370config ARCH_AT91 371 bool "Atmel AT91" 372 select ARCH_REQUIRE_GPIOLIB 373 select CLKDEV_LOOKUP 374 select IRQ_DOMAIN 375 select NEED_MACH_GPIO_H 376 select NEED_MACH_IO_H if PCCARD 377 select PINCTRL 378 select PINCTRL_AT91 if USE_OF 379 help 380 This enables support for systems based on Atmel 381 AT91RM9200 and AT91SAM9* processors. 382 383config ARCH_CLPS711X 384 bool "Cirrus Logic CLPS711x/EP721x/EP731x-based" 385 select ARCH_REQUIRE_GPIOLIB 386 select AUTO_ZRELADDR 387 select CLKSRC_MMIO 388 select COMMON_CLK 389 select CPU_ARM720T 390 select GENERIC_CLOCKEVENTS 391 select MFD_SYSCON 392 help 393 Support for Cirrus Logic 711x/721x/731x based boards. 394 395config ARCH_GEMINI 396 bool "Cortina Systems Gemini" 397 select ARCH_REQUIRE_GPIOLIB 398 select CLKSRC_MMIO 399 select CPU_FA526 400 select GENERIC_CLOCKEVENTS 401 help 402 Support for the Cortina Systems Gemini family SoCs 403 404config ARCH_EBSA110 405 bool "EBSA-110" 406 select ARCH_USES_GETTIMEOFFSET 407 select CPU_SA110 408 select ISA 409 select NEED_MACH_IO_H 410 select NEED_MACH_MEMORY_H 411 select NO_IOPORT_MAP 412 help 413 This is an evaluation board for the StrongARM processor available 414 from Digital. It has limited hardware on-board, including an 415 Ethernet interface, two PCMCIA sockets, two serial ports and a 416 parallel port. 417 418config ARCH_EFM32 419 bool "Energy Micro efm32" 420 depends on !MMU 421 select ARCH_REQUIRE_GPIOLIB 422 select AUTO_ZRELADDR 423 select ARM_NVIC 424 select CLKSRC_OF 425 select COMMON_CLK 426 select CPU_V7M 427 select GENERIC_CLOCKEVENTS 428 select NO_DMA 429 select NO_IOPORT_MAP 430 select SPARSE_IRQ 431 select USE_OF 432 help 433 Support for Energy Micro's (now Silicon Labs) efm32 Giant Gecko 434 processors. 435 436config ARCH_EP93XX 437 bool "EP93xx-based" 438 select ARCH_HAS_HOLES_MEMORYMODEL 439 select ARCH_REQUIRE_GPIOLIB 440 select ARCH_USES_GETTIMEOFFSET 441 select ARM_AMBA 442 select ARM_VIC 443 select CLKDEV_LOOKUP 444 select CPU_ARM920T 445 select NEED_MACH_MEMORY_H 446 help 447 This enables support for the Cirrus EP93xx series of CPUs. 448 449config ARCH_FOOTBRIDGE 450 bool "FootBridge" 451 select CPU_SA110 452 select FOOTBRIDGE 453 select GENERIC_CLOCKEVENTS 454 select HAVE_IDE 455 select NEED_MACH_IO_H if !MMU 456 select NEED_MACH_MEMORY_H 457 help 458 Support for systems based on the DC21285 companion chip 459 ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder. 460 461config ARCH_NETX 462 bool "Hilscher NetX based" 463 select ARM_VIC 464 select CLKSRC_MMIO 465 select CPU_ARM926T 466 select GENERIC_CLOCKEVENTS 467 help 468 This enables support for systems based on the Hilscher NetX Soc 469 470config ARCH_IOP13XX 471 bool "IOP13xx-based" 472 depends on MMU 473 select CPU_XSC3 474 select NEED_MACH_MEMORY_H 475 select NEED_RET_TO_USER 476 select PCI 477 select PLAT_IOP 478 select VMSPLIT_1G 479 help 480 Support for Intel's IOP13XX (XScale) family of processors. 481 482config ARCH_IOP32X 483 bool "IOP32x-based" 484 depends on MMU 485 select ARCH_REQUIRE_GPIOLIB 486 select CPU_XSCALE 487 select GPIO_IOP 488 select NEED_RET_TO_USER 489 select PCI 490 select PLAT_IOP 491 help 492 Support for Intel's 80219 and IOP32X (XScale) family of 493 processors. 494 495config ARCH_IOP33X 496 bool "IOP33x-based" 497 depends on MMU 498 select ARCH_REQUIRE_GPIOLIB 499 select CPU_XSCALE 500 select GPIO_IOP 501 select NEED_RET_TO_USER 502 select PCI 503 select PLAT_IOP 504 help 505 Support for Intel's IOP33X (XScale) family of processors. 506 507config ARCH_IXP4XX 508 bool "IXP4xx-based" 509 depends on MMU 510 select ARCH_HAS_DMA_SET_COHERENT_MASK 511 select ARCH_SUPPORTS_BIG_ENDIAN 512 select ARCH_REQUIRE_GPIOLIB 513 select CLKSRC_MMIO 514 select CPU_XSCALE 515 select DMABOUNCE if PCI 516 select GENERIC_CLOCKEVENTS 517 select MIGHT_HAVE_PCI 518 select NEED_MACH_IO_H 519 select USB_EHCI_BIG_ENDIAN_DESC 520 select USB_EHCI_BIG_ENDIAN_MMIO 521 help 522 Support for Intel's IXP4XX (XScale) family of processors. 523 524config ARCH_DOVE 525 bool "Marvell Dove" 526 select ARCH_REQUIRE_GPIOLIB 527 select CPU_PJ4 528 select GENERIC_CLOCKEVENTS 529 select MIGHT_HAVE_PCI 530 select MVEBU_MBUS 531 select PINCTRL 532 select PINCTRL_DOVE 533 select PLAT_ORION_LEGACY 534 help 535 Support for the Marvell Dove SoC 88AP510 536 537config ARCH_KIRKWOOD 538 bool "Marvell Kirkwood" 539 select ARCH_HAS_CPUFREQ 540 select ARCH_REQUIRE_GPIOLIB 541 select CPU_FEROCEON 542 select GENERIC_CLOCKEVENTS 543 select MVEBU_MBUS 544 select PCI 545 select PCI_QUIRKS 546 select PINCTRL 547 select PINCTRL_KIRKWOOD 548 select PLAT_ORION_LEGACY 549 help 550 Support for the following Marvell Kirkwood series SoCs: 551 88F6180, 88F6192 and 88F6281. 552 553config ARCH_MV78XX0 554 bool "Marvell MV78xx0" 555 select ARCH_REQUIRE_GPIOLIB 556 select CPU_FEROCEON 557 select GENERIC_CLOCKEVENTS 558 select MVEBU_MBUS 559 select PCI 560 select PLAT_ORION_LEGACY 561 help 562 Support for the following Marvell MV78xx0 series SoCs: 563 MV781x0, MV782x0. 564 565config ARCH_ORION5X 566 bool "Marvell Orion" 567 depends on MMU 568 select ARCH_REQUIRE_GPIOLIB 569 select CPU_FEROCEON 570 select GENERIC_CLOCKEVENTS 571 select MVEBU_MBUS 572 select PCI 573 select PLAT_ORION_LEGACY 574 help 575 Support for the following Marvell Orion 5x series SoCs: 576 Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182), 577 Orion-2 (5281), Orion-1-90 (6183). 578 579config ARCH_MMP 580 bool "Marvell PXA168/910/MMP2" 581 depends on MMU 582 select ARCH_REQUIRE_GPIOLIB 583 select CLKDEV_LOOKUP 584 select GENERIC_ALLOCATOR 585 select GENERIC_CLOCKEVENTS 586 select GPIO_PXA 587 select IRQ_DOMAIN 588 select MULTI_IRQ_HANDLER 589 select PINCTRL 590 select PLAT_PXA 591 select SPARSE_IRQ 592 help 593 Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line. 594 595config ARCH_KS8695 596 bool "Micrel/Kendin KS8695" 597 select ARCH_REQUIRE_GPIOLIB 598 select CLKSRC_MMIO 599 select CPU_ARM922T 600 select GENERIC_CLOCKEVENTS 601 select NEED_MACH_MEMORY_H 602 help 603 Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based 604 System-on-Chip devices. 605 606config ARCH_W90X900 607 bool "Nuvoton W90X900 CPU" 608 select ARCH_REQUIRE_GPIOLIB 609 select CLKDEV_LOOKUP 610 select CLKSRC_MMIO 611 select CPU_ARM926T 612 select GENERIC_CLOCKEVENTS 613 help 614 Support for Nuvoton (Winbond logic dept.) ARM9 processor, 615 At present, the w90x900 has been renamed nuc900, regarding 616 the ARM series product line, you can login the following 617 link address to know more. 618 619 <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ 620 ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller> 621 622config ARCH_LPC32XX 623 bool "NXP LPC32XX" 624 select ARCH_REQUIRE_GPIOLIB 625 select ARM_AMBA 626 select CLKDEV_LOOKUP 627 select CLKSRC_MMIO 628 select CPU_ARM926T 629 select GENERIC_CLOCKEVENTS 630 select HAVE_IDE 631 select USE_OF 632 help 633 Support for the NXP LPC32XX family of processors 634 635config ARCH_PXA 636 bool "PXA2xx/PXA3xx-based" 637 depends on MMU 638 select ARCH_HAS_CPUFREQ 639 select ARCH_MTD_XIP 640 select ARCH_REQUIRE_GPIOLIB 641 select ARM_CPU_SUSPEND if PM 642 select AUTO_ZRELADDR 643 select CLKDEV_LOOKUP 644 select CLKSRC_MMIO 645 select GENERIC_CLOCKEVENTS 646 select GPIO_PXA 647 select HAVE_IDE 648 select MULTI_IRQ_HANDLER 649 select PLAT_PXA 650 select SPARSE_IRQ 651 help 652 Support for Intel/Marvell's PXA2xx/PXA3xx processor line. 653 654config ARCH_MSM 655 bool "Qualcomm MSM (non-multiplatform)" 656 select ARCH_REQUIRE_GPIOLIB 657 select COMMON_CLK 658 select GENERIC_CLOCKEVENTS 659 help 660 Support for Qualcomm MSM/QSD based systems. This runs on the 661 apps processor of the MSM/QSD and depends on a shared memory 662 interface to the modem processor which runs the baseband 663 stack and controls some vital subsystems 664 (clock and power control, etc). 665 666config ARCH_SHMOBILE_LEGACY 667 bool "Renesas ARM SoCs (non-multiplatform)" 668 select ARCH_SHMOBILE 669 select ARM_PATCH_PHYS_VIRT 670 select CLKDEV_LOOKUP 671 select GENERIC_CLOCKEVENTS 672 select HAVE_ARM_SCU if SMP 673 select HAVE_ARM_TWD if SMP 674 select HAVE_MACH_CLKDEV 675 select HAVE_SMP 676 select MIGHT_HAVE_CACHE_L2X0 677 select MULTI_IRQ_HANDLER 678 select NO_IOPORT_MAP 679 select PINCTRL 680 select PM_GENERIC_DOMAINS if PM 681 select SPARSE_IRQ 682 help 683 Support for Renesas ARM SoC platforms using a non-multiplatform 684 kernel. This includes the SH-Mobile, R-Mobile, EMMA-Mobile, R-Car 685 and RZ families. 686 687config ARCH_RPC 688 bool "RiscPC" 689 select ARCH_ACORN 690 select ARCH_MAY_HAVE_PC_FDC 691 select ARCH_SPARSEMEM_ENABLE 692 select ARCH_USES_GETTIMEOFFSET 693 select CPU_SA110 694 select FIQ 695 select HAVE_IDE 696 select HAVE_PATA_PLATFORM 697 select ISA_DMA_API 698 select NEED_MACH_IO_H 699 select NEED_MACH_MEMORY_H 700 select NO_IOPORT_MAP 701 select VIRT_TO_BUS 702 help 703 On the Acorn Risc-PC, Linux can support the internal IDE disk and 704 CD-ROM interface, serial and parallel port, and the floppy drive. 705 706config ARCH_SA1100 707 bool "SA1100-based" 708 select ARCH_HAS_CPUFREQ 709 select ARCH_MTD_XIP 710 select ARCH_REQUIRE_GPIOLIB 711 select ARCH_SPARSEMEM_ENABLE 712 select CLKDEV_LOOKUP 713 select CLKSRC_MMIO 714 select CPU_FREQ 715 select CPU_SA1100 716 select GENERIC_CLOCKEVENTS 717 select HAVE_IDE 718 select ISA 719 select NEED_MACH_MEMORY_H 720 select SPARSE_IRQ 721 help 722 Support for StrongARM 11x0 based boards. 723 724config ARCH_S3C24XX 725 bool "Samsung S3C24XX SoCs" 726 select ARCH_HAS_CPUFREQ 727 select ARCH_REQUIRE_GPIOLIB 728 select ATAGS 729 select CLKDEV_LOOKUP 730 select CLKSRC_SAMSUNG_PWM 731 select GENERIC_CLOCKEVENTS 732 select GPIO_SAMSUNG 733 select HAVE_S3C2410_I2C if I2C 734 select HAVE_S3C2410_WATCHDOG if WATCHDOG 735 select HAVE_S3C_RTC if RTC_CLASS 736 select MULTI_IRQ_HANDLER 737 select NEED_MACH_IO_H 738 select SAMSUNG_ATAGS 739 help 740 Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443 741 and S3C2450 SoCs based systems, such as the Simtec Electronics BAST 742 (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the 743 Samsung SMDK2410 development board (and derivatives). 744 745config ARCH_S3C64XX 746 bool "Samsung S3C64XX" 747 select ARCH_HAS_CPUFREQ 748 select ARCH_REQUIRE_GPIOLIB 749 select ARM_AMBA 750 select ARM_VIC 751 select ATAGS 752 select CLKDEV_LOOKUP 753 select CLKSRC_SAMSUNG_PWM 754 select COMMON_CLK 755 select CPU_V6K 756 select GENERIC_CLOCKEVENTS 757 select GPIO_SAMSUNG 758 select HAVE_S3C2410_I2C if I2C 759 select HAVE_S3C2410_WATCHDOG if WATCHDOG 760 select HAVE_TCM 761 select NO_IOPORT_MAP 762 select PLAT_SAMSUNG 763 select PM_GENERIC_DOMAINS if PM 764 select S3C_DEV_NAND 765 select S3C_GPIO_TRACK 766 select SAMSUNG_ATAGS 767 select SAMSUNG_WAKEMASK 768 select SAMSUNG_WDT_RESET 769 help 770 Samsung S3C64XX series based systems 771 772config ARCH_S5P64X0 773 bool "Samsung S5P6440 S5P6450" 774 select ATAGS 775 select CLKDEV_LOOKUP 776 select CLKSRC_SAMSUNG_PWM 777 select CPU_V6 778 select GENERIC_CLOCKEVENTS 779 select GPIO_SAMSUNG 780 select HAVE_S3C2410_I2C if I2C 781 select HAVE_S3C2410_WATCHDOG if WATCHDOG 782 select HAVE_S3C_RTC if RTC_CLASS 783 select NEED_MACH_GPIO_H 784 select SAMSUNG_ATAGS 785 select SAMSUNG_WDT_RESET 786 help 787 Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440, 788 SMDK6450. 789 790config ARCH_S5PC100 791 bool "Samsung S5PC100" 792 select ARCH_REQUIRE_GPIOLIB 793 select ATAGS 794 select CLKDEV_LOOKUP 795 select CLKSRC_SAMSUNG_PWM 796 select CPU_V7 797 select GENERIC_CLOCKEVENTS 798 select GPIO_SAMSUNG 799 select HAVE_S3C2410_I2C if I2C 800 select HAVE_S3C2410_WATCHDOG if WATCHDOG 801 select HAVE_S3C_RTC if RTC_CLASS 802 select NEED_MACH_GPIO_H 803 select SAMSUNG_ATAGS 804 select SAMSUNG_WDT_RESET 805 help 806 Samsung S5PC100 series based systems 807 808config ARCH_S5PV210 809 bool "Samsung S5PV210/S5PC110" 810 select ARCH_HAS_CPUFREQ 811 select ARCH_HAS_HOLES_MEMORYMODEL 812 select ARCH_SPARSEMEM_ENABLE 813 select ATAGS 814 select CLKDEV_LOOKUP 815 select CLKSRC_SAMSUNG_PWM 816 select CPU_V7 817 select GENERIC_CLOCKEVENTS 818 select GPIO_SAMSUNG 819 select HAVE_S3C2410_I2C if I2C 820 select HAVE_S3C2410_WATCHDOG if WATCHDOG 821 select HAVE_S3C_RTC if RTC_CLASS 822 select NEED_MACH_GPIO_H 823 select NEED_MACH_MEMORY_H 824 select SAMSUNG_ATAGS 825 help 826 Samsung S5PV210/S5PC110 series based systems 827 828config ARCH_EXYNOS 829 bool "Samsung EXYNOS" 830 select ARCH_HAS_CPUFREQ 831 select ARCH_HAS_HOLES_MEMORYMODEL 832 select ARCH_REQUIRE_GPIOLIB 833 select ARCH_SPARSEMEM_ENABLE 834 select ARM_GIC 835 select COMMON_CLK 836 select CPU_V7 837 select GENERIC_CLOCKEVENTS 838 select HAVE_S3C2410_I2C if I2C 839 select HAVE_S3C2410_WATCHDOG if WATCHDOG 840 select HAVE_S3C_RTC if RTC_CLASS 841 select NEED_MACH_MEMORY_H 842 select SPARSE_IRQ 843 select USE_OF 844 help 845 Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5) 846 847config ARCH_DAVINCI 848 bool "TI DaVinci" 849 select ARCH_HAS_HOLES_MEMORYMODEL 850 select ARCH_REQUIRE_GPIOLIB 851 select CLKDEV_LOOKUP 852 select GENERIC_ALLOCATOR 853 select GENERIC_CLOCKEVENTS 854 select GENERIC_IRQ_CHIP 855 select HAVE_IDE 856 select TI_PRIV_EDMA 857 select USE_OF 858 select ZONE_DMA 859 help 860 Support for TI's DaVinci platform. 861 862config ARCH_OMAP1 863 bool "TI OMAP1" 864 depends on MMU 865 select ARCH_HAS_CPUFREQ 866 select ARCH_HAS_HOLES_MEMORYMODEL 867 select ARCH_OMAP 868 select ARCH_REQUIRE_GPIOLIB 869 select CLKDEV_LOOKUP 870 select CLKSRC_MMIO 871 select GENERIC_CLOCKEVENTS 872 select GENERIC_IRQ_CHIP 873 select HAVE_IDE 874 select IRQ_DOMAIN 875 select NEED_MACH_IO_H if PCCARD 876 select NEED_MACH_MEMORY_H 877 help 878 Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx) 879 880endchoice 881 882menu "Multiple platform selection" 883 depends on ARCH_MULTIPLATFORM 884 885comment "CPU Core family selection" 886 887config ARCH_MULTI_V4 888 bool "ARMv4 based platforms (FA526)" 889 depends on !ARCH_MULTI_V6_V7 890 select ARCH_MULTI_V4_V5 891 select CPU_FA526 892 893config ARCH_MULTI_V4T 894 bool "ARMv4T based platforms (ARM720T, ARM920T, ...)" 895 depends on !ARCH_MULTI_V6_V7 896 select ARCH_MULTI_V4_V5 897 select CPU_ARM920T if !(CPU_ARM7TDMI || CPU_ARM720T || \ 898 CPU_ARM740T || CPU_ARM9TDMI || CPU_ARM922T || \ 899 CPU_ARM925T || CPU_ARM940T) 900 901config ARCH_MULTI_V5 902 bool "ARMv5 based platforms (ARM926T, XSCALE, PJ1, ...)" 903 depends on !ARCH_MULTI_V6_V7 904 select ARCH_MULTI_V4_V5 905 select CPU_ARM926T if !(CPU_ARM946E || CPU_ARM1020 || \ 906 CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || \ 907 CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_FEROCEON) 908 909config ARCH_MULTI_V4_V5 910 bool 911 912config ARCH_MULTI_V6 913 bool "ARMv6 based platforms (ARM11)" 914 select ARCH_MULTI_V6_V7 915 select CPU_V6K 916 917config ARCH_MULTI_V7 918 bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)" 919 default y 920 select ARCH_MULTI_V6_V7 921 select CPU_V7 922 select HAVE_SMP 923 924config ARCH_MULTI_V6_V7 925 bool 926 select MIGHT_HAVE_CACHE_L2X0 927 928config ARCH_MULTI_CPU_AUTO 929 def_bool !(ARCH_MULTI_V4 || ARCH_MULTI_V4T || ARCH_MULTI_V6_V7) 930 select ARCH_MULTI_V5 931 932endmenu 933 934config ARCH_VIRT 935 bool "Dummy Virtual Machine" if ARCH_MULTI_V7 936 select ARM_AMBA 937 select ARM_GIC 938 select ARM_PSCI 939 select HAVE_ARM_ARCH_TIMER 940 941# 942# This is sorted alphabetically by mach-* pathname. However, plat-* 943# Kconfigs may be included either alphabetically (according to the 944# plat- suffix) or along side the corresponding mach-* source. 945# 946source "arch/arm/mach-mvebu/Kconfig" 947 948source "arch/arm/mach-at91/Kconfig" 949 950source "arch/arm/mach-bcm/Kconfig" 951 952source "arch/arm/mach-berlin/Kconfig" 953 954source "arch/arm/mach-clps711x/Kconfig" 955 956source "arch/arm/mach-cns3xxx/Kconfig" 957 958source "arch/arm/mach-davinci/Kconfig" 959 960source "arch/arm/mach-dove/Kconfig" 961 962source "arch/arm/mach-ep93xx/Kconfig" 963 964source "arch/arm/mach-footbridge/Kconfig" 965 966source "arch/arm/mach-gemini/Kconfig" 967 968source "arch/arm/mach-highbank/Kconfig" 969 970source "arch/arm/mach-hisi/Kconfig" 971 972source "arch/arm/mach-integrator/Kconfig" 973 974source "arch/arm/mach-iop32x/Kconfig" 975 976source "arch/arm/mach-iop33x/Kconfig" 977 978source "arch/arm/mach-iop13xx/Kconfig" 979 980source "arch/arm/mach-ixp4xx/Kconfig" 981 982source "arch/arm/mach-keystone/Kconfig" 983 984source "arch/arm/mach-kirkwood/Kconfig" 985 986source "arch/arm/mach-ks8695/Kconfig" 987 988source "arch/arm/mach-msm/Kconfig" 989 990source "arch/arm/mach-moxart/Kconfig" 991 992source "arch/arm/mach-mv78xx0/Kconfig" 993 994source "arch/arm/mach-imx/Kconfig" 995 996source "arch/arm/mach-mxs/Kconfig" 997 998source "arch/arm/mach-netx/Kconfig" 999 1000source "arch/arm/mach-nomadik/Kconfig" 1001 1002source "arch/arm/mach-nspire/Kconfig" 1003 1004source "arch/arm/plat-omap/Kconfig" 1005 1006source "arch/arm/mach-omap1/Kconfig" 1007 1008source "arch/arm/mach-omap2/Kconfig" 1009 1010source "arch/arm/mach-orion5x/Kconfig" 1011 1012source "arch/arm/mach-picoxcell/Kconfig" 1013 1014source "arch/arm/mach-pxa/Kconfig" 1015source "arch/arm/plat-pxa/Kconfig" 1016 1017source "arch/arm/mach-mmp/Kconfig" 1018 1019source "arch/arm/mach-qcom/Kconfig" 1020 1021source "arch/arm/mach-realview/Kconfig" 1022 1023source "arch/arm/mach-rockchip/Kconfig" 1024 1025source "arch/arm/mach-sa1100/Kconfig" 1026 1027source "arch/arm/plat-samsung/Kconfig" 1028 1029source "arch/arm/mach-socfpga/Kconfig" 1030 1031source "arch/arm/mach-spear/Kconfig" 1032 1033source "arch/arm/mach-sti/Kconfig" 1034 1035source "arch/arm/mach-s3c24xx/Kconfig" 1036 1037source "arch/arm/mach-s3c64xx/Kconfig" 1038 1039source "arch/arm/mach-s5p64x0/Kconfig" 1040 1041source "arch/arm/mach-s5pc100/Kconfig" 1042 1043source "arch/arm/mach-s5pv210/Kconfig" 1044 1045source "arch/arm/mach-exynos/Kconfig" 1046 1047source "arch/arm/mach-shmobile/Kconfig" 1048 1049source "arch/arm/mach-sunxi/Kconfig" 1050 1051source "arch/arm/mach-prima2/Kconfig" 1052 1053source "arch/arm/mach-tegra/Kconfig" 1054 1055source "arch/arm/mach-u300/Kconfig" 1056 1057source "arch/arm/mach-ux500/Kconfig" 1058 1059source "arch/arm/mach-versatile/Kconfig" 1060 1061source "arch/arm/mach-vexpress/Kconfig" 1062source "arch/arm/plat-versatile/Kconfig" 1063 1064source "arch/arm/mach-vt8500/Kconfig" 1065 1066source "arch/arm/mach-w90x900/Kconfig" 1067 1068source "arch/arm/mach-zynq/Kconfig" 1069 1070# Definitions to make life easier 1071config ARCH_ACORN 1072 bool 1073 1074config PLAT_IOP 1075 bool 1076 select GENERIC_CLOCKEVENTS 1077 1078config PLAT_ORION 1079 bool 1080 select CLKSRC_MMIO 1081 select COMMON_CLK 1082 select GENERIC_IRQ_CHIP 1083 select IRQ_DOMAIN 1084 1085config PLAT_ORION_LEGACY 1086 bool 1087 select PLAT_ORION 1088 1089config PLAT_PXA 1090 bool 1091 1092config PLAT_VERSATILE 1093 bool 1094 1095config ARM_TIMER_SP804 1096 bool 1097 select CLKSRC_MMIO 1098 select CLKSRC_OF if OF 1099 1100source "arch/arm/firmware/Kconfig" 1101 1102source arch/arm/mm/Kconfig 1103 1104config IWMMXT 1105 bool "Enable iWMMXt support" if !CPU_PJ4 1106 depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_PJ4 1107 default y if PXA27x || PXA3xx || ARCH_MMP || CPU_PJ4 1108 help 1109 Enable support for iWMMXt context switching at run time if 1110 running on a CPU that supports it. 1111 1112config MULTI_IRQ_HANDLER 1113 bool 1114 help 1115 Allow each machine to specify it's own IRQ handler at run time. 1116 1117if !MMU 1118source "arch/arm/Kconfig-nommu" 1119endif 1120 1121config PJ4B_ERRATA_4742 1122 bool "PJ4B Errata 4742: IDLE Wake Up Commands can Cause the CPU Core to Cease Operation" 1123 depends on CPU_PJ4B && MACH_ARMADA_370 1124 default y 1125 help 1126 When coming out of either a Wait for Interrupt (WFI) or a Wait for 1127 Event (WFE) IDLE states, a specific timing sensitivity exists between 1128 the retiring WFI/WFE instructions and the newly issued subsequent 1129 instructions. This sensitivity can result in a CPU hang scenario. 1130 Workaround: 1131 The software must insert either a Data Synchronization Barrier (DSB) 1132 or Data Memory Barrier (DMB) command immediately after the WFI/WFE 1133 instruction 1134 1135config ARM_ERRATA_326103 1136 bool "ARM errata: FSR write bit incorrect on a SWP to read-only memory" 1137 depends on CPU_V6 1138 help 1139 Executing a SWP instruction to read-only memory does not set bit 11 1140 of the FSR on the ARM 1136 prior to r1p0. This causes the kernel to 1141 treat the access as a read, preventing a COW from occurring and 1142 causing the faulting task to livelock. 1143 1144config ARM_ERRATA_411920 1145 bool "ARM errata: Invalidation of the Instruction Cache operation can fail" 1146 depends on CPU_V6 || CPU_V6K 1147 help 1148 Invalidation of the Instruction Cache operation can 1149 fail. This erratum is present in 1136 (before r1p4), 1156 and 1176. 1150 It does not affect the MPCore. This option enables the ARM Ltd. 1151 recommended workaround. 1152 1153config ARM_ERRATA_430973 1154 bool "ARM errata: Stale prediction on replaced interworking branch" 1155 depends on CPU_V7 1156 help 1157 This option enables the workaround for the 430973 Cortex-A8 1158 (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb 1159 interworking branch is replaced with another code sequence at the 1160 same virtual address, whether due to self-modifying code or virtual 1161 to physical address re-mapping, Cortex-A8 does not recover from the 1162 stale interworking branch prediction. This results in Cortex-A8 1163 executing the new code sequence in the incorrect ARM or Thumb state. 1164 The workaround enables the BTB/BTAC operations by setting ACTLR.IBE 1165 and also flushes the branch target cache at every context switch. 1166 Note that setting specific bits in the ACTLR register may not be 1167 available in non-secure mode. 1168 1169config ARM_ERRATA_458693 1170 bool "ARM errata: Processor deadlock when a false hazard is created" 1171 depends on CPU_V7 1172 depends on !ARCH_MULTIPLATFORM 1173 help 1174 This option enables the workaround for the 458693 Cortex-A8 (r2p0) 1175 erratum. For very specific sequences of memory operations, it is 1176 possible for a hazard condition intended for a cache line to instead 1177 be incorrectly associated with a different cache line. This false 1178 hazard might then cause a processor deadlock. The workaround enables 1179 the L1 caching of the NEON accesses and disables the PLD instruction 1180 in the ACTLR register. Note that setting specific bits in the ACTLR 1181 register may not be available in non-secure mode. 1182 1183config ARM_ERRATA_460075 1184 bool "ARM errata: Data written to the L2 cache can be overwritten with stale data" 1185 depends on CPU_V7 1186 depends on !ARCH_MULTIPLATFORM 1187 help 1188 This option enables the workaround for the 460075 Cortex-A8 (r2p0) 1189 erratum. Any asynchronous access to the L2 cache may encounter a 1190 situation in which recent store transactions to the L2 cache are lost 1191 and overwritten with stale memory contents from external memory. The 1192 workaround disables the write-allocate mode for the L2 cache via the 1193 ACTLR register. Note that setting specific bits in the ACTLR register 1194 may not be available in non-secure mode. 1195 1196config ARM_ERRATA_742230 1197 bool "ARM errata: DMB operation may be faulty" 1198 depends on CPU_V7 && SMP 1199 depends on !ARCH_MULTIPLATFORM 1200 help 1201 This option enables the workaround for the 742230 Cortex-A9 1202 (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction 1203 between two write operations may not ensure the correct visibility 1204 ordering of the two writes. This workaround sets a specific bit in 1205 the diagnostic register of the Cortex-A9 which causes the DMB 1206 instruction to behave as a DSB, ensuring the correct behaviour of 1207 the two writes. 1208 1209config ARM_ERRATA_742231 1210 bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption" 1211 depends on CPU_V7 && SMP 1212 depends on !ARCH_MULTIPLATFORM 1213 help 1214 This option enables the workaround for the 742231 Cortex-A9 1215 (r2p0..r2p2) erratum. Under certain conditions, specific to the 1216 Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode, 1217 accessing some data located in the same cache line, may get corrupted 1218 data due to bad handling of the address hazard when the line gets 1219 replaced from one of the CPUs at the same time as another CPU is 1220 accessing it. This workaround sets specific bits in the diagnostic 1221 register of the Cortex-A9 which reduces the linefill issuing 1222 capabilities of the processor. 1223 1224config PL310_ERRATA_588369 1225 bool "PL310 errata: Clean & Invalidate maintenance operations do not invalidate clean lines" 1226 depends on CACHE_L2X0 1227 help 1228 The PL310 L2 cache controller implements three types of Clean & 1229 Invalidate maintenance operations: by Physical Address 1230 (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC). 1231 They are architecturally defined to behave as the execution of a 1232 clean operation followed immediately by an invalidate operation, 1233 both performing to the same memory location. This functionality 1234 is not correctly implemented in PL310 as clean lines are not 1235 invalidated as a result of these operations. 1236 1237config ARM_ERRATA_643719 1238 bool "ARM errata: LoUIS bit field in CLIDR register is incorrect" 1239 depends on CPU_V7 && SMP 1240 help 1241 This option enables the workaround for the 643719 Cortex-A9 (prior to 1242 r1p0) erratum. On affected cores the LoUIS bit field of the CLIDR 1243 register returns zero when it should return one. The workaround 1244 corrects this value, ensuring cache maintenance operations which use 1245 it behave as intended and avoiding data corruption. 1246 1247config ARM_ERRATA_720789 1248 bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID" 1249 depends on CPU_V7 1250 help 1251 This option enables the workaround for the 720789 Cortex-A9 (prior to 1252 r2p0) erratum. A faulty ASID can be sent to the other CPUs for the 1253 broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS. 1254 As a consequence of this erratum, some TLB entries which should be 1255 invalidated are not, resulting in an incoherency in the system page 1256 tables. The workaround changes the TLB flushing routines to invalidate 1257 entries regardless of the ASID. 1258 1259config PL310_ERRATA_727915 1260 bool "PL310 errata: Background Clean & Invalidate by Way operation can cause data corruption" 1261 depends on CACHE_L2X0 1262 help 1263 PL310 implements the Clean & Invalidate by Way L2 cache maintenance 1264 operation (offset 0x7FC). This operation runs in background so that 1265 PL310 can handle normal accesses while it is in progress. Under very 1266 rare circumstances, due to this erratum, write data can be lost when 1267 PL310 treats a cacheable write transaction during a Clean & 1268 Invalidate by Way operation. 1269 1270config ARM_ERRATA_743622 1271 bool "ARM errata: Faulty hazard checking in the Store Buffer may lead to data corruption" 1272 depends on CPU_V7 1273 depends on !ARCH_MULTIPLATFORM 1274 help 1275 This option enables the workaround for the 743622 Cortex-A9 1276 (r2p*) erratum. Under very rare conditions, a faulty 1277 optimisation in the Cortex-A9 Store Buffer may lead to data 1278 corruption. This workaround sets a specific bit in the diagnostic 1279 register of the Cortex-A9 which disables the Store Buffer 1280 optimisation, preventing the defect from occurring. This has no 1281 visible impact on the overall performance or power consumption of the 1282 processor. 1283 1284config ARM_ERRATA_751472 1285 bool "ARM errata: Interrupted ICIALLUIS may prevent completion of broadcasted operation" 1286 depends on CPU_V7 1287 depends on !ARCH_MULTIPLATFORM 1288 help 1289 This option enables the workaround for the 751472 Cortex-A9 (prior 1290 to r3p0) erratum. An interrupted ICIALLUIS operation may prevent the 1291 completion of a following broadcasted operation if the second 1292 operation is received by a CPU before the ICIALLUIS has completed, 1293 potentially leading to corrupted entries in the cache or TLB. 1294 1295config PL310_ERRATA_753970 1296 bool "PL310 errata: cache sync operation may be faulty" 1297 depends on CACHE_PL310 1298 help 1299 This option enables the workaround for the 753970 PL310 (r3p0) erratum. 1300 1301 Under some condition the effect of cache sync operation on 1302 the store buffer still remains when the operation completes. 1303 This means that the store buffer is always asked to drain and 1304 this prevents it from merging any further writes. The workaround 1305 is to replace the normal offset of cache sync operation (0x730) 1306 by another offset targeting an unmapped PL310 register 0x740. 1307 This has the same effect as the cache sync operation: store buffer 1308 drain and waiting for all buffers empty. 1309 1310config ARM_ERRATA_754322 1311 bool "ARM errata: possible faulty MMU translations following an ASID switch" 1312 depends on CPU_V7 1313 help 1314 This option enables the workaround for the 754322 Cortex-A9 (r2p*, 1315 r3p*) erratum. A speculative memory access may cause a page table walk 1316 which starts prior to an ASID switch but completes afterwards. This 1317 can populate the micro-TLB with a stale entry which may be hit with 1318 the new ASID. This workaround places two dsb instructions in the mm 1319 switching code so that no page table walks can cross the ASID switch. 1320 1321config ARM_ERRATA_754327 1322 bool "ARM errata: no automatic Store Buffer drain" 1323 depends on CPU_V7 && SMP 1324 help 1325 This option enables the workaround for the 754327 Cortex-A9 (prior to 1326 r2p0) erratum. The Store Buffer does not have any automatic draining 1327 mechanism and therefore a livelock may occur if an external agent 1328 continuously polls a memory location waiting to observe an update. 1329 This workaround defines cpu_relax() as smp_mb(), preventing correctly 1330 written polling loops from denying visibility of updates to memory. 1331 1332config ARM_ERRATA_364296 1333 bool "ARM errata: Possible cache data corruption with hit-under-miss enabled" 1334 depends on CPU_V6 1335 help 1336 This options enables the workaround for the 364296 ARM1136 1337 r0p2 erratum (possible cache data corruption with 1338 hit-under-miss enabled). It sets the undocumented bit 31 in 1339 the auxiliary control register and the FI bit in the control 1340 register, thus disabling hit-under-miss without putting the 1341 processor into full low interrupt latency mode. ARM11MPCore 1342 is not affected. 1343 1344config ARM_ERRATA_764369 1345 bool "ARM errata: Data cache line maintenance operation by MVA may not succeed" 1346 depends on CPU_V7 && SMP 1347 help 1348 This option enables the workaround for erratum 764369 1349 affecting Cortex-A9 MPCore with two or more processors (all 1350 current revisions). Under certain timing circumstances, a data 1351 cache line maintenance operation by MVA targeting an Inner 1352 Shareable memory region may fail to proceed up to either the 1353 Point of Coherency or to the Point of Unification of the 1354 system. This workaround adds a DSB instruction before the 1355 relevant cache maintenance functions and sets a specific bit 1356 in the diagnostic control register of the SCU. 1357 1358config PL310_ERRATA_769419 1359 bool "PL310 errata: no automatic Store Buffer drain" 1360 depends on CACHE_L2X0 1361 help 1362 On revisions of the PL310 prior to r3p2, the Store Buffer does 1363 not automatically drain. This can cause normal, non-cacheable 1364 writes to be retained when the memory system is idle, leading 1365 to suboptimal I/O performance for drivers using coherent DMA. 1366 This option adds a write barrier to the cpu_idle loop so that, 1367 on systems with an outer cache, the store buffer is drained 1368 explicitly. 1369 1370config ARM_ERRATA_775420 1371 bool "ARM errata: A data cache maintenance operation which aborts, might lead to deadlock" 1372 depends on CPU_V7 1373 help 1374 This option enables the workaround for the 775420 Cortex-A9 (r2p2, 1375 r2p6,r2p8,r2p10,r3p0) erratum. In case a date cache maintenance 1376 operation aborts with MMU exception, it might cause the processor 1377 to deadlock. This workaround puts DSB before executing ISB if 1378 an abort may occur on cache maintenance. 1379 1380config ARM_ERRATA_798181 1381 bool "ARM errata: TLBI/DSB failure on Cortex-A15" 1382 depends on CPU_V7 && SMP 1383 help 1384 On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not 1385 adequately shooting down all use of the old entries. This 1386 option enables the Linux kernel workaround for this erratum 1387 which sends an IPI to the CPUs that are running the same ASID 1388 as the one being invalidated. 1389 1390config ARM_ERRATA_773022 1391 bool "ARM errata: incorrect instructions may be executed from loop buffer" 1392 depends on CPU_V7 1393 help 1394 This option enables the workaround for the 773022 Cortex-A15 1395 (up to r0p4) erratum. In certain rare sequences of code, the 1396 loop buffer may deliver incorrect instructions. This 1397 workaround disables the loop buffer to avoid the erratum. 1398 1399endmenu 1400 1401source "arch/arm/common/Kconfig" 1402 1403menu "Bus support" 1404 1405config ARM_AMBA 1406 bool 1407 1408config ISA 1409 bool 1410 help 1411 Find out whether you have ISA slots on your motherboard. ISA is the 1412 name of a bus system, i.e. the way the CPU talks to the other stuff 1413 inside your box. Other bus systems are PCI, EISA, MicroChannel 1414 (MCA) or VESA. ISA is an older system, now being displaced by PCI; 1415 newer boards don't support it. If you have ISA, say Y, otherwise N. 1416 1417# Select ISA DMA controller support 1418config ISA_DMA 1419 bool 1420 select ISA_DMA_API 1421 1422# Select ISA DMA interface 1423config ISA_DMA_API 1424 bool 1425 1426config PCI 1427 bool "PCI support" if MIGHT_HAVE_PCI 1428 help 1429 Find out whether you have a PCI motherboard. PCI is the name of a 1430 bus system, i.e. the way the CPU talks to the other stuff inside 1431 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or 1432 VESA. If you have PCI, say Y, otherwise N. 1433 1434config PCI_DOMAINS 1435 bool 1436 depends on PCI 1437 1438config PCI_NANOENGINE 1439 bool "BSE nanoEngine PCI support" 1440 depends on SA1100_NANOENGINE 1441 help 1442 Enable PCI on the BSE nanoEngine board. 1443 1444config PCI_SYSCALL 1445 def_bool PCI 1446 1447config PCI_HOST_ITE8152 1448 bool 1449 depends on PCI && MACH_ARMCORE 1450 default y 1451 select DMABOUNCE 1452 1453source "drivers/pci/Kconfig" 1454source "drivers/pci/pcie/Kconfig" 1455 1456source "drivers/pcmcia/Kconfig" 1457 1458endmenu 1459 1460menu "Kernel Features" 1461 1462config HAVE_SMP 1463 bool 1464 help 1465 This option should be selected by machines which have an SMP- 1466 capable CPU. 1467 1468 The only effect of this option is to make the SMP-related 1469 options available to the user for configuration. 1470 1471config SMP 1472 bool "Symmetric Multi-Processing" 1473 depends on CPU_V6K || CPU_V7 1474 depends on GENERIC_CLOCKEVENTS 1475 depends on HAVE_SMP 1476 depends on MMU || ARM_MPU 1477 help 1478 This enables support for systems with more than one CPU. If you have 1479 a system with only one CPU, say N. If you have a system with more 1480 than one CPU, say Y. 1481 1482 If you say N here, the kernel will run on uni- and multiprocessor 1483 machines, but will use only one CPU of a multiprocessor machine. If 1484 you say Y here, the kernel will run on many, but not all, 1485 uniprocessor machines. On a uniprocessor machine, the kernel 1486 will run faster if you say N here. 1487 1488 See also <file:Documentation/x86/i386/IO-APIC.txt>, 1489 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at 1490 <http://tldp.org/HOWTO/SMP-HOWTO.html>. 1491 1492 If you don't know what to do here, say N. 1493 1494config SMP_ON_UP 1495 bool "Allow booting SMP kernel on uniprocessor systems (EXPERIMENTAL)" 1496 depends on SMP && !XIP_KERNEL && MMU 1497 default y 1498 help 1499 SMP kernels contain instructions which fail on non-SMP processors. 1500 Enabling this option allows the kernel to modify itself to make 1501 these instructions safe. Disabling it allows about 1K of space 1502 savings. 1503 1504 If you don't know what to do here, say Y. 1505 1506config ARM_CPU_TOPOLOGY 1507 bool "Support cpu topology definition" 1508 depends on SMP && CPU_V7 1509 default y 1510 help 1511 Support ARM cpu topology definition. The MPIDR register defines 1512 affinity between processors which is then used to describe the cpu 1513 topology of an ARM System. 1514 1515config SCHED_MC 1516 bool "Multi-core scheduler support" 1517 depends on ARM_CPU_TOPOLOGY 1518 help 1519 Multi-core scheduler support improves the CPU scheduler's decision 1520 making when dealing with multi-core CPU chips at a cost of slightly 1521 increased overhead in some places. If unsure say N here. 1522 1523config SCHED_SMT 1524 bool "SMT scheduler support" 1525 depends on ARM_CPU_TOPOLOGY 1526 help 1527 Improves the CPU scheduler's decision making when dealing with 1528 MultiThreading at a cost of slightly increased overhead in some 1529 places. If unsure say N here. 1530 1531config HAVE_ARM_SCU 1532 bool 1533 help 1534 This option enables support for the ARM system coherency unit 1535 1536config HAVE_ARM_ARCH_TIMER 1537 bool "Architected timer support" 1538 depends on CPU_V7 1539 select ARM_ARCH_TIMER 1540 select GENERIC_CLOCKEVENTS 1541 help 1542 This option enables support for the ARM architected timer 1543 1544config HAVE_ARM_TWD 1545 bool 1546 depends on SMP 1547 select CLKSRC_OF if OF 1548 help 1549 This options enables support for the ARM timer and watchdog unit 1550 1551config MCPM 1552 bool "Multi-Cluster Power Management" 1553 depends on CPU_V7 && SMP 1554 help 1555 This option provides the common power management infrastructure 1556 for (multi-)cluster based systems, such as big.LITTLE based 1557 systems. 1558 1559config BIG_LITTLE 1560 bool "big.LITTLE support (Experimental)" 1561 depends on CPU_V7 && SMP 1562 select MCPM 1563 help 1564 This option enables support selections for the big.LITTLE 1565 system architecture. 1566 1567config BL_SWITCHER 1568 bool "big.LITTLE switcher support" 1569 depends on BIG_LITTLE && MCPM && HOTPLUG_CPU 1570 select CPU_PM 1571 select ARM_CPU_SUSPEND 1572 help 1573 The big.LITTLE "switcher" provides the core functionality to 1574 transparently handle transition between a cluster of A15's 1575 and a cluster of A7's in a big.LITTLE system. 1576 1577config BL_SWITCHER_DUMMY_IF 1578 tristate "Simple big.LITTLE switcher user interface" 1579 depends on BL_SWITCHER && DEBUG_KERNEL 1580 help 1581 This is a simple and dummy char dev interface to control 1582 the big.LITTLE switcher core code. It is meant for 1583 debugging purposes only. 1584 1585choice 1586 prompt "Memory split" 1587 depends on MMU 1588 default VMSPLIT_3G 1589 help 1590 Select the desired split between kernel and user memory. 1591 1592 If you are not absolutely sure what you are doing, leave this 1593 option alone! 1594 1595 config VMSPLIT_3G 1596 bool "3G/1G user/kernel split" 1597 config VMSPLIT_2G 1598 bool "2G/2G user/kernel split" 1599 config VMSPLIT_1G 1600 bool "1G/3G user/kernel split" 1601endchoice 1602 1603config PAGE_OFFSET 1604 hex 1605 default PHYS_OFFSET if !MMU 1606 default 0x40000000 if VMSPLIT_1G 1607 default 0x80000000 if VMSPLIT_2G 1608 default 0xC0000000 1609 1610config NR_CPUS 1611 int "Maximum number of CPUs (2-32)" 1612 range 2 32 1613 depends on SMP 1614 default "4" 1615 1616config HOTPLUG_CPU 1617 bool "Support for hot-pluggable CPUs" 1618 depends on SMP 1619 help 1620 Say Y here to experiment with turning CPUs off and on. CPUs 1621 can be controlled through /sys/devices/system/cpu. 1622 1623config ARM_PSCI 1624 bool "Support for the ARM Power State Coordination Interface (PSCI)" 1625 depends on CPU_V7 1626 help 1627 Say Y here if you want Linux to communicate with system firmware 1628 implementing the PSCI specification for CPU-centric power 1629 management operations described in ARM document number ARM DEN 1630 0022A ("Power State Coordination Interface System Software on 1631 ARM processors"). 1632 1633# The GPIO number here must be sorted by descending number. In case of 1634# a multiplatform kernel, we just want the highest value required by the 1635# selected platforms. 1636config ARCH_NR_GPIO 1637 int 1638 default 1024 if ARCH_SHMOBILE || ARCH_TEGRA 1639 default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX 1640 default 392 if ARCH_U8500 1641 default 352 if ARCH_VT8500 1642 default 288 if ARCH_SUNXI 1643 default 264 if MACH_H4700 1644 default 0 1645 help 1646 Maximum number of GPIOs in the system. 1647 1648 If unsure, leave the default value. 1649 1650source kernel/Kconfig.preempt 1651 1652config HZ_FIXED 1653 int 1654 default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \ 1655 ARCH_S5PV210 || ARCH_EXYNOS4 1656 default AT91_TIMER_HZ if ARCH_AT91 1657 default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE_LEGACY 1658 default 0 1659 1660choice 1661 depends on HZ_FIXED = 0 1662 prompt "Timer frequency" 1663 1664config HZ_100 1665 bool "100 Hz" 1666 1667config HZ_200 1668 bool "200 Hz" 1669 1670config HZ_250 1671 bool "250 Hz" 1672 1673config HZ_300 1674 bool "300 Hz" 1675 1676config HZ_500 1677 bool "500 Hz" 1678 1679config HZ_1000 1680 bool "1000 Hz" 1681 1682endchoice 1683 1684config HZ 1685 int 1686 default HZ_FIXED if HZ_FIXED != 0 1687 default 100 if HZ_100 1688 default 200 if HZ_200 1689 default 250 if HZ_250 1690 default 300 if HZ_300 1691 default 500 if HZ_500 1692 default 1000 1693 1694config SCHED_HRTICK 1695 def_bool HIGH_RES_TIMERS 1696 1697config THUMB2_KERNEL 1698 bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY 1699 depends on (CPU_V7 || CPU_V7M) && !CPU_V6 && !CPU_V6K 1700 default y if CPU_THUMBONLY 1701 select AEABI 1702 select ARM_ASM_UNIFIED 1703 select ARM_UNWIND 1704 help 1705 By enabling this option, the kernel will be compiled in 1706 Thumb-2 mode. A compiler/assembler that understand the unified 1707 ARM-Thumb syntax is needed. 1708 1709 If unsure, say N. 1710 1711config THUMB2_AVOID_R_ARM_THM_JUMP11 1712 bool "Work around buggy Thumb-2 short branch relocations in gas" 1713 depends on THUMB2_KERNEL && MODULES 1714 default y 1715 help 1716 Various binutils versions can resolve Thumb-2 branches to 1717 locally-defined, preemptible global symbols as short-range "b.n" 1718 branch instructions. 1719 1720 This is a problem, because there's no guarantee the final 1721 destination of the symbol, or any candidate locations for a 1722 trampoline, are within range of the branch. For this reason, the 1723 kernel does not support fixing up the R_ARM_THM_JUMP11 (102) 1724 relocation in modules at all, and it makes little sense to add 1725 support. 1726 1727 The symptom is that the kernel fails with an "unsupported 1728 relocation" error when loading some modules. 1729 1730 Until fixed tools are available, passing 1731 -fno-optimize-sibling-calls to gcc should prevent gcc generating 1732 code which hits this problem, at the cost of a bit of extra runtime 1733 stack usage in some cases. 1734 1735 The problem is described in more detail at: 1736 https://bugs.launchpad.net/binutils-linaro/+bug/725126 1737 1738 Only Thumb-2 kernels are affected. 1739 1740 Unless you are sure your tools don't have this problem, say Y. 1741 1742config ARM_ASM_UNIFIED 1743 bool 1744 1745config AEABI 1746 bool "Use the ARM EABI to compile the kernel" 1747 help 1748 This option allows for the kernel to be compiled using the latest 1749 ARM ABI (aka EABI). This is only useful if you are using a user 1750 space environment that is also compiled with EABI. 1751 1752 Since there are major incompatibilities between the legacy ABI and 1753 EABI, especially with regard to structure member alignment, this 1754 option also changes the kernel syscall calling convention to 1755 disambiguate both ABIs and allow for backward compatibility support 1756 (selected with CONFIG_OABI_COMPAT). 1757 1758 To use this you need GCC version 4.0.0 or later. 1759 1760config OABI_COMPAT 1761 bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)" 1762 depends on AEABI && !THUMB2_KERNEL 1763 help 1764 This option preserves the old syscall interface along with the 1765 new (ARM EABI) one. It also provides a compatibility layer to 1766 intercept syscalls that have structure arguments which layout 1767 in memory differs between the legacy ABI and the new ARM EABI 1768 (only for non "thumb" binaries). This option adds a tiny 1769 overhead to all syscalls and produces a slightly larger kernel. 1770 1771 The seccomp filter system will not be available when this is 1772 selected, since there is no way yet to sensibly distinguish 1773 between calling conventions during filtering. 1774 1775 If you know you'll be using only pure EABI user space then you 1776 can say N here. If this option is not selected and you attempt 1777 to execute a legacy ABI binary then the result will be 1778 UNPREDICTABLE (in fact it can be predicted that it won't work 1779 at all). If in doubt say N. 1780 1781config ARCH_HAS_HOLES_MEMORYMODEL 1782 bool 1783 1784config ARCH_SPARSEMEM_ENABLE 1785 bool 1786 1787config ARCH_SPARSEMEM_DEFAULT 1788 def_bool ARCH_SPARSEMEM_ENABLE 1789 1790config ARCH_SELECT_MEMORY_MODEL 1791 def_bool ARCH_SPARSEMEM_ENABLE 1792 1793config HAVE_ARCH_PFN_VALID 1794 def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM 1795 1796config HIGHMEM 1797 bool "High Memory Support" 1798 depends on MMU 1799 help 1800 The address space of ARM processors is only 4 Gigabytes large 1801 and it has to accommodate user address space, kernel address 1802 space as well as some memory mapped IO. That means that, if you 1803 have a large amount of physical memory and/or IO, not all of the 1804 memory can be "permanently mapped" by the kernel. The physical 1805 memory that is not permanently mapped is called "high memory". 1806 1807 Depending on the selected kernel/user memory split, minimum 1808 vmalloc space and actual amount of RAM, you may not need this 1809 option which should result in a slightly faster kernel. 1810 1811 If unsure, say n. 1812 1813config HIGHPTE 1814 bool "Allocate 2nd-level pagetables from highmem" 1815 depends on HIGHMEM 1816 1817config HW_PERF_EVENTS 1818 bool "Enable hardware performance counter support for perf events" 1819 depends on PERF_EVENTS 1820 default y 1821 help 1822 Enable hardware performance counter support for perf events. If 1823 disabled, perf events will use software events only. 1824 1825config SYS_SUPPORTS_HUGETLBFS 1826 def_bool y 1827 depends on ARM_LPAE 1828 1829config HAVE_ARCH_TRANSPARENT_HUGEPAGE 1830 def_bool y 1831 depends on ARM_LPAE 1832 1833config ARCH_WANT_GENERAL_HUGETLB 1834 def_bool y 1835 1836source "mm/Kconfig" 1837 1838config FORCE_MAX_ZONEORDER 1839 int "Maximum zone order" if ARCH_SHMOBILE_LEGACY 1840 range 11 64 if ARCH_SHMOBILE_LEGACY 1841 default "12" if SOC_AM33XX 1842 default "9" if SA1111 || ARCH_EFM32 1843 default "11" 1844 help 1845 The kernel memory allocator divides physically contiguous memory 1846 blocks into "zones", where each zone is a power of two number of 1847 pages. This option selects the largest power of two that the kernel 1848 keeps in the memory allocator. If you need to allocate very large 1849 blocks of physically contiguous memory, then you may need to 1850 increase this value. 1851 1852 This config option is actually maximum order plus one. For example, 1853 a value of 11 means that the largest free memory block is 2^10 pages. 1854 1855config ALIGNMENT_TRAP 1856 bool 1857 depends on CPU_CP15_MMU 1858 default y if !ARCH_EBSA110 1859 select HAVE_PROC_CPU if PROC_FS 1860 help 1861 ARM processors cannot fetch/store information which is not 1862 naturally aligned on the bus, i.e., a 4 byte fetch must start at an 1863 address divisible by 4. On 32-bit ARM processors, these non-aligned 1864 fetch/store instructions will be emulated in software if you say 1865 here, which has a severe performance impact. This is necessary for 1866 correct operation of some network protocols. With an IP-only 1867 configuration it is safe to say N, otherwise say Y. 1868 1869config UACCESS_WITH_MEMCPY 1870 bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user()" 1871 depends on MMU 1872 default y if CPU_FEROCEON 1873 help 1874 Implement faster copy_to_user and clear_user methods for CPU 1875 cores where a 8-word STM instruction give significantly higher 1876 memory write throughput than a sequence of individual 32bit stores. 1877 1878 A possible side effect is a slight increase in scheduling latency 1879 between threads sharing the same address space if they invoke 1880 such copy operations with large buffers. 1881 1882 However, if the CPU data cache is using a write-allocate mode, 1883 this option is unlikely to provide any performance gain. 1884 1885config SECCOMP 1886 bool 1887 prompt "Enable seccomp to safely compute untrusted bytecode" 1888 ---help--- 1889 This kernel feature is useful for number crunching applications 1890 that may need to compute untrusted bytecode during their 1891 execution. By using pipes or other transports made available to 1892 the process as file descriptors supporting the read/write 1893 syscalls, it's possible to isolate those applications in 1894 their own address space using seccomp. Once seccomp is 1895 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled 1896 and the task is only allowed to execute a few safe syscalls 1897 defined by each seccomp mode. 1898 1899config SWIOTLB 1900 def_bool y 1901 1902config IOMMU_HELPER 1903 def_bool SWIOTLB 1904 1905config XEN_DOM0 1906 def_bool y 1907 depends on XEN 1908 1909config XEN 1910 bool "Xen guest support on ARM (EXPERIMENTAL)" 1911 depends on ARM && AEABI && OF 1912 depends on CPU_V7 && !CPU_V6 1913 depends on !GENERIC_ATOMIC64 1914 depends on MMU 1915 select ARM_PSCI 1916 select SWIOTLB_XEN 1917 select ARCH_DMA_ADDR_T_64BIT 1918 help 1919 Say Y if you want to run Linux in a Virtual Machine on Xen on ARM. 1920 1921endmenu 1922 1923menu "Boot options" 1924 1925config USE_OF 1926 bool "Flattened Device Tree support" 1927 select IRQ_DOMAIN 1928 select OF 1929 select OF_EARLY_FLATTREE 1930 select OF_RESERVED_MEM 1931 help 1932 Include support for flattened device tree machine descriptions. 1933 1934config ATAGS 1935 bool "Support for the traditional ATAGS boot data passing" if USE_OF 1936 default y 1937 help 1938 This is the traditional way of passing data to the kernel at boot 1939 time. If you are solely relying on the flattened device tree (or 1940 the ARM_ATAG_DTB_COMPAT option) then you may unselect this option 1941 to remove ATAGS support from your kernel binary. If unsure, 1942 leave this to y. 1943 1944config DEPRECATED_PARAM_STRUCT 1945 bool "Provide old way to pass kernel parameters" 1946 depends on ATAGS 1947 help 1948 This was deprecated in 2001 and announced to live on for 5 years. 1949 Some old boot loaders still use this way. 1950 1951# Compressed boot loader in ROM. Yes, we really want to ask about 1952# TEXT and BSS so we preserve their values in the config files. 1953config ZBOOT_ROM_TEXT 1954 hex "Compressed ROM boot loader base address" 1955 default "0" 1956 help 1957 The physical address at which the ROM-able zImage is to be 1958 placed in the target. Platforms which normally make use of 1959 ROM-able zImage formats normally set this to a suitable 1960 value in their defconfig file. 1961 1962 If ZBOOT_ROM is not enabled, this has no effect. 1963 1964config ZBOOT_ROM_BSS 1965 hex "Compressed ROM boot loader BSS address" 1966 default "0" 1967 help 1968 The base address of an area of read/write memory in the target 1969 for the ROM-able zImage which must be available while the 1970 decompressor is running. It must be large enough to hold the 1971 entire decompressed kernel plus an additional 128 KiB. 1972 Platforms which normally make use of ROM-able zImage formats 1973 normally set this to a suitable value in their defconfig file. 1974 1975 If ZBOOT_ROM is not enabled, this has no effect. 1976 1977config ZBOOT_ROM 1978 bool "Compressed boot loader in ROM/flash" 1979 depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS 1980 depends on !ARM_APPENDED_DTB && !XIP_KERNEL && !AUTO_ZRELADDR 1981 help 1982 Say Y here if you intend to execute your compressed kernel image 1983 (zImage) directly from ROM or flash. If unsure, say N. 1984 1985choice 1986 prompt "Include SD/MMC loader in zImage (EXPERIMENTAL)" 1987 depends on ZBOOT_ROM && ARCH_SH7372 1988 default ZBOOT_ROM_NONE 1989 help 1990 Include experimental SD/MMC loading code in the ROM-able zImage. 1991 With this enabled it is possible to write the ROM-able zImage 1992 kernel image to an MMC or SD card and boot the kernel straight 1993 from the reset vector. At reset the processor Mask ROM will load 1994 the first part of the ROM-able zImage which in turn loads the 1995 rest the kernel image to RAM. 1996 1997config ZBOOT_ROM_NONE 1998 bool "No SD/MMC loader in zImage (EXPERIMENTAL)" 1999 help 2000 Do not load image from SD or MMC 2001 2002config ZBOOT_ROM_MMCIF 2003 bool "Include MMCIF loader in zImage (EXPERIMENTAL)" 2004 help 2005 Load image from MMCIF hardware block. 2006 2007config ZBOOT_ROM_SH_MOBILE_SDHI 2008 bool "Include SuperH Mobile SDHI loader in zImage (EXPERIMENTAL)" 2009 help 2010 Load image from SDHI hardware block 2011 2012endchoice 2013 2014config ARM_APPENDED_DTB 2015 bool "Use appended device tree blob to zImage (EXPERIMENTAL)" 2016 depends on OF 2017 help 2018 With this option, the boot code will look for a device tree binary 2019 (DTB) appended to zImage 2020 (e.g. cat zImage <filename>.dtb > zImage_w_dtb). 2021 2022 This is meant as a backward compatibility convenience for those 2023 systems with a bootloader that can't be upgraded to accommodate 2024 the documented boot protocol using a device tree. 2025 2026 Beware that there is very little in terms of protection against 2027 this option being confused by leftover garbage in memory that might 2028 look like a DTB header after a reboot if no actual DTB is appended 2029 to zImage. Do not leave this option active in a production kernel 2030 if you don't intend to always append a DTB. Proper passing of the 2031 location into r2 of a bootloader provided DTB is always preferable 2032 to this option. 2033 2034config ARM_ATAG_DTB_COMPAT 2035 bool "Supplement the appended DTB with traditional ATAG information" 2036 depends on ARM_APPENDED_DTB 2037 help 2038 Some old bootloaders can't be updated to a DTB capable one, yet 2039 they provide ATAGs with memory configuration, the ramdisk address, 2040 the kernel cmdline string, etc. Such information is dynamically 2041 provided by the bootloader and can't always be stored in a static 2042 DTB. To allow a device tree enabled kernel to be used with such 2043 bootloaders, this option allows zImage to extract the information 2044 from the ATAG list and store it at run time into the appended DTB. 2045 2046choice 2047 prompt "Kernel command line type" if ARM_ATAG_DTB_COMPAT 2048 default ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER 2049 2050config ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER 2051 bool "Use bootloader kernel arguments if available" 2052 help 2053 Uses the command-line options passed by the boot loader instead of 2054 the device tree bootargs property. If the boot loader doesn't provide 2055 any, the device tree bootargs property will be used. 2056 2057config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND 2058 bool "Extend with bootloader kernel arguments" 2059 help 2060 The command-line arguments provided by the boot loader will be 2061 appended to the the device tree bootargs property. 2062 2063endchoice 2064 2065config CMDLINE 2066 string "Default kernel command string" 2067 default "" 2068 help 2069 On some architectures (EBSA110 and CATS), there is currently no way 2070 for the boot loader to pass arguments to the kernel. For these 2071 architectures, you should supply some command-line options at build 2072 time by entering them here. As a minimum, you should specify the 2073 memory size and the root device (e.g., mem=64M root=/dev/nfs). 2074 2075choice 2076 prompt "Kernel command line type" if CMDLINE != "" 2077 default CMDLINE_FROM_BOOTLOADER 2078 depends on ATAGS 2079 2080config CMDLINE_FROM_BOOTLOADER 2081 bool "Use bootloader kernel arguments if available" 2082 help 2083 Uses the command-line options passed by the boot loader. If 2084 the boot loader doesn't provide any, the default kernel command 2085 string provided in CMDLINE will be used. 2086 2087config CMDLINE_EXTEND 2088 bool "Extend bootloader kernel arguments" 2089 help 2090 The command-line arguments provided by the boot loader will be 2091 appended to the default kernel command string. 2092 2093config CMDLINE_FORCE 2094 bool "Always use the default kernel command string" 2095 help 2096 Always use the default kernel command string, even if the boot 2097 loader passes other arguments to the kernel. 2098 This is useful if you cannot or don't want to change the 2099 command-line options your boot loader passes to the kernel. 2100endchoice 2101 2102config XIP_KERNEL 2103 bool "Kernel Execute-In-Place from ROM" 2104 depends on !ARM_LPAE && !ARCH_MULTIPLATFORM 2105 help 2106 Execute-In-Place allows the kernel to run from non-volatile storage 2107 directly addressable by the CPU, such as NOR flash. This saves RAM 2108 space since the text section of the kernel is not loaded from flash 2109 to RAM. Read-write sections, such as the data section and stack, 2110 are still copied to RAM. The XIP kernel is not compressed since 2111 it has to run directly from flash, so it will take more space to 2112 store it. The flash address used to link the kernel object files, 2113 and for storing it, is configuration dependent. Therefore, if you 2114 say Y here, you must know the proper physical address where to 2115 store the kernel image depending on your own flash memory usage. 2116 2117 Also note that the make target becomes "make xipImage" rather than 2118 "make zImage" or "make Image". The final kernel binary to put in 2119 ROM memory will be arch/arm/boot/xipImage. 2120 2121 If unsure, say N. 2122 2123config XIP_PHYS_ADDR 2124 hex "XIP Kernel Physical Location" 2125 depends on XIP_KERNEL 2126 default "0x00080000" 2127 help 2128 This is the physical address in your flash memory the kernel will 2129 be linked for and stored to. This address is dependent on your 2130 own flash usage. 2131 2132config KEXEC 2133 bool "Kexec system call (EXPERIMENTAL)" 2134 depends on (!SMP || PM_SLEEP_SMP) 2135 help 2136 kexec is a system call that implements the ability to shutdown your 2137 current kernel, and to start another kernel. It is like a reboot 2138 but it is independent of the system firmware. And like a reboot 2139 you can start any kernel with it, not just Linux. 2140 2141 It is an ongoing process to be certain the hardware in a machine 2142 is properly shutdown, so do not be surprised if this code does not 2143 initially work for you. 2144 2145config ATAGS_PROC 2146 bool "Export atags in procfs" 2147 depends on ATAGS && KEXEC 2148 default y 2149 help 2150 Should the atags used to boot the kernel be exported in an "atags" 2151 file in procfs. Useful with kexec. 2152 2153config CRASH_DUMP 2154 bool "Build kdump crash kernel (EXPERIMENTAL)" 2155 help 2156 Generate crash dump after being started by kexec. This should 2157 be normally only set in special crash dump kernels which are 2158 loaded in the main kernel with kexec-tools into a specially 2159 reserved region and then later executed after a crash by 2160 kdump/kexec. The crash dump kernel must be compiled to a 2161 memory address not used by the main kernel 2162 2163 For more details see Documentation/kdump/kdump.txt 2164 2165config AUTO_ZRELADDR 2166 bool "Auto calculation of the decompressed kernel image address" 2167 help 2168 ZRELADDR is the physical address where the decompressed kernel 2169 image will be placed. If AUTO_ZRELADDR is selected, the address 2170 will be determined at run-time by masking the current IP with 2171 0xf8000000. This assumes the zImage being placed in the first 128MB 2172 from start of memory. 2173 2174endmenu 2175 2176menu "CPU Power Management" 2177 2178if ARCH_HAS_CPUFREQ 2179source "drivers/cpufreq/Kconfig" 2180endif 2181 2182source "drivers/cpuidle/Kconfig" 2183 2184endmenu 2185 2186menu "Floating point emulation" 2187 2188comment "At least one emulation must be selected" 2189 2190config FPE_NWFPE 2191 bool "NWFPE math emulation" 2192 depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL 2193 ---help--- 2194 Say Y to include the NWFPE floating point emulator in the kernel. 2195 This is necessary to run most binaries. Linux does not currently 2196 support floating point hardware so you need to say Y here even if 2197 your machine has an FPA or floating point co-processor podule. 2198 2199 You may say N here if you are going to load the Acorn FPEmulator 2200 early in the bootup. 2201 2202config FPE_NWFPE_XP 2203 bool "Support extended precision" 2204 depends on FPE_NWFPE 2205 help 2206 Say Y to include 80-bit support in the kernel floating-point 2207 emulator. Otherwise, only 32 and 64-bit support is compiled in. 2208 Note that gcc does not generate 80-bit operations by default, 2209 so in most cases this option only enlarges the size of the 2210 floating point emulator without any good reason. 2211 2212 You almost surely want to say N here. 2213 2214config FPE_FASTFPE 2215 bool "FastFPE math emulation (EXPERIMENTAL)" 2216 depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 2217 ---help--- 2218 Say Y here to include the FAST floating point emulator in the kernel. 2219 This is an experimental much faster emulator which now also has full 2220 precision for the mantissa. It does not support any exceptions. 2221 It is very simple, and approximately 3-6 times faster than NWFPE. 2222 2223 It should be sufficient for most programs. It may be not suitable 2224 for scientific calculations, but you have to check this for yourself. 2225 If you do not feel you need a faster FP emulation you should better 2226 choose NWFPE. 2227 2228config VFP 2229 bool "VFP-format floating point maths" 2230 depends on CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON 2231 help 2232 Say Y to include VFP support code in the kernel. This is needed 2233 if your hardware includes a VFP unit. 2234 2235 Please see <file:Documentation/arm/VFP/release-notes.txt> for 2236 release notes and additional status information. 2237 2238 Say N if your target does not have VFP hardware. 2239 2240config VFPv3 2241 bool 2242 depends on VFP 2243 default y if CPU_V7 2244 2245config NEON 2246 bool "Advanced SIMD (NEON) Extension support" 2247 depends on VFPv3 && CPU_V7 2248 help 2249 Say Y to include support code for NEON, the ARMv7 Advanced SIMD 2250 Extension. 2251 2252config KERNEL_MODE_NEON 2253 bool "Support for NEON in kernel mode" 2254 depends on NEON && AEABI 2255 help 2256 Say Y to include support for NEON in kernel mode. 2257 2258endmenu 2259 2260menu "Userspace binary formats" 2261 2262source "fs/Kconfig.binfmt" 2263 2264config ARTHUR 2265 tristate "RISC OS personality" 2266 depends on !AEABI 2267 help 2268 Say Y here to include the kernel code necessary if you want to run 2269 Acorn RISC OS/Arthur binaries under Linux. This code is still very 2270 experimental; if this sounds frightening, say N and sleep in peace. 2271 You can also say M here to compile this support as a module (which 2272 will be called arthur). 2273 2274endmenu 2275 2276menu "Power management options" 2277 2278source "kernel/power/Kconfig" 2279 2280config ARCH_SUSPEND_POSSIBLE 2281 depends on !ARCH_S5PC100 2282 depends on CPU_ARM920T || CPU_ARM926T || CPU_FEROCEON || CPU_SA1100 || \ 2283 CPU_V6 || CPU_V6K || CPU_V7 || CPU_V7M || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK 2284 def_bool y 2285 2286config ARM_CPU_SUSPEND 2287 def_bool PM_SLEEP 2288 2289config ARCH_HIBERNATION_POSSIBLE 2290 bool 2291 depends on MMU 2292 default y if ARCH_SUSPEND_POSSIBLE 2293 2294endmenu 2295 2296source "net/Kconfig" 2297 2298source "drivers/Kconfig" 2299 2300source "fs/Kconfig" 2301 2302source "arch/arm/Kconfig.debug" 2303 2304source "security/Kconfig" 2305 2306source "crypto/Kconfig" 2307 2308source "lib/Kconfig" 2309 2310source "arch/arm/kvm/Kconfig" 2311