Merge branch 'msm-core' of git://codeaurora.org/quic/kernel/dwalker/linux-msm into...
[pandora-kernel.git] / arch / arm / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux Kernel Configuration"
7
8 config ARM
9         bool
10         default y
11         select HAVE_AOUT
12         select HAVE_IDE
13         select HAVE_MEMBLOCK
14         select RTC_LIB
15         select SYS_SUPPORTS_APM_EMULATION
16         select GENERIC_ATOMIC64 if (!CPU_32v6K)
17         select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
18         select HAVE_ARCH_KGDB
19         select HAVE_KPROBES if (!XIP_KERNEL)
20         select HAVE_KRETPROBES if (HAVE_KPROBES)
21         select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
22         select HAVE_GENERIC_DMA_COHERENT
23         select HAVE_KERNEL_GZIP
24         select HAVE_KERNEL_LZO
25         select HAVE_KERNEL_LZMA
26         select HAVE_PERF_EVENTS
27         select PERF_USE_VMALLOC
28         select HAVE_REGS_AND_STACK_ACCESS_API
29         help
30           The ARM series is a line of low-power-consumption RISC chip designs
31           licensed by ARM Ltd and targeted at embedded applications and
32           handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
33           manufactured, but legacy ARM-based PC hardware remains popular in
34           Europe.  There is an ARM Linux project with a web page at
35           <http://www.arm.linux.org.uk/>.
36
37 config HAVE_PWM
38         bool
39
40 config SYS_SUPPORTS_APM_EMULATION
41         bool
42
43 config GENERIC_GPIO
44         bool
45
46 config ARCH_USES_GETTIMEOFFSET
47         bool
48         default n
49
50 config GENERIC_CLOCKEVENTS
51         bool
52
53 config GENERIC_CLOCKEVENTS_BROADCAST
54         bool
55         depends on GENERIC_CLOCKEVENTS
56         default y if SMP
57
58 config HAVE_TCM
59         bool
60         select GENERIC_ALLOCATOR
61
62 config HAVE_PROC_CPU
63         bool
64
65 config NO_IOPORT
66         bool
67
68 config EISA
69         bool
70         ---help---
71           The Extended Industry Standard Architecture (EISA) bus was
72           developed as an open alternative to the IBM MicroChannel bus.
73
74           The EISA bus provided some of the features of the IBM MicroChannel
75           bus while maintaining backward compatibility with cards made for
76           the older ISA bus.  The EISA bus saw limited use between 1988 and
77           1995 when it was made obsolete by the PCI bus.
78
79           Say Y here if you are building a kernel for an EISA-based machine.
80
81           Otherwise, say N.
82
83 config SBUS
84         bool
85
86 config MCA
87         bool
88         help
89           MicroChannel Architecture is found in some IBM PS/2 machines and
90           laptops.  It is a bus system similar to PCI or ISA. See
91           <file:Documentation/mca.txt> (and especially the web page given
92           there) before attempting to build an MCA bus kernel.
93
94 config GENERIC_HARDIRQS
95         bool
96         default y
97
98 config STACKTRACE_SUPPORT
99         bool
100         default y
101
102 config HAVE_LATENCYTOP_SUPPORT
103         bool
104         depends on !SMP
105         default y
106
107 config LOCKDEP_SUPPORT
108         bool
109         default y
110
111 config TRACE_IRQFLAGS_SUPPORT
112         bool
113         default y
114
115 config HARDIRQS_SW_RESEND
116         bool
117         default y
118
119 config GENERIC_IRQ_PROBE
120         bool
121         default y
122
123 config GENERIC_LOCKBREAK
124         bool
125         default y
126         depends on SMP && PREEMPT
127
128 config RWSEM_GENERIC_SPINLOCK
129         bool
130         default y
131
132 config RWSEM_XCHGADD_ALGORITHM
133         bool
134
135 config ARCH_HAS_ILOG2_U32
136         bool
137
138 config ARCH_HAS_ILOG2_U64
139         bool
140
141 config ARCH_HAS_CPUFREQ
142         bool
143         help
144           Internal node to signify that the ARCH has CPUFREQ support
145           and that the relevant menu configurations are displayed for
146           it.
147
148 config GENERIC_HWEIGHT
149         bool
150         default y
151
152 config GENERIC_CALIBRATE_DELAY
153         bool
154         default y
155
156 config ARCH_MAY_HAVE_PC_FDC
157         bool
158
159 config ZONE_DMA
160         bool
161
162 config NEED_DMA_MAP_STATE
163        def_bool y
164
165 config GENERIC_ISA_DMA
166         bool
167
168 config FIQ
169         bool
170
171 config ARCH_MTD_XIP
172         bool
173
174 config GENERIC_HARDIRQS_NO__DO_IRQ
175         def_bool y
176
177 config ARM_L1_CACHE_SHIFT_6
178         bool
179         help
180           Setting ARM L1 cache line size to 64 Bytes.
181
182 config VECTORS_BASE
183         hex
184         default 0xffff0000 if MMU || CPU_HIGH_VECTOR
185         default DRAM_BASE if REMAP_VECTORS_TO_RAM
186         default 0x00000000
187         help
188           The base address of exception vectors.
189
190 source "init/Kconfig"
191
192 source "kernel/Kconfig.freezer"
193
194 menu "System Type"
195
196 config MMU
197         bool "MMU-based Paged Memory Management Support"
198         default y
199         help
200           Select if you want MMU-based virtualised addressing space
201           support by paged memory management. If unsure, say 'Y'.
202
203 #
204 # The "ARM system type" choice list is ordered alphabetically by option
205 # text.  Please add new entries in the option alphabetic order.
206 #
207 choice
208         prompt "ARM system type"
209         default ARCH_VERSATILE
210
211 config ARCH_AAEC2000
212         bool "Agilent AAEC-2000 based"
213         select CPU_ARM920T
214         select ARM_AMBA
215         select HAVE_CLK
216         select ARCH_USES_GETTIMEOFFSET
217         help
218           This enables support for systems based on the Agilent AAEC-2000
219
220 config ARCH_INTEGRATOR
221         bool "ARM Ltd. Integrator family"
222         select ARM_AMBA
223         select ARCH_HAS_CPUFREQ
224         select COMMON_CLKDEV
225         select ICST
226         select GENERIC_CLOCKEVENTS
227         select PLAT_VERSATILE
228         help
229           Support for ARM's Integrator platform.
230
231 config ARCH_REALVIEW
232         bool "ARM Ltd. RealView family"
233         select ARM_AMBA
234         select COMMON_CLKDEV
235         select ICST
236         select GENERIC_CLOCKEVENTS
237         select ARCH_WANT_OPTIONAL_GPIOLIB
238         select PLAT_VERSATILE
239         select ARM_TIMER_SP804
240         select GPIO_PL061 if GPIOLIB
241         help
242           This enables support for ARM Ltd RealView boards.
243
244 config ARCH_VERSATILE
245         bool "ARM Ltd. Versatile family"
246         select ARM_AMBA
247         select ARM_VIC
248         select COMMON_CLKDEV
249         select ICST
250         select GENERIC_CLOCKEVENTS
251         select ARCH_WANT_OPTIONAL_GPIOLIB
252         select PLAT_VERSATILE
253         select ARM_TIMER_SP804
254         help
255           This enables support for ARM Ltd Versatile board.
256
257 config ARCH_VEXPRESS
258         bool "ARM Ltd. Versatile Express family"
259         select ARCH_WANT_OPTIONAL_GPIOLIB
260         select ARM_AMBA
261         select ARM_TIMER_SP804
262         select COMMON_CLKDEV
263         select GENERIC_CLOCKEVENTS
264         select HAVE_CLK
265         select ICST
266         select PLAT_VERSATILE
267         help
268           This enables support for the ARM Ltd Versatile Express boards.
269
270 config ARCH_AT91
271         bool "Atmel AT91"
272         select ARCH_REQUIRE_GPIOLIB
273         select HAVE_CLK
274         help
275           This enables support for systems based on the Atmel AT91RM9200,
276           AT91SAM9 and AT91CAP9 processors.
277
278 config ARCH_BCMRING
279         bool "Broadcom BCMRING"
280         depends on MMU
281         select CPU_V6
282         select ARM_AMBA
283         select COMMON_CLKDEV
284         select GENERIC_CLOCKEVENTS
285         select ARCH_WANT_OPTIONAL_GPIOLIB
286         help
287           Support for Broadcom's BCMRing platform.
288
289 config ARCH_CLPS711X
290         bool "Cirrus Logic CLPS711x/EP721x-based"
291         select CPU_ARM720T
292         select ARCH_USES_GETTIMEOFFSET
293         help
294           Support for Cirrus Logic 711x/721x based boards.
295
296 config ARCH_CNS3XXX
297         bool "Cavium Networks CNS3XXX family"
298         select CPU_V6
299         select GENERIC_CLOCKEVENTS
300         select ARM_GIC
301         select PCI_DOMAINS if PCI
302         help
303           Support for Cavium Networks CNS3XXX platform.
304
305 config ARCH_GEMINI
306         bool "Cortina Systems Gemini"
307         select CPU_FA526
308         select ARCH_REQUIRE_GPIOLIB
309         select ARCH_USES_GETTIMEOFFSET
310         help
311           Support for the Cortina Systems Gemini family SoCs
312
313 config ARCH_EBSA110
314         bool "EBSA-110"
315         select CPU_SA110
316         select ISA
317         select NO_IOPORT
318         select ARCH_USES_GETTIMEOFFSET
319         help
320           This is an evaluation board for the StrongARM processor available
321           from Digital. It has limited hardware on-board, including an
322           Ethernet interface, two PCMCIA sockets, two serial ports and a
323           parallel port.
324
325 config ARCH_EP93XX
326         bool "EP93xx-based"
327         select CPU_ARM920T
328         select ARM_AMBA
329         select ARM_VIC
330         select COMMON_CLKDEV
331         select ARCH_REQUIRE_GPIOLIB
332         select ARCH_HAS_HOLES_MEMORYMODEL
333         select ARCH_USES_GETTIMEOFFSET
334         help
335           This enables support for the Cirrus EP93xx series of CPUs.
336
337 config ARCH_FOOTBRIDGE
338         bool "FootBridge"
339         select CPU_SA110
340         select FOOTBRIDGE
341         select ARCH_USES_GETTIMEOFFSET
342         help
343           Support for systems based on the DC21285 companion chip
344           ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
345
346 config ARCH_MXC
347         bool "Freescale MXC/iMX-based"
348         select GENERIC_CLOCKEVENTS
349         select ARCH_REQUIRE_GPIOLIB
350         select COMMON_CLKDEV
351         help
352           Support for Freescale MXC/iMX-based family of processors
353
354 config ARCH_STMP3XXX
355         bool "Freescale STMP3xxx"
356         select CPU_ARM926T
357         select COMMON_CLKDEV
358         select ARCH_REQUIRE_GPIOLIB
359         select GENERIC_CLOCKEVENTS
360         select USB_ARCH_HAS_EHCI
361         help
362           Support for systems based on the Freescale 3xxx CPUs.
363
364 config ARCH_NETX
365         bool "Hilscher NetX based"
366         select CPU_ARM926T
367         select ARM_VIC
368         select GENERIC_CLOCKEVENTS
369         help
370           This enables support for systems based on the Hilscher NetX Soc
371
372 config ARCH_H720X
373         bool "Hynix HMS720x-based"
374         select CPU_ARM720T
375         select ISA_DMA_API
376         select ARCH_USES_GETTIMEOFFSET
377         help
378           This enables support for systems based on the Hynix HMS720x
379
380 config ARCH_IOP13XX
381         bool "IOP13xx-based"
382         depends on MMU
383         select CPU_XSC3
384         select PLAT_IOP
385         select PCI
386         select ARCH_SUPPORTS_MSI
387         select VMSPLIT_1G
388         help
389           Support for Intel's IOP13XX (XScale) family of processors.
390
391 config ARCH_IOP32X
392         bool "IOP32x-based"
393         depends on MMU
394         select CPU_XSCALE
395         select PLAT_IOP
396         select PCI
397         select ARCH_REQUIRE_GPIOLIB
398         help
399           Support for Intel's 80219 and IOP32X (XScale) family of
400           processors.
401
402 config ARCH_IOP33X
403         bool "IOP33x-based"
404         depends on MMU
405         select CPU_XSCALE
406         select PLAT_IOP
407         select PCI
408         select ARCH_REQUIRE_GPIOLIB
409         help
410           Support for Intel's IOP33X (XScale) family of processors.
411
412 config ARCH_IXP23XX
413         bool "IXP23XX-based"
414         depends on MMU
415         select CPU_XSC3
416         select PCI
417         select ARCH_USES_GETTIMEOFFSET
418         help
419           Support for Intel's IXP23xx (XScale) family of processors.
420
421 config ARCH_IXP2000
422         bool "IXP2400/2800-based"
423         depends on MMU
424         select CPU_XSCALE
425         select PCI
426         select ARCH_USES_GETTIMEOFFSET
427         help
428           Support for Intel's IXP2400/2800 (XScale) family of processors.
429
430 config ARCH_IXP4XX
431         bool "IXP4xx-based"
432         depends on MMU
433         select CPU_XSCALE
434         select GENERIC_GPIO
435         select GENERIC_CLOCKEVENTS
436         select DMABOUNCE if PCI
437         help
438           Support for Intel's IXP4XX (XScale) family of processors.
439
440 config ARCH_DOVE
441         bool "Marvell Dove"
442         select PCI
443         select ARCH_REQUIRE_GPIOLIB
444         select GENERIC_CLOCKEVENTS
445         select PLAT_ORION
446         help
447           Support for the Marvell Dove SoC 88AP510
448
449 config ARCH_KIRKWOOD
450         bool "Marvell Kirkwood"
451         select CPU_FEROCEON
452         select PCI
453         select ARCH_REQUIRE_GPIOLIB
454         select GENERIC_CLOCKEVENTS
455         select PLAT_ORION
456         help
457           Support for the following Marvell Kirkwood series SoCs:
458           88F6180, 88F6192 and 88F6281.
459
460 config ARCH_LOKI
461         bool "Marvell Loki (88RC8480)"
462         select CPU_FEROCEON
463         select GENERIC_CLOCKEVENTS
464         select PLAT_ORION
465         help
466           Support for the Marvell Loki (88RC8480) SoC.
467
468 config ARCH_LPC32XX
469         bool "NXP LPC32XX"
470         select CPU_ARM926T
471         select ARCH_REQUIRE_GPIOLIB
472         select HAVE_IDE
473         select ARM_AMBA
474         select USB_ARCH_HAS_OHCI
475         select COMMON_CLKDEV
476         select GENERIC_TIME
477         select GENERIC_CLOCKEVENTS
478         help
479           Support for the NXP LPC32XX family of processors
480
481 config ARCH_MV78XX0
482         bool "Marvell MV78xx0"
483         select CPU_FEROCEON
484         select PCI
485         select ARCH_REQUIRE_GPIOLIB
486         select GENERIC_CLOCKEVENTS
487         select PLAT_ORION
488         help
489           Support for the following Marvell MV78xx0 series SoCs:
490           MV781x0, MV782x0.
491
492 config ARCH_ORION5X
493         bool "Marvell Orion"
494         depends on MMU
495         select CPU_FEROCEON
496         select PCI
497         select ARCH_REQUIRE_GPIOLIB
498         select GENERIC_CLOCKEVENTS
499         select PLAT_ORION
500         help
501           Support for the following Marvell Orion 5x series SoCs:
502           Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
503           Orion-2 (5281), Orion-1-90 (6183).
504
505 config ARCH_MMP
506         bool "Marvell PXA168/910/MMP2"
507         depends on MMU
508         select ARCH_REQUIRE_GPIOLIB
509         select COMMON_CLKDEV
510         select GENERIC_CLOCKEVENTS
511         select TICK_ONESHOT
512         select PLAT_PXA
513         select SPARSE_IRQ
514         help
515           Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
516
517 config ARCH_KS8695
518         bool "Micrel/Kendin KS8695"
519         select CPU_ARM922T
520         select ARCH_REQUIRE_GPIOLIB
521         select ARCH_USES_GETTIMEOFFSET
522         help
523           Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
524           System-on-Chip devices.
525
526 config ARCH_NS9XXX
527         bool "NetSilicon NS9xxx"
528         select CPU_ARM926T
529         select GENERIC_GPIO
530         select GENERIC_CLOCKEVENTS
531         select HAVE_CLK
532         help
533           Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
534           System.
535
536           <http://www.digi.com/products/microprocessors/index.jsp>
537
538 config ARCH_W90X900
539         bool "Nuvoton W90X900 CPU"
540         select CPU_ARM926T
541         select ARCH_REQUIRE_GPIOLIB
542         select COMMON_CLKDEV
543         select GENERIC_CLOCKEVENTS
544         help
545           Support for Nuvoton (Winbond logic dept.) ARM9 processor,
546           At present, the w90x900 has been renamed nuc900, regarding
547           the ARM series product line, you can login the following
548           link address to know more.
549
550           <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
551                 ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
552
553 config ARCH_NUC93X
554         bool "Nuvoton NUC93X CPU"
555         select CPU_ARM926T
556         select COMMON_CLKDEV
557         help
558           Support for Nuvoton (Winbond logic dept.) NUC93X MCU,The NUC93X is a
559           low-power and high performance MPEG-4/JPEG multimedia controller chip.
560
561 config ARCH_TEGRA
562         bool "NVIDIA Tegra"
563         select GENERIC_TIME
564         select GENERIC_CLOCKEVENTS
565         select GENERIC_GPIO
566         select HAVE_CLK
567         select COMMON_CLKDEV
568         select ARCH_HAS_BARRIERS if CACHE_L2X0
569         help
570           This enables support for NVIDIA Tegra based systems (Tegra APX,
571           Tegra 6xx and Tegra 2 series).
572
573 config ARCH_PNX4008
574         bool "Philips Nexperia PNX4008 Mobile"
575         select CPU_ARM926T
576         select COMMON_CLKDEV
577         select ARCH_USES_GETTIMEOFFSET
578         help
579           This enables support for Philips PNX4008 mobile platform.
580
581 config ARCH_PXA
582         bool "PXA2xx/PXA3xx-based"
583         depends on MMU
584         select ARCH_MTD_XIP
585         select ARCH_HAS_CPUFREQ
586         select COMMON_CLKDEV
587         select ARCH_REQUIRE_GPIOLIB
588         select GENERIC_CLOCKEVENTS
589         select TICK_ONESHOT
590         select PLAT_PXA
591         select SPARSE_IRQ
592         help
593           Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
594
595 config ARCH_MSM
596         bool "Qualcomm MSM"
597         select HAVE_CLK
598         select GENERIC_CLOCKEVENTS
599         select ARCH_REQUIRE_GPIOLIB
600         help
601           Support for Qualcomm MSM/QSD based systems.  This runs on the
602           apps processor of the MSM/QSD and depends on a shared memory
603           interface to the modem processor which runs the baseband
604           stack and controls some vital subsystems
605           (clock and power control, etc).
606
607 config ARCH_SHMOBILE
608         bool "Renesas SH-Mobile"
609         help
610           Support for Renesas's SH-Mobile ARM platforms
611
612 config ARCH_RPC
613         bool "RiscPC"
614         select ARCH_ACORN
615         select FIQ
616         select TIMER_ACORN
617         select ARCH_MAY_HAVE_PC_FDC
618         select HAVE_PATA_PLATFORM
619         select ISA_DMA_API
620         select NO_IOPORT
621         select ARCH_SPARSEMEM_ENABLE
622         select ARCH_USES_GETTIMEOFFSET
623         help
624           On the Acorn Risc-PC, Linux can support the internal IDE disk and
625           CD-ROM interface, serial and parallel port, and the floppy drive.
626
627 config ARCH_SA1100
628         bool "SA1100-based"
629         select CPU_SA1100
630         select ISA
631         select ARCH_SPARSEMEM_ENABLE
632         select ARCH_MTD_XIP
633         select ARCH_HAS_CPUFREQ
634         select CPU_FREQ
635         select GENERIC_CLOCKEVENTS
636         select HAVE_CLK
637         select TICK_ONESHOT
638         select ARCH_REQUIRE_GPIOLIB
639         help
640           Support for StrongARM 11x0 based boards.
641
642 config ARCH_S3C2410
643         bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450"
644         select GENERIC_GPIO
645         select ARCH_HAS_CPUFREQ
646         select HAVE_CLK
647         select ARCH_USES_GETTIMEOFFSET
648         select HAVE_S3C2410_I2C
649         help
650           Samsung S3C2410X CPU based systems, such as the Simtec Electronics
651           BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
652           the Samsung SMDK2410 development board (and derivatives).
653
654           Note, the S3C2416 and the S3C2450 are so close that they even share
655           the same SoC ID code. This means that there is no seperate machine
656           directory (no arch/arm/mach-s3c2450) as the S3C2416 was first.
657
658 config ARCH_S3C64XX
659         bool "Samsung S3C64XX"
660         select PLAT_SAMSUNG
661         select CPU_V6
662         select ARM_VIC
663         select HAVE_CLK
664         select NO_IOPORT
665         select ARCH_USES_GETTIMEOFFSET
666         select ARCH_HAS_CPUFREQ
667         select ARCH_REQUIRE_GPIOLIB
668         select SAMSUNG_CLKSRC
669         select SAMSUNG_IRQ_VIC_TIMER
670         select SAMSUNG_IRQ_UART
671         select S3C_GPIO_TRACK
672         select S3C_GPIO_PULL_UPDOWN
673         select S3C_GPIO_CFG_S3C24XX
674         select S3C_GPIO_CFG_S3C64XX
675         select S3C_DEV_NAND
676         select USB_ARCH_HAS_OHCI
677         select SAMSUNG_GPIOLIB_4BIT
678         select HAVE_S3C2410_I2C
679         select HAVE_S3C2410_WATCHDOG
680         help
681           Samsung S3C64XX series based systems
682
683 config ARCH_S5P6440
684         bool "Samsung S5P6440"
685         select CPU_V6
686         select GENERIC_GPIO
687         select HAVE_CLK
688         select HAVE_S3C2410_WATCHDOG
689         select ARCH_USES_GETTIMEOFFSET
690         select HAVE_S3C2410_I2C
691         select HAVE_S3C_RTC
692         help
693           Samsung S5P6440 CPU based systems
694
695 config ARCH_S5P6442
696         bool "Samsung S5P6442"
697         select CPU_V6
698         select GENERIC_GPIO
699         select HAVE_CLK
700         select ARCH_USES_GETTIMEOFFSET
701         select HAVE_S3C2410_WATCHDOG
702         help
703           Samsung S5P6442 CPU based systems
704
705 config ARCH_S5PC100
706         bool "Samsung S5PC100"
707         select GENERIC_GPIO
708         select HAVE_CLK
709         select CPU_V7
710         select ARM_L1_CACHE_SHIFT_6
711         select ARCH_USES_GETTIMEOFFSET
712         select HAVE_S3C2410_I2C
713         select HAVE_S3C_RTC
714         select HAVE_S3C2410_WATCHDOG
715         help
716           Samsung S5PC100 series based systems
717
718 config ARCH_S5PV210
719         bool "Samsung S5PV210/S5PC110"
720         select CPU_V7
721         select GENERIC_GPIO
722         select HAVE_CLK
723         select ARM_L1_CACHE_SHIFT_6
724         select ARCH_USES_GETTIMEOFFSET
725         select HAVE_S3C2410_I2C
726         select HAVE_S3C_RTC
727         select HAVE_S3C2410_WATCHDOG
728         help
729           Samsung S5PV210/S5PC110 series based systems
730
731 config ARCH_S5PV310
732         bool "Samsung S5PV310/S5PC210"
733         select CPU_V7
734         select GENERIC_GPIO
735         select HAVE_CLK
736         select GENERIC_CLOCKEVENTS
737         help
738           Samsung S5PV310 series based systems
739
740 config ARCH_SHARK
741         bool "Shark"
742         select CPU_SA110
743         select ISA
744         select ISA_DMA
745         select ZONE_DMA
746         select PCI
747         select ARCH_USES_GETTIMEOFFSET
748         help
749           Support for the StrongARM based Digital DNARD machine, also known
750           as "Shark" (<http://www.shark-linux.de/shark.html>).
751
752 config ARCH_TCC_926
753         bool "Telechips TCC ARM926-based systems"
754         select CPU_ARM926T
755         select HAVE_CLK
756         select COMMON_CLKDEV
757         select GENERIC_CLOCKEVENTS
758         help
759           Support for Telechips TCC ARM926-based systems.
760
761 config ARCH_LH7A40X
762         bool "Sharp LH7A40X"
763         select CPU_ARM922T
764         select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM
765         select ARCH_USES_GETTIMEOFFSET
766         help
767           Say Y here for systems based on one of the Sharp LH7A40X
768           System on a Chip processors.  These CPUs include an ARM922T
769           core with a wide array of integrated devices for
770           hand-held and low-power applications.
771
772 config ARCH_U300
773         bool "ST-Ericsson U300 Series"
774         depends on MMU
775         select CPU_ARM926T
776         select HAVE_TCM
777         select ARM_AMBA
778         select ARM_VIC
779         select GENERIC_CLOCKEVENTS
780         select COMMON_CLKDEV
781         select GENERIC_GPIO
782         help
783           Support for ST-Ericsson U300 series mobile platforms.
784
785 config ARCH_U8500
786         bool "ST-Ericsson U8500 Series"
787         select CPU_V7
788         select ARM_AMBA
789         select GENERIC_CLOCKEVENTS
790         select COMMON_CLKDEV
791         select ARCH_REQUIRE_GPIOLIB
792         help
793           Support for ST-Ericsson's Ux500 architecture
794
795 config ARCH_NOMADIK
796         bool "STMicroelectronics Nomadik"
797         select ARM_AMBA
798         select ARM_VIC
799         select CPU_ARM926T
800         select COMMON_CLKDEV
801         select GENERIC_CLOCKEVENTS
802         select ARCH_REQUIRE_GPIOLIB
803         help
804           Support for the Nomadik platform by ST-Ericsson
805
806 config ARCH_DAVINCI
807         bool "TI DaVinci"
808         select GENERIC_CLOCKEVENTS
809         select ARCH_REQUIRE_GPIOLIB
810         select ZONE_DMA
811         select HAVE_IDE
812         select COMMON_CLKDEV
813         select GENERIC_ALLOCATOR
814         select ARCH_HAS_HOLES_MEMORYMODEL
815         help
816           Support for TI's DaVinci platform.
817
818 config ARCH_OMAP
819         bool "TI OMAP"
820         select HAVE_CLK
821         select ARCH_REQUIRE_GPIOLIB
822         select ARCH_HAS_CPUFREQ
823         select GENERIC_CLOCKEVENTS
824         select ARCH_HAS_HOLES_MEMORYMODEL
825         help
826           Support for TI's OMAP platform (OMAP1 and OMAP2).
827
828 config PLAT_SPEAR
829         bool "ST SPEAr"
830         select ARM_AMBA
831         select ARCH_REQUIRE_GPIOLIB
832         select COMMON_CLKDEV
833         select GENERIC_CLOCKEVENTS
834         select HAVE_CLK
835         help
836           Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx).
837
838 endchoice
839
840 #
841 # This is sorted alphabetically by mach-* pathname.  However, plat-*
842 # Kconfigs may be included either alphabetically (according to the
843 # plat- suffix) or along side the corresponding mach-* source.
844 #
845 source "arch/arm/mach-aaec2000/Kconfig"
846
847 source "arch/arm/mach-at91/Kconfig"
848
849 source "arch/arm/mach-bcmring/Kconfig"
850
851 source "arch/arm/mach-clps711x/Kconfig"
852
853 source "arch/arm/mach-cns3xxx/Kconfig"
854
855 source "arch/arm/mach-davinci/Kconfig"
856
857 source "arch/arm/mach-dove/Kconfig"
858
859 source "arch/arm/mach-ep93xx/Kconfig"
860
861 source "arch/arm/mach-footbridge/Kconfig"
862
863 source "arch/arm/mach-gemini/Kconfig"
864
865 source "arch/arm/mach-h720x/Kconfig"
866
867 source "arch/arm/mach-integrator/Kconfig"
868
869 source "arch/arm/mach-iop32x/Kconfig"
870
871 source "arch/arm/mach-iop33x/Kconfig"
872
873 source "arch/arm/mach-iop13xx/Kconfig"
874
875 source "arch/arm/mach-ixp4xx/Kconfig"
876
877 source "arch/arm/mach-ixp2000/Kconfig"
878
879 source "arch/arm/mach-ixp23xx/Kconfig"
880
881 source "arch/arm/mach-kirkwood/Kconfig"
882
883 source "arch/arm/mach-ks8695/Kconfig"
884
885 source "arch/arm/mach-lh7a40x/Kconfig"
886
887 source "arch/arm/mach-loki/Kconfig"
888
889 source "arch/arm/mach-lpc32xx/Kconfig"
890
891 source "arch/arm/mach-msm/Kconfig"
892
893 source "arch/arm/mach-mv78xx0/Kconfig"
894
895 source "arch/arm/plat-mxc/Kconfig"
896
897 source "arch/arm/mach-netx/Kconfig"
898
899 source "arch/arm/mach-nomadik/Kconfig"
900 source "arch/arm/plat-nomadik/Kconfig"
901
902 source "arch/arm/mach-ns9xxx/Kconfig"
903
904 source "arch/arm/mach-nuc93x/Kconfig"
905
906 source "arch/arm/plat-omap/Kconfig"
907
908 source "arch/arm/mach-omap1/Kconfig"
909
910 source "arch/arm/mach-omap2/Kconfig"
911
912 source "arch/arm/mach-orion5x/Kconfig"
913
914 source "arch/arm/mach-pxa/Kconfig"
915 source "arch/arm/plat-pxa/Kconfig"
916
917 source "arch/arm/mach-mmp/Kconfig"
918
919 source "arch/arm/mach-realview/Kconfig"
920
921 source "arch/arm/mach-sa1100/Kconfig"
922
923 source "arch/arm/plat-samsung/Kconfig"
924 source "arch/arm/plat-s3c24xx/Kconfig"
925 source "arch/arm/plat-s5p/Kconfig"
926
927 source "arch/arm/plat-spear/Kconfig"
928
929 source "arch/arm/plat-tcc/Kconfig"
930
931 if ARCH_S3C2410
932 source "arch/arm/mach-s3c2400/Kconfig"
933 source "arch/arm/mach-s3c2410/Kconfig"
934 source "arch/arm/mach-s3c2412/Kconfig"
935 source "arch/arm/mach-s3c2416/Kconfig"
936 source "arch/arm/mach-s3c2440/Kconfig"
937 source "arch/arm/mach-s3c2443/Kconfig"
938 endif
939
940 if ARCH_S3C64XX
941 source "arch/arm/mach-s3c64xx/Kconfig"
942 endif
943
944 source "arch/arm/mach-s5p6440/Kconfig"
945
946 source "arch/arm/mach-s5p6442/Kconfig"
947
948 source "arch/arm/mach-s5pc100/Kconfig"
949
950 source "arch/arm/mach-s5pv210/Kconfig"
951
952 source "arch/arm/mach-s5pv310/Kconfig"
953
954 source "arch/arm/mach-shmobile/Kconfig"
955
956 source "arch/arm/plat-stmp3xxx/Kconfig"
957
958 source "arch/arm/mach-tegra/Kconfig"
959
960 source "arch/arm/mach-u300/Kconfig"
961
962 source "arch/arm/mach-ux500/Kconfig"
963
964 source "arch/arm/mach-versatile/Kconfig"
965
966 source "arch/arm/mach-vexpress/Kconfig"
967
968 source "arch/arm/mach-w90x900/Kconfig"
969
970 # Definitions to make life easier
971 config ARCH_ACORN
972         bool
973
974 config PLAT_IOP
975         bool
976         select GENERIC_CLOCKEVENTS
977
978 config PLAT_ORION
979         bool
980
981 config PLAT_PXA
982         bool
983
984 config PLAT_VERSATILE
985         bool
986
987 config ARM_TIMER_SP804
988         bool
989
990 source arch/arm/mm/Kconfig
991
992 config IWMMXT
993         bool "Enable iWMMXt support"
994         depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK
995         default y if PXA27x || PXA3xx || ARCH_MMP
996         help
997           Enable support for iWMMXt context switching at run time if
998           running on a CPU that supports it.
999
1000 #  bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
1001 config XSCALE_PMU
1002         bool
1003         depends on CPU_XSCALE && !XSCALE_PMU_TIMER
1004         default y
1005
1006 config CPU_HAS_PMU
1007         depends on (CPU_V6 || CPU_V7 || XSCALE_PMU) && \
1008                    (!ARCH_OMAP3 || OMAP3_EMU)
1009         default y
1010         bool
1011
1012 if !MMU
1013 source "arch/arm/Kconfig-nommu"
1014 endif
1015
1016 config ARM_ERRATA_411920
1017         bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
1018         depends on CPU_V6 && !SMP
1019         help
1020           Invalidation of the Instruction Cache operation can
1021           fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
1022           It does not affect the MPCore. This option enables the ARM Ltd.
1023           recommended workaround.
1024
1025 config ARM_ERRATA_430973
1026         bool "ARM errata: Stale prediction on replaced interworking branch"
1027         depends on CPU_V7
1028         help
1029           This option enables the workaround for the 430973 Cortex-A8
1030           (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
1031           interworking branch is replaced with another code sequence at the
1032           same virtual address, whether due to self-modifying code or virtual
1033           to physical address re-mapping, Cortex-A8 does not recover from the
1034           stale interworking branch prediction. This results in Cortex-A8
1035           executing the new code sequence in the incorrect ARM or Thumb state.
1036           The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
1037           and also flushes the branch target cache at every context switch.
1038           Note that setting specific bits in the ACTLR register may not be
1039           available in non-secure mode.
1040
1041 config ARM_ERRATA_458693
1042         bool "ARM errata: Processor deadlock when a false hazard is created"
1043         depends on CPU_V7
1044         help
1045           This option enables the workaround for the 458693 Cortex-A8 (r2p0)
1046           erratum. For very specific sequences of memory operations, it is
1047           possible for a hazard condition intended for a cache line to instead
1048           be incorrectly associated with a different cache line. This false
1049           hazard might then cause a processor deadlock. The workaround enables
1050           the L1 caching of the NEON accesses and disables the PLD instruction
1051           in the ACTLR register. Note that setting specific bits in the ACTLR
1052           register may not be available in non-secure mode.
1053
1054 config ARM_ERRATA_460075
1055         bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
1056         depends on CPU_V7
1057         help
1058           This option enables the workaround for the 460075 Cortex-A8 (r2p0)
1059           erratum. Any asynchronous access to the L2 cache may encounter a
1060           situation in which recent store transactions to the L2 cache are lost
1061           and overwritten with stale memory contents from external memory. The
1062           workaround disables the write-allocate mode for the L2 cache via the
1063           ACTLR register. Note that setting specific bits in the ACTLR register
1064           may not be available in non-secure mode.
1065
1066 config ARM_ERRATA_742230
1067         bool "ARM errata: DMB operation may be faulty"
1068         depends on CPU_V7 && SMP
1069         help
1070           This option enables the workaround for the 742230 Cortex-A9
1071           (r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction
1072           between two write operations may not ensure the correct visibility
1073           ordering of the two writes. This workaround sets a specific bit in
1074           the diagnostic register of the Cortex-A9 which causes the DMB
1075           instruction to behave as a DSB, ensuring the correct behaviour of
1076           the two writes.
1077
1078 config ARM_ERRATA_742231
1079         bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption"
1080         depends on CPU_V7 && SMP
1081         help
1082           This option enables the workaround for the 742231 Cortex-A9
1083           (r2p0..r2p2) erratum. Under certain conditions, specific to the
1084           Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode,
1085           accessing some data located in the same cache line, may get corrupted
1086           data due to bad handling of the address hazard when the line gets
1087           replaced from one of the CPUs at the same time as another CPU is
1088           accessing it. This workaround sets specific bits in the diagnostic
1089           register of the Cortex-A9 which reduces the linefill issuing
1090           capabilities of the processor.
1091
1092 config PL310_ERRATA_588369
1093         bool "Clean & Invalidate maintenance operations do not invalidate clean lines"
1094         depends on CACHE_L2X0 && ARCH_OMAP4
1095         help
1096            The PL310 L2 cache controller implements three types of Clean &
1097            Invalidate maintenance operations: by Physical Address
1098            (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC).
1099            They are architecturally defined to behave as the execution of a
1100            clean operation followed immediately by an invalidate operation,
1101            both performing to the same memory location. This functionality
1102            is not correctly implemented in PL310 as clean lines are not
1103            invalidated as a result of these operations. Note that this errata
1104            uses Texas Instrument's secure monitor api.
1105
1106 config ARM_ERRATA_720789
1107         bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
1108         depends on CPU_V7 && SMP
1109         help
1110           This option enables the workaround for the 720789 Cortex-A9 (prior to
1111           r2p0) erratum. A faulty ASID can be sent to the other CPUs for the
1112           broadcasted CP15 TLB maintenance operations TLBIASIDIS and TLBIMVAIS.
1113           As a consequence of this erratum, some TLB entries which should be
1114           invalidated are not, resulting in an incoherency in the system page
1115           tables. The workaround changes the TLB flushing routines to invalidate
1116           entries regardless of the ASID.
1117 endmenu
1118
1119 source "arch/arm/common/Kconfig"
1120
1121 menu "Bus support"
1122
1123 config ARM_AMBA
1124         bool
1125
1126 config ISA
1127         bool
1128         help
1129           Find out whether you have ISA slots on your motherboard.  ISA is the
1130           name of a bus system, i.e. the way the CPU talks to the other stuff
1131           inside your box.  Other bus systems are PCI, EISA, MicroChannel
1132           (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
1133           newer boards don't support it.  If you have ISA, say Y, otherwise N.
1134
1135 # Select ISA DMA controller support
1136 config ISA_DMA
1137         bool
1138         select ISA_DMA_API
1139
1140 # Select ISA DMA interface
1141 config ISA_DMA_API
1142         bool
1143
1144 config PCI
1145         bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695 || MACH_ARMCORE || ARCH_CNS3XXX
1146         help
1147           Find out whether you have a PCI motherboard. PCI is the name of a
1148           bus system, i.e. the way the CPU talks to the other stuff inside
1149           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1150           VESA. If you have PCI, say Y, otherwise N.
1151
1152 config PCI_DOMAINS
1153         bool
1154         depends on PCI
1155
1156 config PCI_SYSCALL
1157         def_bool PCI
1158
1159 # Select the host bridge type
1160 config PCI_HOST_VIA82C505
1161         bool
1162         depends on PCI && ARCH_SHARK
1163         default y
1164
1165 config PCI_HOST_ITE8152
1166         bool
1167         depends on PCI && MACH_ARMCORE
1168         default y
1169         select DMABOUNCE
1170
1171 source "drivers/pci/Kconfig"
1172
1173 source "drivers/pcmcia/Kconfig"
1174
1175 endmenu
1176
1177 menu "Kernel Features"
1178
1179 source "kernel/time/Kconfig"
1180
1181 config SMP
1182         bool "Symmetric Multi-Processing (EXPERIMENTAL)"
1183         depends on EXPERIMENTAL && (REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP ||\
1184                  MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 ||\
1185                  ARCH_S5PV310 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4)
1186         depends on GENERIC_CLOCKEVENTS
1187         select USE_GENERIC_SMP_HELPERS
1188         select HAVE_ARM_SCU if ARCH_REALVIEW || ARCH_OMAP4 || ARCH_S5PV310 ||\
1189                  ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4
1190         help
1191           This enables support for systems with more than one CPU. If you have
1192           a system with only one CPU, like most personal computers, say N. If
1193           you have a system with more than one CPU, say Y.
1194
1195           If you say N here, the kernel will run on single and multiprocessor
1196           machines, but will use only one CPU of a multiprocessor machine. If
1197           you say Y here, the kernel will run on many, but not all, single
1198           processor machines. On a single processor machine, the kernel will
1199           run faster if you say N here.
1200
1201           See also <file:Documentation/i386/IO-APIC.txt>,
1202           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
1203           <http://www.linuxdoc.org/docs.html#howto>.
1204
1205           If you don't know what to do here, say N.
1206
1207 config HAVE_ARM_SCU
1208         bool
1209         depends on SMP
1210         help
1211           This option enables support for the ARM system coherency unit
1212
1213 config HAVE_ARM_TWD
1214         bool
1215         depends on SMP
1216         help
1217           This options enables support for the ARM timer and watchdog unit
1218
1219 choice
1220         prompt "Memory split"
1221         default VMSPLIT_3G
1222         help
1223           Select the desired split between kernel and user memory.
1224
1225           If you are not absolutely sure what you are doing, leave this
1226           option alone!
1227
1228         config VMSPLIT_3G
1229                 bool "3G/1G user/kernel split"
1230         config VMSPLIT_2G
1231                 bool "2G/2G user/kernel split"
1232         config VMSPLIT_1G
1233                 bool "1G/3G user/kernel split"
1234 endchoice
1235
1236 config PAGE_OFFSET
1237         hex
1238         default 0x40000000 if VMSPLIT_1G
1239         default 0x80000000 if VMSPLIT_2G
1240         default 0xC0000000
1241
1242 config NR_CPUS
1243         int "Maximum number of CPUs (2-32)"
1244         range 2 32
1245         depends on SMP
1246         default "4"
1247
1248 config HOTPLUG_CPU
1249         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
1250         depends on SMP && HOTPLUG && EXPERIMENTAL
1251         help
1252           Say Y here to experiment with turning CPUs off and on.  CPUs
1253           can be controlled through /sys/devices/system/cpu.
1254
1255 config LOCAL_TIMERS
1256         bool "Use local timer interrupts"
1257         depends on SMP && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || \
1258                 REALVIEW_EB_A9MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \
1259                 ARCH_S5PV310 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4)
1260         default y
1261         select HAVE_ARM_TWD if ARCH_REALVIEW || ARCH_OMAP4 || ARCH_S5PV310 || \
1262                 ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS
1263         help
1264           Enable support for local timers on SMP platforms, rather then the
1265           legacy IPI broadcast method.  Local timers allows the system
1266           accounting to be spread across the timer interval, preventing a
1267           "thundering herd" at every timer tick.
1268
1269 source kernel/Kconfig.preempt
1270
1271 config HZ
1272         int
1273         default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P6440 || \
1274                 ARCH_S5P6442 || ARCH_S5PV210 || ARCH_S5PV310
1275         default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
1276         default AT91_TIMER_HZ if ARCH_AT91
1277         default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
1278         default 100
1279
1280 config THUMB2_KERNEL
1281         bool "Compile the kernel in Thumb-2 mode"
1282         depends on CPU_V7 && EXPERIMENTAL
1283         select AEABI
1284         select ARM_ASM_UNIFIED
1285         help
1286           By enabling this option, the kernel will be compiled in
1287           Thumb-2 mode. A compiler/assembler that understand the unified
1288           ARM-Thumb syntax is needed.
1289
1290           If unsure, say N.
1291
1292 config ARM_ASM_UNIFIED
1293         bool
1294
1295 config AEABI
1296         bool "Use the ARM EABI to compile the kernel"
1297         help
1298           This option allows for the kernel to be compiled using the latest
1299           ARM ABI (aka EABI).  This is only useful if you are using a user
1300           space environment that is also compiled with EABI.
1301
1302           Since there are major incompatibilities between the legacy ABI and
1303           EABI, especially with regard to structure member alignment, this
1304           option also changes the kernel syscall calling convention to
1305           disambiguate both ABIs and allow for backward compatibility support
1306           (selected with CONFIG_OABI_COMPAT).
1307
1308           To use this you need GCC version 4.0.0 or later.
1309
1310 config OABI_COMPAT
1311         bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
1312         depends on AEABI && EXPERIMENTAL
1313         default y
1314         help
1315           This option preserves the old syscall interface along with the
1316           new (ARM EABI) one. It also provides a compatibility layer to
1317           intercept syscalls that have structure arguments which layout
1318           in memory differs between the legacy ABI and the new ARM EABI
1319           (only for non "thumb" binaries). This option adds a tiny
1320           overhead to all syscalls and produces a slightly larger kernel.
1321           If you know you'll be using only pure EABI user space then you
1322           can say N here. If this option is not selected and you attempt
1323           to execute a legacy ABI binary then the result will be
1324           UNPREDICTABLE (in fact it can be predicted that it won't work
1325           at all). If in doubt say Y.
1326
1327 config ARCH_HAS_HOLES_MEMORYMODEL
1328         bool
1329
1330 config ARCH_SPARSEMEM_ENABLE
1331         bool
1332
1333 config ARCH_SPARSEMEM_DEFAULT
1334         def_bool ARCH_SPARSEMEM_ENABLE
1335
1336 config ARCH_SELECT_MEMORY_MODEL
1337         def_bool ARCH_SPARSEMEM_ENABLE
1338
1339 config HIGHMEM
1340         bool "High Memory Support (EXPERIMENTAL)"
1341         depends on MMU && EXPERIMENTAL
1342         help
1343           The address space of ARM processors is only 4 Gigabytes large
1344           and it has to accommodate user address space, kernel address
1345           space as well as some memory mapped IO. That means that, if you
1346           have a large amount of physical memory and/or IO, not all of the
1347           memory can be "permanently mapped" by the kernel. The physical
1348           memory that is not permanently mapped is called "high memory".
1349
1350           Depending on the selected kernel/user memory split, minimum
1351           vmalloc space and actual amount of RAM, you may not need this
1352           option which should result in a slightly faster kernel.
1353
1354           If unsure, say n.
1355
1356 config HIGHPTE
1357         bool "Allocate 2nd-level pagetables from highmem"
1358         depends on HIGHMEM
1359         depends on !OUTER_CACHE
1360
1361 config HW_PERF_EVENTS
1362         bool "Enable hardware performance counter support for perf events"
1363         depends on PERF_EVENTS && CPU_HAS_PMU
1364         default y
1365         help
1366           Enable hardware performance counter support for perf events. If
1367           disabled, perf events will use software events only.
1368
1369 config SPARSE_IRQ
1370         def_bool n
1371         help
1372           This enables support for sparse irqs. This is useful in general
1373           as most CPUs have a fairly sparse array of IRQ vectors, which
1374           the irq_desc then maps directly on to. Systems with a high
1375           number of off-chip IRQs will want to treat this as
1376           experimental until they have been independently verified.
1377
1378 source "mm/Kconfig"
1379
1380 config FORCE_MAX_ZONEORDER
1381         int "Maximum zone order" if ARCH_SHMOBILE
1382         range 11 64 if ARCH_SHMOBILE
1383         default "9" if SA1111
1384         default "11"
1385         help
1386           The kernel memory allocator divides physically contiguous memory
1387           blocks into "zones", where each zone is a power of two number of
1388           pages.  This option selects the largest power of two that the kernel
1389           keeps in the memory allocator.  If you need to allocate very large
1390           blocks of physically contiguous memory, then you may need to
1391           increase this value.
1392
1393           This config option is actually maximum order plus one. For example,
1394           a value of 11 means that the largest free memory block is 2^10 pages.
1395
1396 config LEDS
1397         bool "Timer and CPU usage LEDs"
1398         depends on ARCH_CDB89712 || ARCH_EBSA110 || \
1399                    ARCH_EBSA285 || ARCH_INTEGRATOR || \
1400                    ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
1401                    ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
1402                    ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
1403                    ARCH_AT91 || ARCH_DAVINCI || \
1404                    ARCH_KS8695 || MACH_RD88F5182 || ARCH_REALVIEW
1405         help
1406           If you say Y here, the LEDs on your machine will be used
1407           to provide useful information about your current system status.
1408
1409           If you are compiling a kernel for a NetWinder or EBSA-285, you will
1410           be able to select which LEDs are active using the options below. If
1411           you are compiling a kernel for the EBSA-110 or the LART however, the
1412           red LED will simply flash regularly to indicate that the system is
1413           still functional. It is safe to say Y here if you have a CATS
1414           system, but the driver will do nothing.
1415
1416 config LEDS_TIMER
1417         bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
1418                             OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1419                             || MACH_OMAP_PERSEUS2
1420         depends on LEDS
1421         depends on !GENERIC_CLOCKEVENTS
1422         default y if ARCH_EBSA110
1423         help
1424           If you say Y here, one of the system LEDs (the green one on the
1425           NetWinder, the amber one on the EBSA285, or the red one on the LART)
1426           will flash regularly to indicate that the system is still
1427           operational. This is mainly useful to kernel hackers who are
1428           debugging unstable kernels.
1429
1430           The LART uses the same LED for both Timer LED and CPU usage LED
1431           functions. You may choose to use both, but the Timer LED function
1432           will overrule the CPU usage LED.
1433
1434 config LEDS_CPU
1435         bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
1436                         !ARCH_OMAP) \
1437                         || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1438                         || MACH_OMAP_PERSEUS2
1439         depends on LEDS
1440         help
1441           If you say Y here, the red LED will be used to give a good real
1442           time indication of CPU usage, by lighting whenever the idle task
1443           is not currently executing.
1444
1445           The LART uses the same LED for both Timer LED and CPU usage LED
1446           functions. You may choose to use both, but the Timer LED function
1447           will overrule the CPU usage LED.
1448
1449 config ALIGNMENT_TRAP
1450         bool
1451         depends on CPU_CP15_MMU
1452         default y if !ARCH_EBSA110
1453         select HAVE_PROC_CPU if PROC_FS
1454         help
1455           ARM processors cannot fetch/store information which is not
1456           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
1457           address divisible by 4. On 32-bit ARM processors, these non-aligned
1458           fetch/store instructions will be emulated in software if you say
1459           here, which has a severe performance impact. This is necessary for
1460           correct operation of some network protocols. With an IP-only
1461           configuration it is safe to say N, otherwise say Y.
1462
1463 config UACCESS_WITH_MEMCPY
1464         bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
1465         depends on MMU && EXPERIMENTAL
1466         default y if CPU_FEROCEON
1467         help
1468           Implement faster copy_to_user and clear_user methods for CPU
1469           cores where a 8-word STM instruction give significantly higher
1470           memory write throughput than a sequence of individual 32bit stores.
1471
1472           A possible side effect is a slight increase in scheduling latency
1473           between threads sharing the same address space if they invoke
1474           such copy operations with large buffers.
1475
1476           However, if the CPU data cache is using a write-allocate mode,
1477           this option is unlikely to provide any performance gain.
1478
1479 config SECCOMP
1480         bool
1481         prompt "Enable seccomp to safely compute untrusted bytecode"
1482         ---help---
1483           This kernel feature is useful for number crunching applications
1484           that may need to compute untrusted bytecode during their
1485           execution. By using pipes or other transports made available to
1486           the process as file descriptors supporting the read/write
1487           syscalls, it's possible to isolate those applications in
1488           their own address space using seccomp. Once seccomp is
1489           enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
1490           and the task is only allowed to execute a few safe syscalls
1491           defined by each seccomp mode.
1492
1493 config CC_STACKPROTECTOR
1494         bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
1495         help
1496           This option turns on the -fstack-protector GCC feature. This
1497           feature puts, at the beginning of functions, a canary value on
1498           the stack just before the return address, and validates
1499           the value just before actually returning.  Stack based buffer
1500           overflows (that need to overwrite this return address) now also
1501           overwrite the canary, which gets detected and the attack is then
1502           neutralized via a kernel panic.
1503           This feature requires gcc version 4.2 or above.
1504
1505 config DEPRECATED_PARAM_STRUCT
1506         bool "Provide old way to pass kernel parameters"
1507         help
1508           This was deprecated in 2001 and announced to live on for 5 years.
1509           Some old boot loaders still use this way.
1510
1511 endmenu
1512
1513 menu "Boot options"
1514
1515 # Compressed boot loader in ROM.  Yes, we really want to ask about
1516 # TEXT and BSS so we preserve their values in the config files.
1517 config ZBOOT_ROM_TEXT
1518         hex "Compressed ROM boot loader base address"
1519         default "0"
1520         help
1521           The physical address at which the ROM-able zImage is to be
1522           placed in the target.  Platforms which normally make use of
1523           ROM-able zImage formats normally set this to a suitable
1524           value in their defconfig file.
1525
1526           If ZBOOT_ROM is not enabled, this has no effect.
1527
1528 config ZBOOT_ROM_BSS
1529         hex "Compressed ROM boot loader BSS address"
1530         default "0"
1531         help
1532           The base address of an area of read/write memory in the target
1533           for the ROM-able zImage which must be available while the
1534           decompressor is running. It must be large enough to hold the
1535           entire decompressed kernel plus an additional 128 KiB.
1536           Platforms which normally make use of ROM-able zImage formats
1537           normally set this to a suitable value in their defconfig file.
1538
1539           If ZBOOT_ROM is not enabled, this has no effect.
1540
1541 config ZBOOT_ROM
1542         bool "Compressed boot loader in ROM/flash"
1543         depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1544         help
1545           Say Y here if you intend to execute your compressed kernel image
1546           (zImage) directly from ROM or flash.  If unsure, say N.
1547
1548 config CMDLINE
1549         string "Default kernel command string"
1550         default ""
1551         help
1552           On some architectures (EBSA110 and CATS), there is currently no way
1553           for the boot loader to pass arguments to the kernel. For these
1554           architectures, you should supply some command-line options at build
1555           time by entering them here. As a minimum, you should specify the
1556           memory size and the root device (e.g., mem=64M root=/dev/nfs).
1557
1558 config CMDLINE_FORCE
1559         bool "Always use the default kernel command string"
1560         depends on CMDLINE != ""
1561         help
1562           Always use the default kernel command string, even if the boot
1563           loader passes other arguments to the kernel.
1564           This is useful if you cannot or don't want to change the
1565           command-line options your boot loader passes to the kernel.
1566
1567           If unsure, say N.
1568
1569 config XIP_KERNEL
1570         bool "Kernel Execute-In-Place from ROM"
1571         depends on !ZBOOT_ROM
1572         help
1573           Execute-In-Place allows the kernel to run from non-volatile storage
1574           directly addressable by the CPU, such as NOR flash. This saves RAM
1575           space since the text section of the kernel is not loaded from flash
1576           to RAM.  Read-write sections, such as the data section and stack,
1577           are still copied to RAM.  The XIP kernel is not compressed since
1578           it has to run directly from flash, so it will take more space to
1579           store it.  The flash address used to link the kernel object files,
1580           and for storing it, is configuration dependent. Therefore, if you
1581           say Y here, you must know the proper physical address where to
1582           store the kernel image depending on your own flash memory usage.
1583
1584           Also note that the make target becomes "make xipImage" rather than
1585           "make zImage" or "make Image".  The final kernel binary to put in
1586           ROM memory will be arch/arm/boot/xipImage.
1587
1588           If unsure, say N.
1589
1590 config XIP_PHYS_ADDR
1591         hex "XIP Kernel Physical Location"
1592         depends on XIP_KERNEL
1593         default "0x00080000"
1594         help
1595           This is the physical address in your flash memory the kernel will
1596           be linked for and stored to.  This address is dependent on your
1597           own flash usage.
1598
1599 config KEXEC
1600         bool "Kexec system call (EXPERIMENTAL)"
1601         depends on EXPERIMENTAL
1602         help
1603           kexec is a system call that implements the ability to shutdown your
1604           current kernel, and to start another kernel.  It is like a reboot
1605           but it is independent of the system firmware.   And like a reboot
1606           you can start any kernel with it, not just Linux.
1607
1608           It is an ongoing process to be certain the hardware in a machine
1609           is properly shutdown, so do not be surprised if this code does not
1610           initially work for you.  It may help to enable device hotplugging
1611           support.
1612
1613 config ATAGS_PROC
1614         bool "Export atags in procfs"
1615         depends on KEXEC
1616         default y
1617         help
1618           Should the atags used to boot the kernel be exported in an "atags"
1619           file in procfs. Useful with kexec.
1620
1621 config AUTO_ZRELADDR
1622         bool "Auto calculation of the decompressed kernel image address"
1623         depends on !ZBOOT_ROM && !ARCH_U300
1624         help
1625           ZRELADDR is the physical address where the decompressed kernel
1626           image will be placed. If AUTO_ZRELADDR is selected, the address
1627           will be determined at run-time by masking the current IP with
1628           0xf8000000. This assumes the zImage being placed in the first 128MB
1629           from start of memory.
1630
1631 endmenu
1632
1633 menu "CPU Power Management"
1634
1635 if ARCH_HAS_CPUFREQ
1636
1637 source "drivers/cpufreq/Kconfig"
1638
1639 config CPU_FREQ_SA1100
1640         bool
1641
1642 config CPU_FREQ_SA1110
1643         bool
1644
1645 config CPU_FREQ_INTEGRATOR
1646         tristate "CPUfreq driver for ARM Integrator CPUs"
1647         depends on ARCH_INTEGRATOR && CPU_FREQ
1648         default y
1649         help
1650           This enables the CPUfreq driver for ARM Integrator CPUs.
1651
1652           For details, take a look at <file:Documentation/cpu-freq>.
1653
1654           If in doubt, say Y.
1655
1656 config CPU_FREQ_PXA
1657         bool
1658         depends on CPU_FREQ && ARCH_PXA && PXA25x
1659         default y
1660         select CPU_FREQ_DEFAULT_GOV_USERSPACE
1661
1662 config CPU_FREQ_S3C64XX
1663         bool "CPUfreq support for Samsung S3C64XX CPUs"
1664         depends on CPU_FREQ && CPU_S3C6410
1665
1666 config CPU_FREQ_S3C
1667         bool
1668         help
1669           Internal configuration node for common cpufreq on Samsung SoC
1670
1671 config CPU_FREQ_S3C24XX
1672         bool "CPUfreq driver for Samsung S3C24XX series CPUs"
1673         depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL
1674         select CPU_FREQ_S3C
1675         help
1676           This enables the CPUfreq driver for the Samsung S3C24XX family
1677           of CPUs.
1678
1679           For details, take a look at <file:Documentation/cpu-freq>.
1680
1681           If in doubt, say N.
1682
1683 config CPU_FREQ_S3C24XX_PLL
1684         bool "Support CPUfreq changing of PLL frequency"
1685         depends on CPU_FREQ_S3C24XX && EXPERIMENTAL
1686         help
1687           Compile in support for changing the PLL frequency from the
1688           S3C24XX series CPUfreq driver. The PLL takes time to settle
1689           after a frequency change, so by default it is not enabled.
1690
1691           This also means that the PLL tables for the selected CPU(s) will
1692           be built which may increase the size of the kernel image.
1693
1694 config CPU_FREQ_S3C24XX_DEBUG
1695         bool "Debug CPUfreq Samsung driver core"
1696         depends on CPU_FREQ_S3C24XX
1697         help
1698           Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
1699
1700 config CPU_FREQ_S3C24XX_IODEBUG
1701         bool "Debug CPUfreq Samsung driver IO timing"
1702         depends on CPU_FREQ_S3C24XX
1703         help
1704           Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
1705
1706 config CPU_FREQ_S3C24XX_DEBUGFS
1707         bool "Export debugfs for CPUFreq"
1708         depends on CPU_FREQ_S3C24XX && DEBUG_FS
1709         help
1710           Export status information via debugfs.
1711
1712 endif
1713
1714 source "drivers/cpuidle/Kconfig"
1715
1716 endmenu
1717
1718 menu "Floating point emulation"
1719
1720 comment "At least one emulation must be selected"
1721
1722 config FPE_NWFPE
1723         bool "NWFPE math emulation"
1724         depends on !AEABI || OABI_COMPAT
1725         ---help---
1726           Say Y to include the NWFPE floating point emulator in the kernel.
1727           This is necessary to run most binaries. Linux does not currently
1728           support floating point hardware so you need to say Y here even if
1729           your machine has an FPA or floating point co-processor podule.
1730
1731           You may say N here if you are going to load the Acorn FPEmulator
1732           early in the bootup.
1733
1734 config FPE_NWFPE_XP
1735         bool "Support extended precision"
1736         depends on FPE_NWFPE
1737         help
1738           Say Y to include 80-bit support in the kernel floating-point
1739           emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1740           Note that gcc does not generate 80-bit operations by default,
1741           so in most cases this option only enlarges the size of the
1742           floating point emulator without any good reason.
1743
1744           You almost surely want to say N here.
1745
1746 config FPE_FASTFPE
1747         bool "FastFPE math emulation (EXPERIMENTAL)"
1748         depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1749         ---help---
1750           Say Y here to include the FAST floating point emulator in the kernel.
1751           This is an experimental much faster emulator which now also has full
1752           precision for the mantissa.  It does not support any exceptions.
1753           It is very simple, and approximately 3-6 times faster than NWFPE.
1754
1755           It should be sufficient for most programs.  It may be not suitable
1756           for scientific calculations, but you have to check this for yourself.
1757           If you do not feel you need a faster FP emulation you should better
1758           choose NWFPE.
1759
1760 config VFP
1761         bool "VFP-format floating point maths"
1762         depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1763         help
1764           Say Y to include VFP support code in the kernel. This is needed
1765           if your hardware includes a VFP unit.
1766
1767           Please see <file:Documentation/arm/VFP/release-notes.txt> for
1768           release notes and additional status information.
1769
1770           Say N if your target does not have VFP hardware.
1771
1772 config VFPv3
1773         bool
1774         depends on VFP
1775         default y if CPU_V7
1776
1777 config NEON
1778         bool "Advanced SIMD (NEON) Extension support"
1779         depends on VFPv3 && CPU_V7
1780         help
1781           Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1782           Extension.
1783
1784 endmenu
1785
1786 menu "Userspace binary formats"
1787
1788 source "fs/Kconfig.binfmt"
1789
1790 config ARTHUR
1791         tristate "RISC OS personality"
1792         depends on !AEABI
1793         help
1794           Say Y here to include the kernel code necessary if you want to run
1795           Acorn RISC OS/Arthur binaries under Linux. This code is still very
1796           experimental; if this sounds frightening, say N and sleep in peace.
1797           You can also say M here to compile this support as a module (which
1798           will be called arthur).
1799
1800 endmenu
1801
1802 menu "Power management options"
1803
1804 source "kernel/power/Kconfig"
1805
1806 config ARCH_SUSPEND_POSSIBLE
1807         def_bool y
1808
1809 endmenu
1810
1811 source "net/Kconfig"
1812
1813 source "drivers/Kconfig"
1814
1815 source "fs/Kconfig"
1816
1817 source "arch/arm/Kconfig.debug"
1818
1819 source "security/Kconfig"
1820
1821 source "crypto/Kconfig"
1822
1823 source "lib/Kconfig"