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