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