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