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