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