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