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