xref: /openbmc/linux/arch/arm/Kconfig (revision 82ced6fd)
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux Kernel Configuration"
7
8config ARM
9	bool
10	default y
11	select HAVE_AOUT
12	select HAVE_IDE
13	select RTC_LIB
14	select SYS_SUPPORTS_APM_EMULATION
15	select HAVE_OPROFILE
16	select HAVE_ARCH_KGDB
17	select HAVE_KPROBES if (!XIP_KERNEL)
18	select HAVE_KRETPROBES if (HAVE_KPROBES)
19	select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
20	select HAVE_GENERIC_DMA_COHERENT
21	help
22	  The ARM series is a line of low-power-consumption RISC chip designs
23	  licensed by ARM Ltd and targeted at embedded applications and
24	  handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
25	  manufactured, but legacy ARM-based PC hardware remains popular in
26	  Europe.  There is an ARM Linux project with a web page at
27	  <http://www.arm.linux.org.uk/>.
28
29config HAVE_PWM
30	bool
31
32config SYS_SUPPORTS_APM_EMULATION
33	bool
34
35config GENERIC_GPIO
36	bool
37	default n
38
39config GENERIC_TIME
40	bool
41	default n
42
43config GENERIC_CLOCKEVENTS
44	bool
45	default n
46
47config GENERIC_CLOCKEVENTS_BROADCAST
48	bool
49	depends on GENERIC_CLOCKEVENTS
50	default y if SMP && !LOCAL_TIMERS
51
52config MMU
53	bool
54	default y
55
56config NO_IOPORT
57	bool
58	default n
59
60config EISA
61	bool
62	---help---
63	  The Extended Industry Standard Architecture (EISA) bus was
64	  developed as an open alternative to the IBM MicroChannel bus.
65
66	  The EISA bus provided some of the features of the IBM MicroChannel
67	  bus while maintaining backward compatibility with cards made for
68	  the older ISA bus.  The EISA bus saw limited use between 1988 and
69	  1995 when it was made obsolete by the PCI bus.
70
71	  Say Y here if you are building a kernel for an EISA-based machine.
72
73	  Otherwise, say N.
74
75config SBUS
76	bool
77
78config MCA
79	bool
80	help
81	  MicroChannel Architecture is found in some IBM PS/2 machines and
82	  laptops.  It is a bus system similar to PCI or ISA. See
83	  <file:Documentation/mca.txt> (and especially the web page given
84	  there) before attempting to build an MCA bus kernel.
85
86config GENERIC_HARDIRQS
87	bool
88	default y
89
90config STACKTRACE_SUPPORT
91	bool
92	default y
93
94config HAVE_LATENCYTOP_SUPPORT
95	bool
96	depends on !SMP
97	default y
98
99config LOCKDEP_SUPPORT
100	bool
101	default y
102
103config TRACE_IRQFLAGS_SUPPORT
104	bool
105	default y
106
107config HARDIRQS_SW_RESEND
108	bool
109	default y
110
111config GENERIC_IRQ_PROBE
112	bool
113	default y
114
115config GENERIC_LOCKBREAK
116	bool
117	default y
118	depends on SMP && PREEMPT
119
120config RWSEM_GENERIC_SPINLOCK
121	bool
122	default y
123
124config RWSEM_XCHGADD_ALGORITHM
125	bool
126
127config ARCH_HAS_ILOG2_U32
128	bool
129	default n
130
131config ARCH_HAS_ILOG2_U64
132	bool
133	default n
134
135config GENERIC_HWEIGHT
136	bool
137	default y
138
139config GENERIC_CALIBRATE_DELAY
140	bool
141	default y
142
143config ARCH_MAY_HAVE_PC_FDC
144	bool
145
146config ZONE_DMA
147	bool
148
149config GENERIC_ISA_DMA
150	bool
151
152config FIQ
153	bool
154
155config ARCH_MTD_XIP
156	bool
157
158config GENERIC_HARDIRQS_NO__DO_IRQ
159	def_bool y
160
161if OPROFILE
162
163config OPROFILE_ARMV6
164	def_bool y
165	depends on CPU_V6 && !SMP
166	select OPROFILE_ARM11_CORE
167
168config OPROFILE_MPCORE
169	def_bool y
170	depends on CPU_V6 && SMP
171	select OPROFILE_ARM11_CORE
172
173config OPROFILE_ARM11_CORE
174	bool
175
176config OPROFILE_ARMV7
177	def_bool y
178	depends on CPU_V7 && !SMP
179	bool
180
181endif
182
183config 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.
190
191source "init/Kconfig"
192
193source "kernel/Kconfig.freezer"
194
195menu "System Type"
196
197choice
198	prompt "ARM system type"
199	default ARCH_VERSATILE
200
201config ARCH_AAEC2000
202	bool "Agilent AAEC-2000 based"
203	select CPU_ARM920T
204	select ARM_AMBA
205	select HAVE_CLK
206	help
207	  This enables support for systems based on the Agilent AAEC-2000
208
209config ARCH_INTEGRATOR
210	bool "ARM Ltd. Integrator family"
211	select ARM_AMBA
212	select HAVE_CLK
213	select COMMON_CLKDEV
214	select ICST525
215	help
216	  Support for ARM's Integrator platform.
217
218config ARCH_REALVIEW
219	bool "ARM Ltd. RealView family"
220	select ARM_AMBA
221	select HAVE_CLK
222	select COMMON_CLKDEV
223	select ICST307
224	select GENERIC_TIME
225	select GENERIC_CLOCKEVENTS
226	help
227	  This enables support for ARM Ltd RealView boards.
228
229config ARCH_VERSATILE
230	bool "ARM Ltd. Versatile family"
231	select ARM_AMBA
232	select ARM_VIC
233	select HAVE_CLK
234	select COMMON_CLKDEV
235	select ICST307
236	select GENERIC_TIME
237	select GENERIC_CLOCKEVENTS
238	help
239	  This enables support for ARM Ltd Versatile board.
240
241config ARCH_AT91
242	bool "Atmel AT91"
243	select GENERIC_GPIO
244	select ARCH_REQUIRE_GPIOLIB
245	select HAVE_CLK
246	help
247	  This enables support for systems based on the Atmel AT91RM9200,
248	  AT91SAM9 and AT91CAP9 processors.
249
250config ARCH_CLPS711X
251	bool "Cirrus Logic CLPS711x/EP721x-based"
252	select CPU_ARM720T
253	help
254	  Support for Cirrus Logic 711x/721x based boards.
255
256config ARCH_EBSA110
257	bool "EBSA-110"
258	select CPU_SA110
259	select ISA
260	select NO_IOPORT
261	help
262	  This is an evaluation board for the StrongARM processor available
263	  from Digital. It has limited hardware on-board, including an
264	  Ethernet interface, two PCMCIA sockets, two serial ports and a
265	  parallel port.
266
267config ARCH_EP93XX
268	bool "EP93xx-based"
269	select CPU_ARM920T
270	select ARM_AMBA
271	select ARM_VIC
272	select GENERIC_GPIO
273	select HAVE_CLK
274	select COMMON_CLKDEV
275	select ARCH_REQUIRE_GPIOLIB
276	select ARCH_HAS_HOLES_MEMORYMODEL
277	help
278	  This enables support for the Cirrus EP93xx series of CPUs.
279
280config ARCH_GEMINI
281	bool "Cortina Systems Gemini"
282	select CPU_FA526
283	select GENERIC_GPIO
284	select ARCH_REQUIRE_GPIOLIB
285	help
286	  Support for the Cortina Systems Gemini family SoCs
287
288config ARCH_FOOTBRIDGE
289	bool "FootBridge"
290	select CPU_SA110
291	select FOOTBRIDGE
292	help
293	  Support for systems based on the DC21285 companion chip
294	  ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
295
296config ARCH_NETX
297	bool "Hilscher NetX based"
298	select CPU_ARM926T
299	select ARM_VIC
300	select GENERIC_CLOCKEVENTS
301	select GENERIC_TIME
302	help
303	  This enables support for systems based on the Hilscher NetX Soc
304
305config ARCH_H720X
306	bool "Hynix HMS720x-based"
307	select CPU_ARM720T
308	select ISA_DMA_API
309	help
310	  This enables support for systems based on the Hynix HMS720x
311
312config ARCH_IMX
313	bool "IMX"
314	select CPU_ARM920T
315	select GENERIC_GPIO
316	select GENERIC_TIME
317	select GENERIC_CLOCKEVENTS
318	help
319	  Support for Motorola's i.MX family of processors (MX1, MXL).
320
321config ARCH_IOP13XX
322	bool "IOP13xx-based"
323	depends on MMU
324	select CPU_XSC3
325	select PLAT_IOP
326	select PCI
327	select ARCH_SUPPORTS_MSI
328	select VMSPLIT_1G
329	help
330	  Support for Intel's IOP13XX (XScale) family of processors.
331
332config ARCH_IOP32X
333	bool "IOP32x-based"
334	depends on MMU
335	select CPU_XSCALE
336	select PLAT_IOP
337	select PCI
338	select GENERIC_GPIO
339	select ARCH_REQUIRE_GPIOLIB
340	help
341	  Support for Intel's 80219 and IOP32X (XScale) family of
342	  processors.
343
344config ARCH_IOP33X
345	bool "IOP33x-based"
346	depends on MMU
347	select CPU_XSCALE
348	select PLAT_IOP
349	select PCI
350	select GENERIC_GPIO
351	select ARCH_REQUIRE_GPIOLIB
352	help
353	  Support for Intel's IOP33X (XScale) family of processors.
354
355config ARCH_IXP23XX
356 	bool "IXP23XX-based"
357	depends on MMU
358	select CPU_XSC3
359 	select PCI
360	help
361	  Support for Intel's IXP23xx (XScale) family of processors.
362
363config ARCH_IXP2000
364	bool "IXP2400/2800-based"
365	depends on MMU
366	select CPU_XSCALE
367	select PCI
368	help
369	  Support for Intel's IXP2400/2800 (XScale) family of processors.
370
371config ARCH_IXP4XX
372	bool "IXP4xx-based"
373	depends on MMU
374	select CPU_XSCALE
375	select GENERIC_GPIO
376	select GENERIC_TIME
377	select GENERIC_CLOCKEVENTS
378	select DMABOUNCE if PCI
379	help
380	  Support for Intel's IXP4XX (XScale) family of processors.
381
382config ARCH_L7200
383	bool "LinkUp-L7200"
384	select CPU_ARM720T
385	select FIQ
386	help
387	  Say Y here if you intend to run this kernel on a LinkUp Systems
388	  L7200 Software Development Board which uses an ARM720T processor.
389	  Information on this board can be obtained at:
390
391	  <http://www.linkupsys.com/>
392
393	  If you have any questions or comments about the Linux kernel port
394	  to this board, send e-mail to <sjhill@cotw.com>.
395
396config ARCH_KIRKWOOD
397	bool "Marvell Kirkwood"
398	select CPU_FEROCEON
399	select PCI
400	select GENERIC_GPIO
401	select GENERIC_TIME
402	select GENERIC_CLOCKEVENTS
403	select PLAT_ORION
404	help
405	  Support for the following Marvell Kirkwood series SoCs:
406	  88F6180, 88F6192 and 88F6281.
407
408config ARCH_KS8695
409	bool "Micrel/Kendin KS8695"
410	select CPU_ARM922T
411	select GENERIC_GPIO
412        select ARCH_REQUIRE_GPIOLIB
413	help
414	  Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
415	  System-on-Chip devices.
416
417config ARCH_NS9XXX
418	bool "NetSilicon NS9xxx"
419	select CPU_ARM926T
420	select GENERIC_GPIO
421	select GENERIC_TIME
422	select GENERIC_CLOCKEVENTS
423	select HAVE_CLK
424	help
425	  Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
426	  System.
427
428	  <http://www.digi.com/products/microprocessors/index.jsp>
429
430config ARCH_LOKI
431	bool "Marvell Loki (88RC8480)"
432	select CPU_FEROCEON
433	select GENERIC_TIME
434	select GENERIC_CLOCKEVENTS
435	select PLAT_ORION
436	help
437	  Support for the Marvell Loki (88RC8480) SoC.
438
439config ARCH_MV78XX0
440	bool "Marvell MV78xx0"
441	select CPU_FEROCEON
442	select PCI
443	select GENERIC_GPIO
444	select GENERIC_TIME
445	select GENERIC_CLOCKEVENTS
446	select PLAT_ORION
447	help
448	  Support for the following Marvell MV78xx0 series SoCs:
449	  MV781x0, MV782x0.
450
451config ARCH_MXC
452	bool "Freescale MXC/iMX-based"
453	select GENERIC_TIME
454	select GENERIC_CLOCKEVENTS
455	select ARCH_MTD_XIP
456	select GENERIC_GPIO
457	select ARCH_REQUIRE_GPIOLIB
458	select HAVE_CLK
459	help
460	  Support for Freescale MXC/iMX-based family of processors
461
462config ARCH_ORION5X
463	bool "Marvell Orion"
464	depends on MMU
465	select CPU_FEROCEON
466	select PCI
467	select GENERIC_GPIO
468	select GENERIC_TIME
469	select GENERIC_CLOCKEVENTS
470	select PLAT_ORION
471	help
472	  Support for the following Marvell Orion 5x series SoCs:
473	  Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
474	  Orion-2 (5281), Orion-1-90 (6183).
475
476config ARCH_PNX4008
477	bool "Philips Nexperia PNX4008 Mobile"
478	select CPU_ARM926T
479	select HAVE_CLK
480	help
481	  This enables support for Philips PNX4008 mobile platform.
482
483config ARCH_PXA
484	bool "PXA2xx/PXA3xx-based"
485	depends on MMU
486	select ARCH_MTD_XIP
487	select GENERIC_GPIO
488	select HAVE_CLK
489	select COMMON_CLKDEV
490	select ARCH_REQUIRE_GPIOLIB
491	select GENERIC_TIME
492	select GENERIC_CLOCKEVENTS
493	select TICK_ONESHOT
494	select PLAT_PXA
495	help
496	  Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
497
498config ARCH_MMP
499	bool "Marvell PXA168/910"
500	depends on MMU
501	select GENERIC_GPIO
502	select ARCH_REQUIRE_GPIOLIB
503	select HAVE_CLK
504	select COMMON_CLKDEV
505	select GENERIC_TIME
506	select GENERIC_CLOCKEVENTS
507	select TICK_ONESHOT
508	select PLAT_PXA
509	help
510	  Support for Marvell's PXA168/910 processor line.
511
512config ARCH_RPC
513	bool "RiscPC"
514	select ARCH_ACORN
515	select FIQ
516	select TIMER_ACORN
517	select ARCH_MAY_HAVE_PC_FDC
518	select HAVE_PATA_PLATFORM
519	select ISA_DMA_API
520	select NO_IOPORT
521	select ARCH_SPARSEMEM_ENABLE
522	help
523	  On the Acorn Risc-PC, Linux can support the internal IDE disk and
524	  CD-ROM interface, serial and parallel port, and the floppy drive.
525
526config ARCH_SA1100
527	bool "SA1100-based"
528	select CPU_SA1100
529	select ISA
530	select ARCH_SPARSEMEM_ENABLE
531	select ARCH_MTD_XIP
532	select GENERIC_GPIO
533	select GENERIC_TIME
534	select GENERIC_CLOCKEVENTS
535	select HAVE_CLK
536	select TICK_ONESHOT
537	select ARCH_REQUIRE_GPIOLIB
538	help
539	  Support for StrongARM 11x0 based boards.
540
541config ARCH_S3C2410
542	bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442, S3C2443"
543	select GENERIC_GPIO
544	select HAVE_CLK
545	help
546	  Samsung S3C2410X CPU based systems, such as the Simtec Electronics
547	  BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
548	  the Samsung SMDK2410 development board (and derivatives).
549
550config ARCH_S3C64XX
551	bool "Samsung S3C64XX"
552	select GENERIC_GPIO
553	select HAVE_CLK
554	help
555	  Samsung S3C64XX series based systems
556
557config ARCH_SHARK
558	bool "Shark"
559	select CPU_SA110
560	select ISA
561	select ISA_DMA
562	select ZONE_DMA
563	select PCI
564	help
565	  Support for the StrongARM based Digital DNARD machine, also known
566	  as "Shark" (<http://www.shark-linux.de/shark.html>).
567
568config ARCH_LH7A40X
569	bool "Sharp LH7A40X"
570	select CPU_ARM922T
571	select ARCH_DISCONTIGMEM_ENABLE if !LH7A40X_CONTIGMEM
572	select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM
573	help
574	  Say Y here for systems based on one of the Sharp LH7A40X
575	  System on a Chip processors.  These CPUs include an ARM922T
576	  core with a wide array of integrated devices for
577	  hand-held and low-power applications.
578
579config ARCH_DAVINCI
580	bool "TI DaVinci"
581	select CPU_ARM926T
582	select GENERIC_TIME
583	select GENERIC_CLOCKEVENTS
584	select GENERIC_GPIO
585	select ARCH_REQUIRE_GPIOLIB
586	select HAVE_CLK
587	select ZONE_DMA
588	select HAVE_IDE
589	select COMMON_CLKDEV
590	help
591	  Support for TI's DaVinci platform.
592
593config ARCH_OMAP
594	bool "TI OMAP"
595	select GENERIC_GPIO
596	select HAVE_CLK
597	select ARCH_REQUIRE_GPIOLIB
598	select GENERIC_TIME
599	select GENERIC_CLOCKEVENTS
600	help
601	  Support for TI's OMAP platform (OMAP1 and OMAP2).
602
603config ARCH_MSM
604	bool "Qualcomm MSM"
605	select CPU_V6
606	select GENERIC_TIME
607	select GENERIC_CLOCKEVENTS
608	help
609	  Support for Qualcomm MSM7K based systems.  This runs on the ARM11
610	  apps processor of the MSM7K and depends on a shared memory
611	  interface to the ARM9 modem processor which runs the baseband stack
612	  and controls some vital subsystems (clock and power control, etc).
613
614config ARCH_W90X900
615	bool "Nuvoton W90X900 CPU"
616	select CPU_ARM926T
617	help
618		Support for Nuvoton (Winbond logic dept.) ARM9 processor,You
619		can login www.mcuos.com or www.nuvoton.com to know more.
620
621endchoice
622
623source "arch/arm/mach-clps711x/Kconfig"
624
625source "arch/arm/mach-ep93xx/Kconfig"
626
627source "arch/arm/mach-footbridge/Kconfig"
628
629source "arch/arm/mach-gemini/Kconfig"
630
631source "arch/arm/mach-integrator/Kconfig"
632
633source "arch/arm/mach-iop32x/Kconfig"
634
635source "arch/arm/mach-iop33x/Kconfig"
636
637source "arch/arm/mach-iop13xx/Kconfig"
638
639source "arch/arm/mach-ixp4xx/Kconfig"
640
641source "arch/arm/mach-ixp2000/Kconfig"
642
643source "arch/arm/mach-ixp23xx/Kconfig"
644
645source "arch/arm/mach-loki/Kconfig"
646
647source "arch/arm/mach-mv78xx0/Kconfig"
648
649source "arch/arm/mach-pxa/Kconfig"
650source "arch/arm/plat-pxa/Kconfig"
651
652source "arch/arm/mach-mmp/Kconfig"
653
654source "arch/arm/mach-sa1100/Kconfig"
655
656source "arch/arm/plat-omap/Kconfig"
657
658source "arch/arm/mach-omap1/Kconfig"
659
660source "arch/arm/mach-omap2/Kconfig"
661
662source "arch/arm/mach-orion5x/Kconfig"
663
664source "arch/arm/mach-kirkwood/Kconfig"
665
666source "arch/arm/plat-s3c24xx/Kconfig"
667source "arch/arm/plat-s3c64xx/Kconfig"
668source "arch/arm/plat-s3c/Kconfig"
669
670if ARCH_S3C2410
671source "arch/arm/mach-s3c2400/Kconfig"
672source "arch/arm/mach-s3c2410/Kconfig"
673source "arch/arm/mach-s3c2412/Kconfig"
674source "arch/arm/mach-s3c2440/Kconfig"
675source "arch/arm/mach-s3c2442/Kconfig"
676source "arch/arm/mach-s3c2443/Kconfig"
677endif
678
679if ARCH_S3C64XX
680source "arch/arm/mach-s3c6400/Kconfig"
681source "arch/arm/mach-s3c6410/Kconfig"
682endif
683
684source "arch/arm/mach-lh7a40x/Kconfig"
685
686source "arch/arm/mach-imx/Kconfig"
687
688source "arch/arm/mach-h720x/Kconfig"
689
690source "arch/arm/mach-versatile/Kconfig"
691
692source "arch/arm/mach-aaec2000/Kconfig"
693
694source "arch/arm/mach-realview/Kconfig"
695
696source "arch/arm/mach-at91/Kconfig"
697
698source "arch/arm/plat-mxc/Kconfig"
699
700source "arch/arm/mach-netx/Kconfig"
701
702source "arch/arm/mach-ns9xxx/Kconfig"
703
704source "arch/arm/mach-davinci/Kconfig"
705
706source "arch/arm/mach-ks8695/Kconfig"
707
708source "arch/arm/mach-msm/Kconfig"
709
710source "arch/arm/mach-w90x900/Kconfig"
711
712# Definitions to make life easier
713config ARCH_ACORN
714	bool
715
716config PLAT_IOP
717	bool
718
719config PLAT_ORION
720	bool
721
722config PLAT_PXA
723	bool
724
725source arch/arm/mm/Kconfig
726
727config IWMMXT
728	bool "Enable iWMMXt support"
729	depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK
730	default y if PXA27x || PXA3xx || ARCH_MMP
731	help
732	  Enable support for iWMMXt context switching at run time if
733	  running on a CPU that supports it.
734
735#  bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
736config XSCALE_PMU
737	bool
738	depends on CPU_XSCALE && !XSCALE_PMU_TIMER
739	default y
740
741if !MMU
742source "arch/arm/Kconfig-nommu"
743endif
744
745config ARM_ERRATA_411920
746	bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
747	depends on CPU_V6 && !SMP
748	help
749	  Invalidation of the Instruction Cache operation can
750	  fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
751	  It does not affect the MPCore. This option enables the ARM Ltd.
752	  recommended workaround.
753
754config ARM_ERRATA_430973
755	bool "ARM errata: Stale prediction on replaced interworking branch"
756	depends on CPU_V7
757	help
758	  This option enables the workaround for the 430973 Cortex-A8
759	  (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
760	  interworking branch is replaced with another code sequence at the
761	  same virtual address, whether due to self-modifying code or virtual
762	  to physical address re-mapping, Cortex-A8 does not recover from the
763	  stale interworking branch prediction. This results in Cortex-A8
764	  executing the new code sequence in the incorrect ARM or Thumb state.
765	  The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
766	  and also flushes the branch target cache at every context switch.
767	  Note that setting specific bits in the ACTLR register may not be
768	  available in non-secure mode.
769
770config ARM_ERRATA_458693
771	bool "ARM errata: Processor deadlock when a false hazard is created"
772	depends on CPU_V7
773	help
774	  This option enables the workaround for the 458693 Cortex-A8 (r2p0)
775	  erratum. For very specific sequences of memory operations, it is
776	  possible for a hazard condition intended for a cache line to instead
777	  be incorrectly associated with a different cache line. This false
778	  hazard might then cause a processor deadlock. The workaround enables
779	  the L1 caching of the NEON accesses and disables the PLD instruction
780	  in the ACTLR register. Note that setting specific bits in the ACTLR
781	  register may not be available in non-secure mode.
782
783config ARM_ERRATA_460075
784	bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
785	depends on CPU_V7
786	help
787	  This option enables the workaround for the 460075 Cortex-A8 (r2p0)
788	  erratum. Any asynchronous access to the L2 cache may encounter a
789	  situation in which recent store transactions to the L2 cache are lost
790	  and overwritten with stale memory contents from external memory. The
791	  workaround disables the write-allocate mode for the L2 cache via the
792	  ACTLR register. Note that setting specific bits in the ACTLR register
793	  may not be available in non-secure mode.
794
795endmenu
796
797source "arch/arm/common/Kconfig"
798
799config FORCE_MAX_ZONEORDER
800	int
801	depends on SA1111
802	default "9"
803
804menu "Bus support"
805
806config ARM_AMBA
807	bool
808
809config ISA
810	bool
811	help
812	  Find out whether you have ISA slots on your motherboard.  ISA is the
813	  name of a bus system, i.e. the way the CPU talks to the other stuff
814	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
815	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
816	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
817
818# Select ISA DMA controller support
819config ISA_DMA
820	bool
821	select ISA_DMA_API
822
823# Select ISA DMA interface
824config ISA_DMA_API
825	bool
826
827config PCI
828	bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695 || MACH_ARMCORE
829	help
830	  Find out whether you have a PCI motherboard. PCI is the name of a
831	  bus system, i.e. the way the CPU talks to the other stuff inside
832	  your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
833	  VESA. If you have PCI, say Y, otherwise N.
834
835config PCI_SYSCALL
836	def_bool PCI
837
838# Select the host bridge type
839config PCI_HOST_VIA82C505
840	bool
841	depends on PCI && ARCH_SHARK
842	default y
843
844config PCI_HOST_ITE8152
845	bool
846	depends on PCI && MACH_ARMCORE
847	default y
848	select DMABOUNCE
849
850source "drivers/pci/Kconfig"
851
852source "drivers/pcmcia/Kconfig"
853
854endmenu
855
856menu "Kernel Features"
857
858source "kernel/time/Kconfig"
859
860config SMP
861	bool "Symmetric Multi-Processing (EXPERIMENTAL)"
862	depends on EXPERIMENTAL && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP)
863	select USE_GENERIC_SMP_HELPERS
864	help
865	  This enables support for systems with more than one CPU. If you have
866	  a system with only one CPU, like most personal computers, say N. If
867	  you have a system with more than one CPU, say Y.
868
869	  If you say N here, the kernel will run on single and multiprocessor
870	  machines, but will use only one CPU of a multiprocessor machine. If
871	  you say Y here, the kernel will run on many, but not all, single
872	  processor machines. On a single processor machine, the kernel will
873	  run faster if you say N here.
874
875	  See also <file:Documentation/i386/IO-APIC.txt>,
876	  <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
877	  <http://www.linuxdoc.org/docs.html#howto>.
878
879	  If you don't know what to do here, say N.
880
881choice
882	prompt "Memory split"
883	default VMSPLIT_3G
884	help
885	  Select the desired split between kernel and user memory.
886
887	  If you are not absolutely sure what you are doing, leave this
888	  option alone!
889
890	config VMSPLIT_3G
891		bool "3G/1G user/kernel split"
892	config VMSPLIT_2G
893		bool "2G/2G user/kernel split"
894	config VMSPLIT_1G
895		bool "1G/3G user/kernel split"
896endchoice
897
898config PAGE_OFFSET
899	hex
900	default 0x40000000 if VMSPLIT_1G
901	default 0x80000000 if VMSPLIT_2G
902	default 0xC0000000
903
904config NR_CPUS
905	int "Maximum number of CPUs (2-32)"
906	range 2 32
907	depends on SMP
908	default "4"
909
910config HOTPLUG_CPU
911	bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
912	depends on SMP && HOTPLUG && EXPERIMENTAL
913	help
914	  Say Y here to experiment with turning CPUs off and on.  CPUs
915	  can be controlled through /sys/devices/system/cpu.
916
917config LOCAL_TIMERS
918	bool "Use local timer interrupts"
919	depends on SMP && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || REALVIEW_EB_A9MP)
920	default y
921	help
922	  Enable support for local timers on SMP platforms, rather then the
923	  legacy IPI broadcast method.  Local timers allows the system
924	  accounting to be spread across the timer interval, preventing a
925	  "thundering herd" at every timer tick.
926
927config PREEMPT
928	bool "Preemptible Kernel (EXPERIMENTAL)"
929	depends on EXPERIMENTAL
930	help
931	  This option reduces the latency of the kernel when reacting to
932	  real-time or interactive events by allowing a low priority process to
933	  be preempted even if it is in kernel mode executing a system call.
934	  This allows applications to run more reliably even when the system is
935	  under load.
936
937	  Say Y here if you are building a kernel for a desktop, embedded
938	  or real-time system.  Say N if you are unsure.
939
940config HZ
941	int
942	default 128 if ARCH_L7200
943	default 200 if ARCH_EBSA110 || ARCH_S3C2410
944	default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
945	default AT91_TIMER_HZ if ARCH_AT91
946	default 100
947
948config AEABI
949	bool "Use the ARM EABI to compile the kernel"
950	help
951	  This option allows for the kernel to be compiled using the latest
952	  ARM ABI (aka EABI).  This is only useful if you are using a user
953	  space environment that is also compiled with EABI.
954
955	  Since there are major incompatibilities between the legacy ABI and
956	  EABI, especially with regard to structure member alignment, this
957	  option also changes the kernel syscall calling convention to
958	  disambiguate both ABIs and allow for backward compatibility support
959	  (selected with CONFIG_OABI_COMPAT).
960
961	  To use this you need GCC version 4.0.0 or later.
962
963config OABI_COMPAT
964	bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
965	depends on AEABI && EXPERIMENTAL
966	default y
967	help
968	  This option preserves the old syscall interface along with the
969	  new (ARM EABI) one. It also provides a compatibility layer to
970	  intercept syscalls that have structure arguments which layout
971	  in memory differs between the legacy ABI and the new ARM EABI
972	  (only for non "thumb" binaries). This option adds a tiny
973	  overhead to all syscalls and produces a slightly larger kernel.
974	  If you know you'll be using only pure EABI user space then you
975	  can say N here. If this option is not selected and you attempt
976	  to execute a legacy ABI binary then the result will be
977	  UNPREDICTABLE (in fact it can be predicted that it won't work
978	  at all). If in doubt say Y.
979
980config ARCH_HAS_HOLES_MEMORYMODEL
981	bool
982	default n
983
984# Discontigmem is deprecated
985config ARCH_DISCONTIGMEM_ENABLE
986	bool
987
988config ARCH_SPARSEMEM_ENABLE
989	bool
990
991config ARCH_SPARSEMEM_DEFAULT
992	def_bool ARCH_SPARSEMEM_ENABLE
993
994config ARCH_SELECT_MEMORY_MODEL
995	def_bool ARCH_DISCONTIGMEM_ENABLE && ARCH_SPARSEMEM_ENABLE
996
997config NODES_SHIFT
998	int
999	default "4" if ARCH_LH7A40X
1000	default "2"
1001	depends on NEED_MULTIPLE_NODES
1002
1003config HIGHMEM
1004	bool "High Memory Support (EXPERIMENTAL)"
1005	depends on MMU && EXPERIMENTAL
1006	help
1007	  The address space of ARM processors is only 4 Gigabytes large
1008	  and it has to accommodate user address space, kernel address
1009	  space as well as some memory mapped IO. That means that, if you
1010	  have a large amount of physical memory and/or IO, not all of the
1011	  memory can be "permanently mapped" by the kernel. The physical
1012	  memory that is not permanently mapped is called "high memory".
1013
1014	  Depending on the selected kernel/user memory split, minimum
1015	  vmalloc space and actual amount of RAM, you may not need this
1016	  option which should result in a slightly faster kernel.
1017
1018	  If unsure, say n.
1019
1020source "mm/Kconfig"
1021
1022config LEDS
1023	bool "Timer and CPU usage LEDs"
1024	depends on ARCH_CDB89712 || ARCH_EBSA110 || \
1025		   ARCH_EBSA285 || ARCH_IMX || ARCH_INTEGRATOR || \
1026		   ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
1027		   ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
1028		   ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
1029		   ARCH_AT91 || ARCH_DAVINCI || \
1030		   ARCH_KS8695 || MACH_RD88F5182
1031	help
1032	  If you say Y here, the LEDs on your machine will be used
1033	  to provide useful information about your current system status.
1034
1035	  If you are compiling a kernel for a NetWinder or EBSA-285, you will
1036	  be able to select which LEDs are active using the options below. If
1037	  you are compiling a kernel for the EBSA-110 or the LART however, the
1038	  red LED will simply flash regularly to indicate that the system is
1039	  still functional. It is safe to say Y here if you have a CATS
1040	  system, but the driver will do nothing.
1041
1042config LEDS_TIMER
1043	bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
1044			    OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1045			    || MACH_OMAP_PERSEUS2
1046	depends on LEDS
1047	depends on !GENERIC_CLOCKEVENTS
1048	default y if ARCH_EBSA110
1049	help
1050	  If you say Y here, one of the system LEDs (the green one on the
1051	  NetWinder, the amber one on the EBSA285, or the red one on the LART)
1052	  will flash regularly to indicate that the system is still
1053	  operational. This is mainly useful to kernel hackers who are
1054	  debugging unstable kernels.
1055
1056	  The LART uses the same LED for both Timer LED and CPU usage LED
1057	  functions. You may choose to use both, but the Timer LED function
1058	  will overrule the CPU usage LED.
1059
1060config LEDS_CPU
1061	bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
1062			!ARCH_OMAP) \
1063			|| OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1064			|| MACH_OMAP_PERSEUS2
1065	depends on LEDS
1066	help
1067	  If you say Y here, the red LED will be used to give a good real
1068	  time indication of CPU usage, by lighting whenever the idle task
1069	  is not currently executing.
1070
1071	  The LART uses the same LED for both Timer LED and CPU usage LED
1072	  functions. You may choose to use both, but the Timer LED function
1073	  will overrule the CPU usage LED.
1074
1075config ALIGNMENT_TRAP
1076	bool
1077	depends on CPU_CP15_MMU
1078	default y if !ARCH_EBSA110
1079	help
1080	  ARM processors cannot fetch/store information which is not
1081	  naturally aligned on the bus, i.e., a 4 byte fetch must start at an
1082	  address divisible by 4. On 32-bit ARM processors, these non-aligned
1083	  fetch/store instructions will be emulated in software if you say
1084	  here, which has a severe performance impact. This is necessary for
1085	  correct operation of some network protocols. With an IP-only
1086	  configuration it is safe to say N, otherwise say Y.
1087
1088endmenu
1089
1090menu "Boot options"
1091
1092# Compressed boot loader in ROM.  Yes, we really want to ask about
1093# TEXT and BSS so we preserve their values in the config files.
1094config ZBOOT_ROM_TEXT
1095	hex "Compressed ROM boot loader base address"
1096	default "0"
1097	help
1098	  The physical address at which the ROM-able zImage is to be
1099	  placed in the target.  Platforms which normally make use of
1100	  ROM-able zImage formats normally set this to a suitable
1101	  value in their defconfig file.
1102
1103	  If ZBOOT_ROM is not enabled, this has no effect.
1104
1105config ZBOOT_ROM_BSS
1106	hex "Compressed ROM boot loader BSS address"
1107	default "0"
1108	help
1109	  The base address of an area of read/write memory in the target
1110	  for the ROM-able zImage which must be available while the
1111	  decompressor is running. It must be large enough to hold the
1112	  entire decompressed kernel plus an additional 128 KiB.
1113	  Platforms which normally make use of ROM-able zImage formats
1114	  normally set this to a suitable value in their defconfig file.
1115
1116	  If ZBOOT_ROM is not enabled, this has no effect.
1117
1118config ZBOOT_ROM
1119	bool "Compressed boot loader in ROM/flash"
1120	depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1121	help
1122	  Say Y here if you intend to execute your compressed kernel image
1123	  (zImage) directly from ROM or flash.  If unsure, say N.
1124
1125config CMDLINE
1126	string "Default kernel command string"
1127	default ""
1128	help
1129	  On some architectures (EBSA110 and CATS), there is currently no way
1130	  for the boot loader to pass arguments to the kernel. For these
1131	  architectures, you should supply some command-line options at build
1132	  time by entering them here. As a minimum, you should specify the
1133	  memory size and the root device (e.g., mem=64M root=/dev/nfs).
1134
1135config XIP_KERNEL
1136	bool "Kernel Execute-In-Place from ROM"
1137	depends on !ZBOOT_ROM
1138	help
1139	  Execute-In-Place allows the kernel to run from non-volatile storage
1140	  directly addressable by the CPU, such as NOR flash. This saves RAM
1141	  space since the text section of the kernel is not loaded from flash
1142	  to RAM.  Read-write sections, such as the data section and stack,
1143	  are still copied to RAM.  The XIP kernel is not compressed since
1144	  it has to run directly from flash, so it will take more space to
1145	  store it.  The flash address used to link the kernel object files,
1146	  and for storing it, is configuration dependent. Therefore, if you
1147	  say Y here, you must know the proper physical address where to
1148	  store the kernel image depending on your own flash memory usage.
1149
1150	  Also note that the make target becomes "make xipImage" rather than
1151	  "make zImage" or "make Image".  The final kernel binary to put in
1152	  ROM memory will be arch/arm/boot/xipImage.
1153
1154	  If unsure, say N.
1155
1156config XIP_PHYS_ADDR
1157	hex "XIP Kernel Physical Location"
1158	depends on XIP_KERNEL
1159	default "0x00080000"
1160	help
1161	  This is the physical address in your flash memory the kernel will
1162	  be linked for and stored to.  This address is dependent on your
1163	  own flash usage.
1164
1165config KEXEC
1166	bool "Kexec system call (EXPERIMENTAL)"
1167	depends on EXPERIMENTAL
1168	help
1169	  kexec is a system call that implements the ability to shutdown your
1170	  current kernel, and to start another kernel.  It is like a reboot
1171	  but it is independent of the system firmware.   And like a reboot
1172	  you can start any kernel with it, not just Linux.
1173
1174	  It is an ongoing process to be certain the hardware in a machine
1175	  is properly shutdown, so do not be surprised if this code does not
1176	  initially work for you.  It may help to enable device hotplugging
1177	  support.
1178
1179config ATAGS_PROC
1180	bool "Export atags in procfs"
1181	depends on KEXEC
1182	default y
1183	help
1184	  Should the atags used to boot the kernel be exported in an "atags"
1185	  file in procfs. Useful with kexec.
1186
1187endmenu
1188
1189menu "CPU Power Management"
1190
1191if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA)
1192
1193source "drivers/cpufreq/Kconfig"
1194
1195config CPU_FREQ_SA1100
1196	bool
1197	depends on CPU_FREQ && (SA1100_H3100 || SA1100_H3600 || SA1100_LART || SA1100_PLEB || SA1100_BADGE4 || SA1100_HACKKIT)
1198	default y
1199
1200config CPU_FREQ_SA1110
1201	bool
1202	depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3)
1203	default y
1204
1205config CPU_FREQ_INTEGRATOR
1206	tristate "CPUfreq driver for ARM Integrator CPUs"
1207	depends on ARCH_INTEGRATOR && CPU_FREQ
1208	default y
1209	help
1210	  This enables the CPUfreq driver for ARM Integrator CPUs.
1211
1212	  For details, take a look at <file:Documentation/cpu-freq>.
1213
1214	  If in doubt, say Y.
1215
1216config CPU_FREQ_IMX
1217	tristate "CPUfreq driver for i.MX CPUs"
1218	depends on ARCH_IMX && CPU_FREQ
1219	default n
1220	help
1221	  This enables the CPUfreq driver for i.MX CPUs.
1222
1223	  If in doubt, say N.
1224
1225endif
1226
1227source "drivers/cpuidle/Kconfig"
1228
1229endmenu
1230
1231menu "Floating point emulation"
1232
1233comment "At least one emulation must be selected"
1234
1235config FPE_NWFPE
1236	bool "NWFPE math emulation"
1237	depends on !AEABI || OABI_COMPAT
1238	---help---
1239	  Say Y to include the NWFPE floating point emulator in the kernel.
1240	  This is necessary to run most binaries. Linux does not currently
1241	  support floating point hardware so you need to say Y here even if
1242	  your machine has an FPA or floating point co-processor podule.
1243
1244	  You may say N here if you are going to load the Acorn FPEmulator
1245	  early in the bootup.
1246
1247config FPE_NWFPE_XP
1248	bool "Support extended precision"
1249	depends on FPE_NWFPE
1250	help
1251	  Say Y to include 80-bit support in the kernel floating-point
1252	  emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1253	  Note that gcc does not generate 80-bit operations by default,
1254	  so in most cases this option only enlarges the size of the
1255	  floating point emulator without any good reason.
1256
1257	  You almost surely want to say N here.
1258
1259config FPE_FASTFPE
1260	bool "FastFPE math emulation (EXPERIMENTAL)"
1261	depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1262	---help---
1263	  Say Y here to include the FAST floating point emulator in the kernel.
1264	  This is an experimental much faster emulator which now also has full
1265	  precision for the mantissa.  It does not support any exceptions.
1266	  It is very simple, and approximately 3-6 times faster than NWFPE.
1267
1268	  It should be sufficient for most programs.  It may be not suitable
1269	  for scientific calculations, but you have to check this for yourself.
1270	  If you do not feel you need a faster FP emulation you should better
1271	  choose NWFPE.
1272
1273config VFP
1274	bool "VFP-format floating point maths"
1275	depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1276	help
1277	  Say Y to include VFP support code in the kernel. This is needed
1278	  if your hardware includes a VFP unit.
1279
1280	  Please see <file:Documentation/arm/VFP/release-notes.txt> for
1281	  release notes and additional status information.
1282
1283	  Say N if your target does not have VFP hardware.
1284
1285config VFPv3
1286	bool
1287	depends on VFP
1288	default y if CPU_V7
1289
1290config NEON
1291	bool "Advanced SIMD (NEON) Extension support"
1292	depends on VFPv3 && CPU_V7
1293	help
1294	  Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1295	  Extension.
1296
1297endmenu
1298
1299menu "Userspace binary formats"
1300
1301source "fs/Kconfig.binfmt"
1302
1303config ARTHUR
1304	tristate "RISC OS personality"
1305	depends on !AEABI
1306	help
1307	  Say Y here to include the kernel code necessary if you want to run
1308	  Acorn RISC OS/Arthur binaries under Linux. This code is still very
1309	  experimental; if this sounds frightening, say N and sleep in peace.
1310	  You can also say M here to compile this support as a module (which
1311	  will be called arthur).
1312
1313endmenu
1314
1315menu "Power management options"
1316
1317source "kernel/power/Kconfig"
1318
1319config ARCH_SUSPEND_POSSIBLE
1320	def_bool y
1321
1322endmenu
1323
1324source "net/Kconfig"
1325
1326menu "Device Drivers"
1327
1328source "drivers/base/Kconfig"
1329
1330source "drivers/connector/Kconfig"
1331
1332if ALIGNMENT_TRAP || !CPU_CP15_MMU
1333source "drivers/mtd/Kconfig"
1334endif
1335
1336source "drivers/parport/Kconfig"
1337
1338source "drivers/pnp/Kconfig"
1339
1340source "drivers/block/Kconfig"
1341
1342# misc before ide - BLK_DEV_SGIIOC4 depends on SGI_IOC4
1343
1344source "drivers/misc/Kconfig"
1345
1346source "drivers/ide/Kconfig"
1347
1348source "drivers/scsi/Kconfig"
1349
1350source "drivers/ata/Kconfig"
1351
1352source "drivers/md/Kconfig"
1353
1354source "drivers/message/fusion/Kconfig"
1355
1356source "drivers/ieee1394/Kconfig"
1357
1358source "drivers/message/i2o/Kconfig"
1359
1360source "drivers/net/Kconfig"
1361
1362source "drivers/isdn/Kconfig"
1363
1364# input before char - char/joystick depends on it. As does USB.
1365
1366source "drivers/input/Kconfig"
1367
1368source "drivers/char/Kconfig"
1369
1370source "drivers/i2c/Kconfig"
1371
1372source "drivers/spi/Kconfig"
1373
1374source "drivers/gpio/Kconfig"
1375
1376source "drivers/w1/Kconfig"
1377
1378source "drivers/power/Kconfig"
1379
1380source "drivers/hwmon/Kconfig"
1381
1382source "drivers/thermal/Kconfig"
1383
1384source "drivers/watchdog/Kconfig"
1385
1386source "drivers/ssb/Kconfig"
1387
1388#source "drivers/l3/Kconfig"
1389
1390source "drivers/mfd/Kconfig"
1391
1392source "drivers/media/Kconfig"
1393
1394source "drivers/video/Kconfig"
1395
1396source "sound/Kconfig"
1397
1398source "drivers/hid/Kconfig"
1399
1400source "drivers/usb/Kconfig"
1401
1402source "drivers/uwb/Kconfig"
1403
1404source "drivers/mmc/Kconfig"
1405
1406source "drivers/memstick/Kconfig"
1407
1408source "drivers/accessibility/Kconfig"
1409
1410source "drivers/leds/Kconfig"
1411
1412source "drivers/rtc/Kconfig"
1413
1414source "drivers/dma/Kconfig"
1415
1416source "drivers/dca/Kconfig"
1417
1418source "drivers/auxdisplay/Kconfig"
1419
1420source "drivers/regulator/Kconfig"
1421
1422source "drivers/uio/Kconfig"
1423
1424source "drivers/staging/Kconfig"
1425
1426endmenu
1427
1428source "fs/Kconfig"
1429
1430source "arch/arm/Kconfig.debug"
1431
1432source "security/Kconfig"
1433
1434source "crypto/Kconfig"
1435
1436source "lib/Kconfig"
1437