xref: /linux/arch/arm/Kconfig (revision b3b77c8caef1750ebeea1054e39e358550ea9f55)
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 GENERIC_ATOMIC64 if (!CPU_32v6K)
16	select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
17	select HAVE_ARCH_KGDB
18	select HAVE_KPROBES if (!XIP_KERNEL)
19	select HAVE_KRETPROBES if (HAVE_KPROBES)
20	select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
21	select HAVE_GENERIC_DMA_COHERENT
22	select HAVE_KERNEL_GZIP
23	select HAVE_KERNEL_LZO
24	select HAVE_KERNEL_LZMA
25	select HAVE_PERF_EVENTS
26	select PERF_USE_VMALLOC
27	help
28	  The ARM series is a line of low-power-consumption RISC chip designs
29	  licensed by ARM Ltd and targeted at embedded applications and
30	  handhelds such as the Compaq IPAQ.  ARM-based PCs are no longer
31	  manufactured, but legacy ARM-based PC hardware remains popular in
32	  Europe.  There is an ARM Linux project with a web page at
33	  <http://www.arm.linux.org.uk/>.
34
35config HAVE_PWM
36	bool
37
38config SYS_SUPPORTS_APM_EMULATION
39	bool
40
41config GENERIC_GPIO
42	bool
43
44config GENERIC_TIME
45	bool
46	default y
47
48config ARCH_USES_GETTIMEOFFSET
49	bool
50	default n
51
52config GENERIC_CLOCKEVENTS
53	bool
54
55config GENERIC_CLOCKEVENTS_BROADCAST
56	bool
57	depends on GENERIC_CLOCKEVENTS
58	default y if SMP && !LOCAL_TIMERS
59
60config HAVE_TCM
61	bool
62	select GENERIC_ALLOCATOR
63
64config HAVE_PROC_CPU
65	bool
66
67config NO_IOPORT
68	bool
69
70config EISA
71	bool
72	---help---
73	  The Extended Industry Standard Architecture (EISA) bus was
74	  developed as an open alternative to the IBM MicroChannel bus.
75
76	  The EISA bus provided some of the features of the IBM MicroChannel
77	  bus while maintaining backward compatibility with cards made for
78	  the older ISA bus.  The EISA bus saw limited use between 1988 and
79	  1995 when it was made obsolete by the PCI bus.
80
81	  Say Y here if you are building a kernel for an EISA-based machine.
82
83	  Otherwise, say N.
84
85config SBUS
86	bool
87
88config MCA
89	bool
90	help
91	  MicroChannel Architecture is found in some IBM PS/2 machines and
92	  laptops.  It is a bus system similar to PCI or ISA. See
93	  <file:Documentation/mca.txt> (and especially the web page given
94	  there) before attempting to build an MCA bus kernel.
95
96config GENERIC_HARDIRQS
97	bool
98	default y
99
100config STACKTRACE_SUPPORT
101	bool
102	default y
103
104config HAVE_LATENCYTOP_SUPPORT
105	bool
106	depends on !SMP
107	default y
108
109config LOCKDEP_SUPPORT
110	bool
111	default y
112
113config TRACE_IRQFLAGS_SUPPORT
114	bool
115	default y
116
117config HARDIRQS_SW_RESEND
118	bool
119	default y
120
121config GENERIC_IRQ_PROBE
122	bool
123	default y
124
125config GENERIC_LOCKBREAK
126	bool
127	default y
128	depends on SMP && PREEMPT
129
130config RWSEM_GENERIC_SPINLOCK
131	bool
132	default y
133
134config RWSEM_XCHGADD_ALGORITHM
135	bool
136
137config ARCH_HAS_ILOG2_U32
138	bool
139
140config ARCH_HAS_ILOG2_U64
141	bool
142
143config ARCH_HAS_CPUFREQ
144	bool
145	help
146	  Internal node to signify that the ARCH has CPUFREQ support
147	  and that the relevant menu configurations are displayed for
148	  it.
149
150config GENERIC_HWEIGHT
151	bool
152	default y
153
154config GENERIC_CALIBRATE_DELAY
155	bool
156	default y
157
158config ARCH_MAY_HAVE_PC_FDC
159	bool
160
161config ZONE_DMA
162	bool
163
164config NEED_DMA_MAP_STATE
165       def_bool y
166
167config GENERIC_ISA_DMA
168	bool
169
170config FIQ
171	bool
172
173config ARCH_MTD_XIP
174	bool
175
176config GENERIC_HARDIRQS_NO__DO_IRQ
177	def_bool y
178
179config ARM_L1_CACHE_SHIFT_6
180	bool
181	help
182	  Setting ARM L1 cache line size to 64 Bytes.
183
184config VECTORS_BASE
185	hex
186	default 0xffff0000 if MMU || CPU_HIGH_VECTOR
187	default DRAM_BASE if REMAP_VECTORS_TO_RAM
188	default 0x00000000
189	help
190	  The base address of exception vectors.
191
192source "init/Kconfig"
193
194source "kernel/Kconfig.freezer"
195
196menu "System Type"
197
198config MMU
199	bool "MMU-based Paged Memory Management Support"
200	default y
201	help
202	  Select if you want MMU-based virtualised addressing space
203	  support by paged memory management. If unsure, say 'Y'.
204
205#
206# The "ARM system type" choice list is ordered alphabetically by option
207# text.  Please add new entries in the option alphabetic order.
208#
209choice
210	prompt "ARM system type"
211	default ARCH_VERSATILE
212
213config ARCH_AAEC2000
214	bool "Agilent AAEC-2000 based"
215	select CPU_ARM920T
216	select ARM_AMBA
217	select HAVE_CLK
218	select ARCH_USES_GETTIMEOFFSET
219	help
220	  This enables support for systems based on the Agilent AAEC-2000
221
222config ARCH_INTEGRATOR
223	bool "ARM Ltd. Integrator family"
224	select ARM_AMBA
225	select ARCH_HAS_CPUFREQ
226	select COMMON_CLKDEV
227	select ICST
228	select GENERIC_CLOCKEVENTS
229	select PLAT_VERSATILE
230	help
231	  Support for ARM's Integrator platform.
232
233config ARCH_REALVIEW
234	bool "ARM Ltd. RealView family"
235	select ARM_AMBA
236	select COMMON_CLKDEV
237	select ICST
238	select GENERIC_CLOCKEVENTS
239	select ARCH_WANT_OPTIONAL_GPIOLIB
240	select PLAT_VERSATILE
241	select ARM_TIMER_SP804
242	select GPIO_PL061 if GPIOLIB
243	help
244	  This enables support for ARM Ltd RealView boards.
245
246config ARCH_VERSATILE
247	bool "ARM Ltd. Versatile family"
248	select ARM_AMBA
249	select ARM_VIC
250	select COMMON_CLKDEV
251	select ICST
252	select GENERIC_CLOCKEVENTS
253	select ARCH_WANT_OPTIONAL_GPIOLIB
254	select PLAT_VERSATILE
255	select ARM_TIMER_SP804
256	help
257	  This enables support for ARM Ltd Versatile board.
258
259config ARCH_VEXPRESS
260	bool "ARM Ltd. Versatile Express family"
261	select ARCH_WANT_OPTIONAL_GPIOLIB
262	select ARM_AMBA
263	select ARM_TIMER_SP804
264	select COMMON_CLKDEV
265	select GENERIC_CLOCKEVENTS
266	select HAVE_CLK
267	select ICST
268	select PLAT_VERSATILE
269	help
270	  This enables support for the ARM Ltd Versatile Express boards.
271
272config ARCH_AT91
273	bool "Atmel AT91"
274	select ARCH_REQUIRE_GPIOLIB
275	select HAVE_CLK
276	select ARCH_USES_GETTIMEOFFSET
277	help
278	  This enables support for systems based on the Atmel AT91RM9200,
279	  AT91SAM9 and AT91CAP9 processors.
280
281config ARCH_BCMRING
282	bool "Broadcom BCMRING"
283	depends on MMU
284	select CPU_V6
285	select ARM_AMBA
286	select COMMON_CLKDEV
287	select GENERIC_CLOCKEVENTS
288	select ARCH_WANT_OPTIONAL_GPIOLIB
289	help
290	  Support for Broadcom's BCMRing platform.
291
292config ARCH_CLPS711X
293	bool "Cirrus Logic CLPS711x/EP721x-based"
294	select CPU_ARM720T
295	select ARCH_USES_GETTIMEOFFSET
296	help
297	  Support for Cirrus Logic 711x/721x based boards.
298
299config ARCH_CNS3XXX
300	bool "Cavium Networks CNS3XXX family"
301	select CPU_V6
302	select GENERIC_CLOCKEVENTS
303	select ARM_GIC
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_L7200
443	bool "LinkUp-L7200"
444	select CPU_ARM720T
445	select FIQ
446	select ARCH_USES_GETTIMEOFFSET
447	help
448	  Say Y here if you intend to run this kernel on a LinkUp Systems
449	  L7200 Software Development Board which uses an ARM720T processor.
450	  Information on this board can be obtained at:
451
452	  <http://www.linkupsys.com/>
453
454	  If you have any questions or comments about the Linux kernel port
455	  to this board, send e-mail to <sjhill@cotw.com>.
456
457config ARCH_DOVE
458	bool "Marvell Dove"
459	select PCI
460	select ARCH_REQUIRE_GPIOLIB
461	select GENERIC_CLOCKEVENTS
462	select PLAT_ORION
463	help
464	  Support for the Marvell Dove SoC 88AP510
465
466config ARCH_KIRKWOOD
467	bool "Marvell Kirkwood"
468	select CPU_FEROCEON
469	select PCI
470	select ARCH_REQUIRE_GPIOLIB
471	select GENERIC_CLOCKEVENTS
472	select PLAT_ORION
473	help
474	  Support for the following Marvell Kirkwood series SoCs:
475	  88F6180, 88F6192 and 88F6281.
476
477config ARCH_LOKI
478	bool "Marvell Loki (88RC8480)"
479	select CPU_FEROCEON
480	select GENERIC_CLOCKEVENTS
481	select PLAT_ORION
482	help
483	  Support for the Marvell Loki (88RC8480) SoC.
484
485config ARCH_MV78XX0
486	bool "Marvell MV78xx0"
487	select CPU_FEROCEON
488	select PCI
489	select ARCH_REQUIRE_GPIOLIB
490	select GENERIC_CLOCKEVENTS
491	select PLAT_ORION
492	help
493	  Support for the following Marvell MV78xx0 series SoCs:
494	  MV781x0, MV782x0.
495
496config ARCH_ORION5X
497	bool "Marvell Orion"
498	depends on MMU
499	select CPU_FEROCEON
500	select PCI
501	select ARCH_REQUIRE_GPIOLIB
502	select GENERIC_CLOCKEVENTS
503	select PLAT_ORION
504	help
505	  Support for the following Marvell Orion 5x series SoCs:
506	  Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
507	  Orion-2 (5281), Orion-1-90 (6183).
508
509config ARCH_MMP
510	bool "Marvell PXA168/910/MMP2"
511	depends on MMU
512	select ARCH_REQUIRE_GPIOLIB
513	select COMMON_CLKDEV
514	select GENERIC_CLOCKEVENTS
515	select TICK_ONESHOT
516	select PLAT_PXA
517	help
518	  Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
519
520config ARCH_KS8695
521	bool "Micrel/Kendin KS8695"
522	select CPU_ARM922T
523	select ARCH_REQUIRE_GPIOLIB
524	select ARCH_USES_GETTIMEOFFSET
525	help
526	  Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
527	  System-on-Chip devices.
528
529config ARCH_NS9XXX
530	bool "NetSilicon NS9xxx"
531	select CPU_ARM926T
532	select GENERIC_GPIO
533	select GENERIC_CLOCKEVENTS
534	select HAVE_CLK
535	help
536	  Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
537	  System.
538
539	  <http://www.digi.com/products/microprocessors/index.jsp>
540
541config ARCH_W90X900
542	bool "Nuvoton W90X900 CPU"
543	select CPU_ARM926T
544	select ARCH_REQUIRE_GPIOLIB
545	select COMMON_CLKDEV
546	select GENERIC_CLOCKEVENTS
547	help
548	  Support for Nuvoton (Winbond logic dept.) ARM9 processor,
549	  At present, the w90x900 has been renamed nuc900, regarding
550	  the ARM series product line, you can login the following
551	  link address to know more.
552
553	  <http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/
554		ConsumerElectronicsIC/ARMMicrocontroller/ARMMicrocontroller>
555
556config ARCH_NUC93X
557	bool "Nuvoton NUC93X CPU"
558	select CPU_ARM926T
559	select COMMON_CLKDEV
560	help
561	  Support for Nuvoton (Winbond logic dept.) NUC93X MCU,The NUC93X is a
562	  low-power and high performance MPEG-4/JPEG multimedia controller chip.
563
564config ARCH_PNX4008
565	bool "Philips Nexperia PNX4008 Mobile"
566	select CPU_ARM926T
567	select COMMON_CLKDEV
568	select ARCH_USES_GETTIMEOFFSET
569	help
570	  This enables support for Philips PNX4008 mobile platform.
571
572config ARCH_PXA
573	bool "PXA2xx/PXA3xx-based"
574	depends on MMU
575	select ARCH_MTD_XIP
576	select ARCH_HAS_CPUFREQ
577	select COMMON_CLKDEV
578	select ARCH_REQUIRE_GPIOLIB
579	select GENERIC_CLOCKEVENTS
580	select TICK_ONESHOT
581	select PLAT_PXA
582	help
583	  Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
584
585config ARCH_MSM
586	bool "Qualcomm MSM"
587	select HAVE_CLK
588	select GENERIC_CLOCKEVENTS
589	help
590	  Support for Qualcomm MSM/QSD based systems.  This runs on the
591	  apps processor of the MSM/QSD and depends on a shared memory
592	  interface to the modem processor which runs the baseband
593	  stack and controls some vital subsystems
594	  (clock and power control, etc).
595
596config ARCH_SHMOBILE
597	bool "Renesas SH-Mobile"
598	help
599	  Support for Renesas's SH-Mobile ARM platforms
600
601config ARCH_RPC
602	bool "RiscPC"
603	select ARCH_ACORN
604	select FIQ
605	select TIMER_ACORN
606	select ARCH_MAY_HAVE_PC_FDC
607	select HAVE_PATA_PLATFORM
608	select ISA_DMA_API
609	select NO_IOPORT
610	select ARCH_SPARSEMEM_ENABLE
611	select ARCH_USES_GETTIMEOFFSET
612	help
613	  On the Acorn Risc-PC, Linux can support the internal IDE disk and
614	  CD-ROM interface, serial and parallel port, and the floppy drive.
615
616config ARCH_SA1100
617	bool "SA1100-based"
618	select CPU_SA1100
619	select ISA
620	select ARCH_SPARSEMEM_ENABLE
621	select ARCH_MTD_XIP
622	select ARCH_HAS_CPUFREQ
623	select CPU_FREQ
624	select GENERIC_CLOCKEVENTS
625	select HAVE_CLK
626	select TICK_ONESHOT
627	select ARCH_REQUIRE_GPIOLIB
628	help
629	  Support for StrongARM 11x0 based boards.
630
631config ARCH_S3C2410
632	bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450"
633	select GENERIC_GPIO
634	select ARCH_HAS_CPUFREQ
635	select HAVE_CLK
636	select ARCH_USES_GETTIMEOFFSET
637	help
638	  Samsung S3C2410X CPU based systems, such as the Simtec Electronics
639	  BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
640	  the Samsung SMDK2410 development board (and derivatives).
641
642	  Note, the S3C2416 and the S3C2450 are so close that they even share
643	  the same SoC ID code. This means that there is no seperate machine
644	  directory (no arch/arm/mach-s3c2450) as the S3C2416 was first.
645
646config ARCH_S3C64XX
647	bool "Samsung S3C64XX"
648	select PLAT_SAMSUNG
649	select CPU_V6
650	select ARM_VIC
651	select HAVE_CLK
652	select NO_IOPORT
653	select ARCH_USES_GETTIMEOFFSET
654	select ARCH_HAS_CPUFREQ
655	select ARCH_REQUIRE_GPIOLIB
656	select SAMSUNG_CLKSRC
657	select SAMSUNG_IRQ_VIC_TIMER
658	select SAMSUNG_IRQ_UART
659	select S3C_GPIO_TRACK
660	select S3C_GPIO_PULL_UPDOWN
661	select S3C_GPIO_CFG_S3C24XX
662	select S3C_GPIO_CFG_S3C64XX
663	select S3C_DEV_NAND
664	select USB_ARCH_HAS_OHCI
665	select SAMSUNG_GPIOLIB_4BIT
666	help
667	  Samsung S3C64XX series based systems
668
669config ARCH_S5P6440
670	bool "Samsung S5P6440"
671	select CPU_V6
672	select GENERIC_GPIO
673	select HAVE_CLK
674	help
675	  Samsung S5P6440 CPU based systems
676
677config ARCH_S5P6442
678	bool "Samsung S5P6442"
679	select CPU_V6
680	select GENERIC_GPIO
681	select HAVE_CLK
682	help
683	  Samsung S5P6442 CPU based systems
684
685config ARCH_S5PC1XX
686	bool "Samsung S5PC1XX"
687	select GENERIC_GPIO
688	select HAVE_CLK
689	select CPU_V7
690	select ARM_L1_CACHE_SHIFT_6
691	help
692	  Samsung S5PC1XX series based systems
693
694config ARCH_S5PV210
695	bool "Samsung S5PV210/S5PC110"
696	select CPU_V7
697	select GENERIC_GPIO
698	select HAVE_CLK
699	select ARM_L1_CACHE_SHIFT_6
700	help
701	  Samsung S5PV210/S5PC110 series based systems
702
703config ARCH_SHARK
704	bool "Shark"
705	select CPU_SA110
706	select ISA
707	select ISA_DMA
708	select ZONE_DMA
709	select PCI
710	select ARCH_USES_GETTIMEOFFSET
711	help
712	  Support for the StrongARM based Digital DNARD machine, also known
713	  as "Shark" (<http://www.shark-linux.de/shark.html>).
714
715config ARCH_LH7A40X
716	bool "Sharp LH7A40X"
717	select CPU_ARM922T
718	select ARCH_DISCONTIGMEM_ENABLE if !LH7A40X_CONTIGMEM
719	select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM
720	select ARCH_USES_GETTIMEOFFSET
721	help
722	  Say Y here for systems based on one of the Sharp LH7A40X
723	  System on a Chip processors.  These CPUs include an ARM922T
724	  core with a wide array of integrated devices for
725	  hand-held and low-power applications.
726
727config ARCH_U300
728	bool "ST-Ericsson U300 Series"
729	depends on MMU
730	select CPU_ARM926T
731	select HAVE_TCM
732	select ARM_AMBA
733	select ARM_VIC
734	select GENERIC_CLOCKEVENTS
735	select COMMON_CLKDEV
736	select GENERIC_GPIO
737	help
738	  Support for ST-Ericsson U300 series mobile platforms.
739
740config ARCH_U8500
741	bool "ST-Ericsson U8500 Series"
742	select CPU_V7
743	select ARM_AMBA
744	select GENERIC_CLOCKEVENTS
745	select COMMON_CLKDEV
746	select ARCH_REQUIRE_GPIOLIB
747	help
748	  Support for ST-Ericsson's Ux500 architecture
749
750config ARCH_NOMADIK
751	bool "STMicroelectronics Nomadik"
752	select ARM_AMBA
753	select ARM_VIC
754	select CPU_ARM926T
755	select COMMON_CLKDEV
756	select GENERIC_CLOCKEVENTS
757	select ARCH_REQUIRE_GPIOLIB
758	help
759	  Support for the Nomadik platform by ST-Ericsson
760
761config ARCH_DAVINCI
762	bool "TI DaVinci"
763	select GENERIC_CLOCKEVENTS
764	select ARCH_REQUIRE_GPIOLIB
765	select ZONE_DMA
766	select HAVE_IDE
767	select COMMON_CLKDEV
768	select GENERIC_ALLOCATOR
769	select ARCH_HAS_HOLES_MEMORYMODEL
770	help
771	  Support for TI's DaVinci platform.
772
773config ARCH_OMAP
774	bool "TI OMAP"
775	select HAVE_CLK
776	select ARCH_REQUIRE_GPIOLIB
777	select ARCH_HAS_CPUFREQ
778	select GENERIC_CLOCKEVENTS
779	select ARCH_HAS_HOLES_MEMORYMODEL
780	help
781	  Support for TI's OMAP platform (OMAP1 and OMAP2).
782
783config PLAT_SPEAR
784	bool "ST SPEAr"
785	select ARM_AMBA
786	select ARCH_REQUIRE_GPIOLIB
787	select COMMON_CLKDEV
788	select GENERIC_CLOCKEVENTS
789	select HAVE_CLK
790	help
791	  Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx).
792
793endchoice
794
795#
796# This is sorted alphabetically by mach-* pathname.  However, plat-*
797# Kconfigs may be included either alphabetically (according to the
798# plat- suffix) or along side the corresponding mach-* source.
799#
800source "arch/arm/mach-aaec2000/Kconfig"
801
802source "arch/arm/mach-at91/Kconfig"
803
804source "arch/arm/mach-bcmring/Kconfig"
805
806source "arch/arm/mach-clps711x/Kconfig"
807
808source "arch/arm/mach-cns3xxx/Kconfig"
809
810source "arch/arm/mach-davinci/Kconfig"
811
812source "arch/arm/mach-dove/Kconfig"
813
814source "arch/arm/mach-ep93xx/Kconfig"
815
816source "arch/arm/mach-footbridge/Kconfig"
817
818source "arch/arm/mach-gemini/Kconfig"
819
820source "arch/arm/mach-h720x/Kconfig"
821
822source "arch/arm/mach-integrator/Kconfig"
823
824source "arch/arm/mach-iop32x/Kconfig"
825
826source "arch/arm/mach-iop33x/Kconfig"
827
828source "arch/arm/mach-iop13xx/Kconfig"
829
830source "arch/arm/mach-ixp4xx/Kconfig"
831
832source "arch/arm/mach-ixp2000/Kconfig"
833
834source "arch/arm/mach-ixp23xx/Kconfig"
835
836source "arch/arm/mach-kirkwood/Kconfig"
837
838source "arch/arm/mach-ks8695/Kconfig"
839
840source "arch/arm/mach-lh7a40x/Kconfig"
841
842source "arch/arm/mach-loki/Kconfig"
843
844source "arch/arm/mach-msm/Kconfig"
845
846source "arch/arm/mach-mv78xx0/Kconfig"
847
848source "arch/arm/plat-mxc/Kconfig"
849
850source "arch/arm/mach-netx/Kconfig"
851
852source "arch/arm/mach-nomadik/Kconfig"
853source "arch/arm/plat-nomadik/Kconfig"
854
855source "arch/arm/mach-ns9xxx/Kconfig"
856
857source "arch/arm/mach-nuc93x/Kconfig"
858
859source "arch/arm/plat-omap/Kconfig"
860
861source "arch/arm/mach-omap1/Kconfig"
862
863source "arch/arm/mach-omap2/Kconfig"
864
865source "arch/arm/mach-orion5x/Kconfig"
866
867source "arch/arm/mach-pxa/Kconfig"
868source "arch/arm/plat-pxa/Kconfig"
869
870source "arch/arm/mach-mmp/Kconfig"
871
872source "arch/arm/mach-realview/Kconfig"
873
874source "arch/arm/mach-sa1100/Kconfig"
875
876source "arch/arm/plat-samsung/Kconfig"
877source "arch/arm/plat-s3c24xx/Kconfig"
878source "arch/arm/plat-s5p/Kconfig"
879source "arch/arm/plat-s5pc1xx/Kconfig"
880source "arch/arm/plat-spear/Kconfig"
881
882if ARCH_S3C2410
883source "arch/arm/mach-s3c2400/Kconfig"
884source "arch/arm/mach-s3c2410/Kconfig"
885source "arch/arm/mach-s3c2412/Kconfig"
886source "arch/arm/mach-s3c2416/Kconfig"
887source "arch/arm/mach-s3c2440/Kconfig"
888source "arch/arm/mach-s3c2443/Kconfig"
889endif
890
891if ARCH_S3C64XX
892source "arch/arm/mach-s3c64xx/Kconfig"
893endif
894
895source "arch/arm/mach-s5p6440/Kconfig"
896
897source "arch/arm/mach-s5p6442/Kconfig"
898
899if ARCH_S5PC1XX
900source "arch/arm/mach-s5pc100/Kconfig"
901endif
902
903source "arch/arm/mach-s5pv210/Kconfig"
904
905source "arch/arm/mach-shmobile/Kconfig"
906
907source "arch/arm/plat-stmp3xxx/Kconfig"
908
909source "arch/arm/mach-u300/Kconfig"
910
911source "arch/arm/mach-ux500/Kconfig"
912
913source "arch/arm/mach-versatile/Kconfig"
914
915source "arch/arm/mach-vexpress/Kconfig"
916
917source "arch/arm/mach-w90x900/Kconfig"
918
919# Definitions to make life easier
920config ARCH_ACORN
921	bool
922
923config PLAT_IOP
924	bool
925	select GENERIC_CLOCKEVENTS
926
927config PLAT_ORION
928	bool
929
930config PLAT_PXA
931	bool
932
933config PLAT_VERSATILE
934	bool
935
936config ARM_TIMER_SP804
937	bool
938
939source arch/arm/mm/Kconfig
940
941config IWMMXT
942	bool "Enable iWMMXt support"
943	depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK
944	default y if PXA27x || PXA3xx || ARCH_MMP
945	help
946	  Enable support for iWMMXt context switching at run time if
947	  running on a CPU that supports it.
948
949#  bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
950config XSCALE_PMU
951	bool
952	depends on CPU_XSCALE && !XSCALE_PMU_TIMER
953	default y
954
955config CPU_HAS_PMU
956	depends on CPU_V6 || CPU_V7 || XSCALE_PMU
957	default y
958	bool
959
960if !MMU
961source "arch/arm/Kconfig-nommu"
962endif
963
964config ARM_ERRATA_411920
965	bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
966	depends on CPU_V6 && !SMP
967	help
968	  Invalidation of the Instruction Cache operation can
969	  fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
970	  It does not affect the MPCore. This option enables the ARM Ltd.
971	  recommended workaround.
972
973config ARM_ERRATA_430973
974	bool "ARM errata: Stale prediction on replaced interworking branch"
975	depends on CPU_V7
976	help
977	  This option enables the workaround for the 430973 Cortex-A8
978	  (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
979	  interworking branch is replaced with another code sequence at the
980	  same virtual address, whether due to self-modifying code or virtual
981	  to physical address re-mapping, Cortex-A8 does not recover from the
982	  stale interworking branch prediction. This results in Cortex-A8
983	  executing the new code sequence in the incorrect ARM or Thumb state.
984	  The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
985	  and also flushes the branch target cache at every context switch.
986	  Note that setting specific bits in the ACTLR register may not be
987	  available in non-secure mode.
988
989config ARM_ERRATA_458693
990	bool "ARM errata: Processor deadlock when a false hazard is created"
991	depends on CPU_V7
992	help
993	  This option enables the workaround for the 458693 Cortex-A8 (r2p0)
994	  erratum. For very specific sequences of memory operations, it is
995	  possible for a hazard condition intended for a cache line to instead
996	  be incorrectly associated with a different cache line. This false
997	  hazard might then cause a processor deadlock. The workaround enables
998	  the L1 caching of the NEON accesses and disables the PLD instruction
999	  in the ACTLR register. Note that setting specific bits in the ACTLR
1000	  register may not be available in non-secure mode.
1001
1002config ARM_ERRATA_460075
1003	bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
1004	depends on CPU_V7
1005	help
1006	  This option enables the workaround for the 460075 Cortex-A8 (r2p0)
1007	  erratum. Any asynchronous access to the L2 cache may encounter a
1008	  situation in which recent store transactions to the L2 cache are lost
1009	  and overwritten with stale memory contents from external memory. The
1010	  workaround disables the write-allocate mode for the L2 cache via the
1011	  ACTLR register. Note that setting specific bits in the ACTLR register
1012	  may not be available in non-secure mode.
1013
1014config PL310_ERRATA_588369
1015	bool "Clean & Invalidate maintenance operations do not invalidate clean lines"
1016	depends on CACHE_L2X0 && ARCH_OMAP4
1017	help
1018	   The PL310 L2 cache controller implements three types of Clean &
1019	   Invalidate maintenance operations: by Physical Address
1020	   (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC).
1021	   They are architecturally defined to behave as the execution of a
1022	   clean operation followed immediately by an invalidate operation,
1023	   both performing to the same memory location. This functionality
1024	   is not correctly implemented in PL310 as clean lines are not
1025	   invalidated as a result of these operations. Note that this errata
1026	   uses Texas Instrument's secure monitor api.
1027endmenu
1028
1029source "arch/arm/common/Kconfig"
1030
1031config FORCE_MAX_ZONEORDER
1032	int
1033	depends on SA1111
1034	default "9"
1035
1036menu "Bus support"
1037
1038config ARM_AMBA
1039	bool
1040
1041config ISA
1042	bool
1043	help
1044	  Find out whether you have ISA slots on your motherboard.  ISA is the
1045	  name of a bus system, i.e. the way the CPU talks to the other stuff
1046	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
1047	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
1048	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
1049
1050# Select ISA DMA controller support
1051config ISA_DMA
1052	bool
1053	select ISA_DMA_API
1054
1055# Select ISA DMA interface
1056config ISA_DMA_API
1057	bool
1058
1059config PCI
1060	bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695 || MACH_ARMCORE
1061	help
1062	  Find out whether you have a PCI motherboard. PCI is the name of a
1063	  bus system, i.e. the way the CPU talks to the other stuff inside
1064	  your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1065	  VESA. If you have PCI, say Y, otherwise N.
1066
1067config PCI_DOMAINS
1068	bool
1069	depends on PCI
1070
1071config PCI_SYSCALL
1072	def_bool PCI
1073
1074# Select the host bridge type
1075config PCI_HOST_VIA82C505
1076	bool
1077	depends on PCI && ARCH_SHARK
1078	default y
1079
1080config PCI_HOST_ITE8152
1081	bool
1082	depends on PCI && MACH_ARMCORE
1083	default y
1084	select DMABOUNCE
1085
1086source "drivers/pci/Kconfig"
1087
1088source "drivers/pcmcia/Kconfig"
1089
1090endmenu
1091
1092menu "Kernel Features"
1093
1094source "kernel/time/Kconfig"
1095
1096config SMP
1097	bool "Symmetric Multi-Processing (EXPERIMENTAL)"
1098	depends on EXPERIMENTAL && (REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP ||\
1099		 MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 ||\
1100		 ARCH_U8500 || ARCH_VEXPRESS_CA9X4)
1101	depends on GENERIC_CLOCKEVENTS
1102	select USE_GENERIC_SMP_HELPERS
1103	select HAVE_ARM_SCU if (ARCH_REALVIEW || ARCH_OMAP4 || ARCH_U8500 || ARCH_VEXPRESS_CA9X4)
1104	help
1105	  This enables support for systems with more than one CPU. If you have
1106	  a system with only one CPU, like most personal computers, say N. If
1107	  you have a system with more than one CPU, say Y.
1108
1109	  If you say N here, the kernel will run on single and multiprocessor
1110	  machines, but will use only one CPU of a multiprocessor machine. If
1111	  you say Y here, the kernel will run on many, but not all, single
1112	  processor machines. On a single processor machine, the kernel will
1113	  run faster if you say N here.
1114
1115	  See also <file:Documentation/i386/IO-APIC.txt>,
1116	  <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
1117	  <http://www.linuxdoc.org/docs.html#howto>.
1118
1119	  If you don't know what to do here, say N.
1120
1121config HAVE_ARM_SCU
1122	bool
1123	depends on SMP
1124	help
1125	  This option enables support for the ARM system coherency unit
1126
1127config HAVE_ARM_TWD
1128	bool
1129	depends on SMP
1130	help
1131	  This options enables support for the ARM timer and watchdog unit
1132
1133choice
1134	prompt "Memory split"
1135	default VMSPLIT_3G
1136	help
1137	  Select the desired split between kernel and user memory.
1138
1139	  If you are not absolutely sure what you are doing, leave this
1140	  option alone!
1141
1142	config VMSPLIT_3G
1143		bool "3G/1G user/kernel split"
1144	config VMSPLIT_2G
1145		bool "2G/2G user/kernel split"
1146	config VMSPLIT_1G
1147		bool "1G/3G user/kernel split"
1148endchoice
1149
1150config PAGE_OFFSET
1151	hex
1152	default 0x40000000 if VMSPLIT_1G
1153	default 0x80000000 if VMSPLIT_2G
1154	default 0xC0000000
1155
1156config NR_CPUS
1157	int "Maximum number of CPUs (2-32)"
1158	range 2 32
1159	depends on SMP
1160	default "4"
1161
1162config HOTPLUG_CPU
1163	bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
1164	depends on SMP && HOTPLUG && EXPERIMENTAL
1165	help
1166	  Say Y here to experiment with turning CPUs off and on.  CPUs
1167	  can be controlled through /sys/devices/system/cpu.
1168
1169config LOCAL_TIMERS
1170	bool "Use local timer interrupts"
1171	depends on SMP && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || \
1172		REALVIEW_EB_A9MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || ARCH_U8500)
1173	default y
1174	select HAVE_ARM_TWD if (ARCH_REALVIEW || ARCH_OMAP4 || ARCH_U8500)
1175	help
1176	  Enable support for local timers on SMP platforms, rather then the
1177	  legacy IPI broadcast method.  Local timers allows the system
1178	  accounting to be spread across the timer interval, preventing a
1179	  "thundering herd" at every timer tick.
1180
1181source kernel/Kconfig.preempt
1182
1183config HZ
1184	int
1185	default 128 if ARCH_L7200
1186	default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P6440 || ARCH_S5P6442 || ARCH_S5PV210
1187	default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
1188	default AT91_TIMER_HZ if ARCH_AT91
1189	default 100
1190
1191config THUMB2_KERNEL
1192	bool "Compile the kernel in Thumb-2 mode"
1193	depends on CPU_V7 && EXPERIMENTAL
1194	select AEABI
1195	select ARM_ASM_UNIFIED
1196	help
1197	  By enabling this option, the kernel will be compiled in
1198	  Thumb-2 mode. A compiler/assembler that understand the unified
1199	  ARM-Thumb syntax is needed.
1200
1201	  If unsure, say N.
1202
1203config ARM_ASM_UNIFIED
1204	bool
1205
1206config AEABI
1207	bool "Use the ARM EABI to compile the kernel"
1208	help
1209	  This option allows for the kernel to be compiled using the latest
1210	  ARM ABI (aka EABI).  This is only useful if you are using a user
1211	  space environment that is also compiled with EABI.
1212
1213	  Since there are major incompatibilities between the legacy ABI and
1214	  EABI, especially with regard to structure member alignment, this
1215	  option also changes the kernel syscall calling convention to
1216	  disambiguate both ABIs and allow for backward compatibility support
1217	  (selected with CONFIG_OABI_COMPAT).
1218
1219	  To use this you need GCC version 4.0.0 or later.
1220
1221config OABI_COMPAT
1222	bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
1223	depends on AEABI && EXPERIMENTAL
1224	default y
1225	help
1226	  This option preserves the old syscall interface along with the
1227	  new (ARM EABI) one. It also provides a compatibility layer to
1228	  intercept syscalls that have structure arguments which layout
1229	  in memory differs between the legacy ABI and the new ARM EABI
1230	  (only for non "thumb" binaries). This option adds a tiny
1231	  overhead to all syscalls and produces a slightly larger kernel.
1232	  If you know you'll be using only pure EABI user space then you
1233	  can say N here. If this option is not selected and you attempt
1234	  to execute a legacy ABI binary then the result will be
1235	  UNPREDICTABLE (in fact it can be predicted that it won't work
1236	  at all). If in doubt say Y.
1237
1238config ARCH_HAS_HOLES_MEMORYMODEL
1239	bool
1240
1241# Discontigmem is deprecated
1242config ARCH_DISCONTIGMEM_ENABLE
1243	bool
1244
1245config ARCH_SPARSEMEM_ENABLE
1246	bool
1247
1248config ARCH_SPARSEMEM_DEFAULT
1249	def_bool ARCH_SPARSEMEM_ENABLE
1250
1251config ARCH_SELECT_MEMORY_MODEL
1252	def_bool ARCH_DISCONTIGMEM_ENABLE && ARCH_SPARSEMEM_ENABLE
1253
1254config NODES_SHIFT
1255	int
1256	default "4" if ARCH_LH7A40X
1257	default "2"
1258	depends on NEED_MULTIPLE_NODES
1259
1260config HIGHMEM
1261	bool "High Memory Support (EXPERIMENTAL)"
1262	depends on MMU && EXPERIMENTAL
1263	help
1264	  The address space of ARM processors is only 4 Gigabytes large
1265	  and it has to accommodate user address space, kernel address
1266	  space as well as some memory mapped IO. That means that, if you
1267	  have a large amount of physical memory and/or IO, not all of the
1268	  memory can be "permanently mapped" by the kernel. The physical
1269	  memory that is not permanently mapped is called "high memory".
1270
1271	  Depending on the selected kernel/user memory split, minimum
1272	  vmalloc space and actual amount of RAM, you may not need this
1273	  option which should result in a slightly faster kernel.
1274
1275	  If unsure, say n.
1276
1277config HIGHPTE
1278	bool "Allocate 2nd-level pagetables from highmem"
1279	depends on HIGHMEM
1280	depends on !OUTER_CACHE
1281
1282config HW_PERF_EVENTS
1283	bool "Enable hardware performance counter support for perf events"
1284	depends on PERF_EVENTS && CPU_HAS_PMU
1285	default y
1286	help
1287	  Enable hardware performance counter support for perf events. If
1288	  disabled, perf events will use software events only.
1289
1290source "mm/Kconfig"
1291
1292config LEDS
1293	bool "Timer and CPU usage LEDs"
1294	depends on ARCH_CDB89712 || ARCH_EBSA110 || \
1295		   ARCH_EBSA285 || ARCH_INTEGRATOR || \
1296		   ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
1297		   ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
1298		   ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
1299		   ARCH_AT91 || ARCH_DAVINCI || \
1300		   ARCH_KS8695 || MACH_RD88F5182 || ARCH_REALVIEW
1301	help
1302	  If you say Y here, the LEDs on your machine will be used
1303	  to provide useful information about your current system status.
1304
1305	  If you are compiling a kernel for a NetWinder or EBSA-285, you will
1306	  be able to select which LEDs are active using the options below. If
1307	  you are compiling a kernel for the EBSA-110 or the LART however, the
1308	  red LED will simply flash regularly to indicate that the system is
1309	  still functional. It is safe to say Y here if you have a CATS
1310	  system, but the driver will do nothing.
1311
1312config LEDS_TIMER
1313	bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
1314			    OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1315			    || MACH_OMAP_PERSEUS2
1316	depends on LEDS
1317	depends on !GENERIC_CLOCKEVENTS
1318	default y if ARCH_EBSA110
1319	help
1320	  If you say Y here, one of the system LEDs (the green one on the
1321	  NetWinder, the amber one on the EBSA285, or the red one on the LART)
1322	  will flash regularly to indicate that the system is still
1323	  operational. This is mainly useful to kernel hackers who are
1324	  debugging unstable kernels.
1325
1326	  The LART uses the same LED for both Timer LED and CPU usage LED
1327	  functions. You may choose to use both, but the Timer LED function
1328	  will overrule the CPU usage LED.
1329
1330config LEDS_CPU
1331	bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
1332			!ARCH_OMAP) \
1333			|| OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1334			|| MACH_OMAP_PERSEUS2
1335	depends on LEDS
1336	help
1337	  If you say Y here, the red LED will be used to give a good real
1338	  time indication of CPU usage, by lighting whenever the idle task
1339	  is not currently executing.
1340
1341	  The LART uses the same LED for both Timer LED and CPU usage LED
1342	  functions. You may choose to use both, but the Timer LED function
1343	  will overrule the CPU usage LED.
1344
1345config ALIGNMENT_TRAP
1346	bool
1347	depends on CPU_CP15_MMU
1348	default y if !ARCH_EBSA110
1349	select HAVE_PROC_CPU if PROC_FS
1350	help
1351	  ARM processors cannot fetch/store information which is not
1352	  naturally aligned on the bus, i.e., a 4 byte fetch must start at an
1353	  address divisible by 4. On 32-bit ARM processors, these non-aligned
1354	  fetch/store instructions will be emulated in software if you say
1355	  here, which has a severe performance impact. This is necessary for
1356	  correct operation of some network protocols. With an IP-only
1357	  configuration it is safe to say N, otherwise say Y.
1358
1359config UACCESS_WITH_MEMCPY
1360	bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
1361	depends on MMU && EXPERIMENTAL
1362	default y if CPU_FEROCEON
1363	help
1364	  Implement faster copy_to_user and clear_user methods for CPU
1365	  cores where a 8-word STM instruction give significantly higher
1366	  memory write throughput than a sequence of individual 32bit stores.
1367
1368	  A possible side effect is a slight increase in scheduling latency
1369	  between threads sharing the same address space if they invoke
1370	  such copy operations with large buffers.
1371
1372	  However, if the CPU data cache is using a write-allocate mode,
1373	  this option is unlikely to provide any performance gain.
1374
1375endmenu
1376
1377menu "Boot options"
1378
1379# Compressed boot loader in ROM.  Yes, we really want to ask about
1380# TEXT and BSS so we preserve their values in the config files.
1381config ZBOOT_ROM_TEXT
1382	hex "Compressed ROM boot loader base address"
1383	default "0"
1384	help
1385	  The physical address at which the ROM-able zImage is to be
1386	  placed in the target.  Platforms which normally make use of
1387	  ROM-able zImage formats normally set this to a suitable
1388	  value in their defconfig file.
1389
1390	  If ZBOOT_ROM is not enabled, this has no effect.
1391
1392config ZBOOT_ROM_BSS
1393	hex "Compressed ROM boot loader BSS address"
1394	default "0"
1395	help
1396	  The base address of an area of read/write memory in the target
1397	  for the ROM-able zImage which must be available while the
1398	  decompressor is running. It must be large enough to hold the
1399	  entire decompressed kernel plus an additional 128 KiB.
1400	  Platforms which normally make use of ROM-able zImage formats
1401	  normally set this to a suitable value in their defconfig file.
1402
1403	  If ZBOOT_ROM is not enabled, this has no effect.
1404
1405config ZBOOT_ROM
1406	bool "Compressed boot loader in ROM/flash"
1407	depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1408	help
1409	  Say Y here if you intend to execute your compressed kernel image
1410	  (zImage) directly from ROM or flash.  If unsure, say N.
1411
1412config CMDLINE
1413	string "Default kernel command string"
1414	default ""
1415	help
1416	  On some architectures (EBSA110 and CATS), there is currently no way
1417	  for the boot loader to pass arguments to the kernel. For these
1418	  architectures, you should supply some command-line options at build
1419	  time by entering them here. As a minimum, you should specify the
1420	  memory size and the root device (e.g., mem=64M root=/dev/nfs).
1421
1422config XIP_KERNEL
1423	bool "Kernel Execute-In-Place from ROM"
1424	depends on !ZBOOT_ROM
1425	help
1426	  Execute-In-Place allows the kernel to run from non-volatile storage
1427	  directly addressable by the CPU, such as NOR flash. This saves RAM
1428	  space since the text section of the kernel is not loaded from flash
1429	  to RAM.  Read-write sections, such as the data section and stack,
1430	  are still copied to RAM.  The XIP kernel is not compressed since
1431	  it has to run directly from flash, so it will take more space to
1432	  store it.  The flash address used to link the kernel object files,
1433	  and for storing it, is configuration dependent. Therefore, if you
1434	  say Y here, you must know the proper physical address where to
1435	  store the kernel image depending on your own flash memory usage.
1436
1437	  Also note that the make target becomes "make xipImage" rather than
1438	  "make zImage" or "make Image".  The final kernel binary to put in
1439	  ROM memory will be arch/arm/boot/xipImage.
1440
1441	  If unsure, say N.
1442
1443config XIP_PHYS_ADDR
1444	hex "XIP Kernel Physical Location"
1445	depends on XIP_KERNEL
1446	default "0x00080000"
1447	help
1448	  This is the physical address in your flash memory the kernel will
1449	  be linked for and stored to.  This address is dependent on your
1450	  own flash usage.
1451
1452config KEXEC
1453	bool "Kexec system call (EXPERIMENTAL)"
1454	depends on EXPERIMENTAL
1455	help
1456	  kexec is a system call that implements the ability to shutdown your
1457	  current kernel, and to start another kernel.  It is like a reboot
1458	  but it is independent of the system firmware.   And like a reboot
1459	  you can start any kernel with it, not just Linux.
1460
1461	  It is an ongoing process to be certain the hardware in a machine
1462	  is properly shutdown, so do not be surprised if this code does not
1463	  initially work for you.  It may help to enable device hotplugging
1464	  support.
1465
1466config ATAGS_PROC
1467	bool "Export atags in procfs"
1468	depends on KEXEC
1469	default y
1470	help
1471	  Should the atags used to boot the kernel be exported in an "atags"
1472	  file in procfs. Useful with kexec.
1473
1474endmenu
1475
1476menu "CPU Power Management"
1477
1478if ARCH_HAS_CPUFREQ
1479
1480source "drivers/cpufreq/Kconfig"
1481
1482config CPU_FREQ_SA1100
1483	bool
1484
1485config CPU_FREQ_SA1110
1486	bool
1487
1488config CPU_FREQ_INTEGRATOR
1489	tristate "CPUfreq driver for ARM Integrator CPUs"
1490	depends on ARCH_INTEGRATOR && CPU_FREQ
1491	default y
1492	help
1493	  This enables the CPUfreq driver for ARM Integrator CPUs.
1494
1495	  For details, take a look at <file:Documentation/cpu-freq>.
1496
1497	  If in doubt, say Y.
1498
1499config CPU_FREQ_PXA
1500	bool
1501	depends on CPU_FREQ && ARCH_PXA && PXA25x
1502	default y
1503	select CPU_FREQ_DEFAULT_GOV_USERSPACE
1504
1505config CPU_FREQ_S3C64XX
1506	bool "CPUfreq support for Samsung S3C64XX CPUs"
1507	depends on CPU_FREQ && CPU_S3C6410
1508
1509config CPU_FREQ_S3C
1510	bool
1511	help
1512	  Internal configuration node for common cpufreq on Samsung SoC
1513
1514config CPU_FREQ_S3C24XX
1515	bool "CPUfreq driver for Samsung S3C24XX series CPUs"
1516	depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL
1517	select CPU_FREQ_S3C
1518	help
1519	  This enables the CPUfreq driver for the Samsung S3C24XX family
1520	  of CPUs.
1521
1522	  For details, take a look at <file:Documentation/cpu-freq>.
1523
1524	  If in doubt, say N.
1525
1526config CPU_FREQ_S3C24XX_PLL
1527	bool "Support CPUfreq changing of PLL frequency"
1528	depends on CPU_FREQ_S3C24XX && EXPERIMENTAL
1529	help
1530	  Compile in support for changing the PLL frequency from the
1531	  S3C24XX series CPUfreq driver. The PLL takes time to settle
1532	  after a frequency change, so by default it is not enabled.
1533
1534	  This also means that the PLL tables for the selected CPU(s) will
1535	  be built which may increase the size of the kernel image.
1536
1537config CPU_FREQ_S3C24XX_DEBUG
1538	bool "Debug CPUfreq Samsung driver core"
1539	depends on CPU_FREQ_S3C24XX
1540	help
1541	  Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
1542
1543config CPU_FREQ_S3C24XX_IODEBUG
1544	bool "Debug CPUfreq Samsung driver IO timing"
1545	depends on CPU_FREQ_S3C24XX
1546	help
1547	  Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
1548
1549config CPU_FREQ_S3C24XX_DEBUGFS
1550	bool "Export debugfs for CPUFreq"
1551	depends on CPU_FREQ_S3C24XX && DEBUG_FS
1552	help
1553	  Export status information via debugfs.
1554
1555endif
1556
1557source "drivers/cpuidle/Kconfig"
1558
1559endmenu
1560
1561menu "Floating point emulation"
1562
1563comment "At least one emulation must be selected"
1564
1565config FPE_NWFPE
1566	bool "NWFPE math emulation"
1567	depends on !AEABI || OABI_COMPAT
1568	---help---
1569	  Say Y to include the NWFPE floating point emulator in the kernel.
1570	  This is necessary to run most binaries. Linux does not currently
1571	  support floating point hardware so you need to say Y here even if
1572	  your machine has an FPA or floating point co-processor podule.
1573
1574	  You may say N here if you are going to load the Acorn FPEmulator
1575	  early in the bootup.
1576
1577config FPE_NWFPE_XP
1578	bool "Support extended precision"
1579	depends on FPE_NWFPE
1580	help
1581	  Say Y to include 80-bit support in the kernel floating-point
1582	  emulator.  Otherwise, only 32 and 64-bit support is compiled in.
1583	  Note that gcc does not generate 80-bit operations by default,
1584	  so in most cases this option only enlarges the size of the
1585	  floating point emulator without any good reason.
1586
1587	  You almost surely want to say N here.
1588
1589config FPE_FASTFPE
1590	bool "FastFPE math emulation (EXPERIMENTAL)"
1591	depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1592	---help---
1593	  Say Y here to include the FAST floating point emulator in the kernel.
1594	  This is an experimental much faster emulator which now also has full
1595	  precision for the mantissa.  It does not support any exceptions.
1596	  It is very simple, and approximately 3-6 times faster than NWFPE.
1597
1598	  It should be sufficient for most programs.  It may be not suitable
1599	  for scientific calculations, but you have to check this for yourself.
1600	  If you do not feel you need a faster FP emulation you should better
1601	  choose NWFPE.
1602
1603config VFP
1604	bool "VFP-format floating point maths"
1605	depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1606	help
1607	  Say Y to include VFP support code in the kernel. This is needed
1608	  if your hardware includes a VFP unit.
1609
1610	  Please see <file:Documentation/arm/VFP/release-notes.txt> for
1611	  release notes and additional status information.
1612
1613	  Say N if your target does not have VFP hardware.
1614
1615config VFPv3
1616	bool
1617	depends on VFP
1618	default y if CPU_V7
1619
1620config NEON
1621	bool "Advanced SIMD (NEON) Extension support"
1622	depends on VFPv3 && CPU_V7
1623	help
1624	  Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1625	  Extension.
1626
1627endmenu
1628
1629menu "Userspace binary formats"
1630
1631source "fs/Kconfig.binfmt"
1632
1633config ARTHUR
1634	tristate "RISC OS personality"
1635	depends on !AEABI
1636	help
1637	  Say Y here to include the kernel code necessary if you want to run
1638	  Acorn RISC OS/Arthur binaries under Linux. This code is still very
1639	  experimental; if this sounds frightening, say N and sleep in peace.
1640	  You can also say M here to compile this support as a module (which
1641	  will be called arthur).
1642
1643endmenu
1644
1645menu "Power management options"
1646
1647source "kernel/power/Kconfig"
1648
1649config ARCH_SUSPEND_POSSIBLE
1650	def_bool y
1651
1652endmenu
1653
1654source "net/Kconfig"
1655
1656source "drivers/Kconfig"
1657
1658source "fs/Kconfig"
1659
1660source "arch/arm/Kconfig.debug"
1661
1662source "security/Kconfig"
1663
1664source "crypto/Kconfig"
1665
1666source "lib/Kconfig"
1667