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