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