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