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