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