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