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