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