]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/Kconfig
Add HAVE_OPROFILE
[net-next-2.6.git] / arch / arm / Kconfig
CommitLineData
1da177e4
LT
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
12b824fb 11 select RTC_LIB
75e7153a 12 select SYS_SUPPORTS_APM_EMULATION
42d4b839 13 select HAVE_OPROFILE
1da177e4
LT
14 help
15 The ARM series is a line of low-power-consumption RISC chip designs
f6c8965a 16 licensed by ARM Ltd and targeted at embedded applications and
1da177e4 17 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer
f6c8965a 18 manufactured, but legacy ARM-based PC hardware remains popular in
1da177e4
LT
19 Europe. There is an ARM Linux project with a web page at
20 <http://www.arm.linux.org.uk/>.
21
75e7153a
RB
22config SYS_SUPPORTS_APM_EMULATION
23 bool
24
0a938b97
DB
25config GENERIC_GPIO
26 bool
27 default n
28
746140c7
KH
29config GENERIC_TIME
30 bool
31 default n
32
0567a0c0
KH
33config GENERIC_CLOCKEVENTS
34 bool
35 default n
36
1da177e4
LT
37config MMU
38 bool
39 default y
40
5ea81769
AV
41config NO_IOPORT
42 bool
43 default n
44
1da177e4
LT
45config EISA
46 bool
47 ---help---
48 The Extended Industry Standard Architecture (EISA) bus was
49 developed as an open alternative to the IBM MicroChannel bus.
50
51 The EISA bus provided some of the features of the IBM MicroChannel
52 bus while maintaining backward compatibility with cards made for
53 the older ISA bus. The EISA bus saw limited use between 1988 and
54 1995 when it was made obsolete by the PCI bus.
55
56 Say Y here if you are building a kernel for an EISA-based machine.
57
58 Otherwise, say N.
59
60config SBUS
61 bool
62
63config MCA
64 bool
65 help
66 MicroChannel Architecture is found in some IBM PS/2 machines and
67 laptops. It is a bus system similar to PCI or ISA. See
68 <file:Documentation/mca.txt> (and especially the web page given
69 there) before attempting to build an MCA bus kernel.
70
4a2581a0
TG
71config GENERIC_HARDIRQS
72 bool
73 default y
74
f16fb1ec
RK
75config STACKTRACE_SUPPORT
76 bool
77 default y
78
79config LOCKDEP_SUPPORT
80 bool
81 default y
82
7ad1bcb2
RK
83config TRACE_IRQFLAGS_SUPPORT
84 bool
85 default y
86
4a2581a0
TG
87config HARDIRQS_SW_RESEND
88 bool
89 default y
90
91config GENERIC_IRQ_PROBE
92 bool
93 default y
94
95c354fe
NP
95config GENERIC_LOCKBREAK
96 bool
97 default y
98 depends on SMP && PREEMPT
99
1da177e4
LT
100config RWSEM_GENERIC_SPINLOCK
101 bool
102 default y
103
104config RWSEM_XCHGADD_ALGORITHM
105 bool
106
f0d1b0b3
DH
107config ARCH_HAS_ILOG2_U32
108 bool
109 default n
110
111config ARCH_HAS_ILOG2_U64
112 bool
113 default n
114
b89c3b16
AM
115config GENERIC_HWEIGHT
116 bool
117 default y
118
1da177e4
LT
119config GENERIC_CALIBRATE_DELAY
120 bool
121 default y
122
a08b6b79
AV
123config ARCH_MAY_HAVE_PC_FDC
124 bool
125
5ac6da66
CL
126config ZONE_DMA
127 bool
128 default y
129
1da177e4
LT
130config GENERIC_ISA_DMA
131 bool
132
1da177e4
LT
133config FIQ
134 bool
135
034d2f5a
AV
136config ARCH_MTD_XIP
137 bool
138
c0ffa3a9
MD
139if OPROFILE
140
141config OPROFILE_ARMV6
142 def_bool y
143 depends on CPU_V6 && !SMP
144 select OPROFILE_ARM11_CORE
145
146config OPROFILE_MPCORE
147 def_bool y
148 depends on CPU_V6 && SMP
149 select OPROFILE_ARM11_CORE
150
151config OPROFILE_ARM11_CORE
152 bool
153
154endif
155
c760fc19
HC
156config VECTORS_BASE
157 hex
6afd6fae 158 default 0xffff0000 if MMU || CPU_HIGH_VECTOR
c760fc19
HC
159 default DRAM_BASE if REMAP_VECTORS_TO_RAM
160 default 0x00000000
161 help
162 The base address of exception vectors.
163
1da177e4
LT
164source "init/Kconfig"
165
166menu "System Type"
167
168choice
169 prompt "ARM system type"
6a0e2430 170 default ARCH_VERSATILE
1da177e4 171
4af6fee1
DS
172config ARCH_AAEC2000
173 bool "Agilent AAEC-2000 based"
174 select ARM_AMBA
175 help
176 This enables support for systems based on the Agilent AAEC-2000
177
178config ARCH_INTEGRATOR
179 bool "ARM Ltd. Integrator family"
180 select ARM_AMBA
181 select ICST525
182 help
183 Support for ARM's Integrator platform.
184
185config ARCH_REALVIEW
186 bool "ARM Ltd. RealView family"
187 select ARM_AMBA
188 select ICST307
189 help
190 This enables support for ARM Ltd RealView boards.
191
192config ARCH_VERSATILE
193 bool "ARM Ltd. Versatile family"
194 select ARM_AMBA
195 select ARM_VIC
196 select ICST307
b49c87c2 197 select GENERIC_TIME
89df1272 198 select GENERIC_CLOCKEVENTS
4af6fee1
DS
199 help
200 This enables support for ARM Ltd Versatile board.
201
8fc5ffa0
AV
202config ARCH_AT91
203 bool "Atmel AT91"
0a938b97 204 select GENERIC_GPIO
4af6fee1 205 help
2b3b3516
AV
206 This enables support for systems based on the Atmel AT91RM9200,
207 AT91SAM9 and AT91CAP9 processors.
4af6fee1 208
1da177e4 209config ARCH_CLPS7500
4af6fee1 210 bool "Cirrus CL-PS7500FE"
1da177e4 211 select TIMER_ACORN
f7e68bbf 212 select ISA
e4169889 213 select NO_IOPORT
f999b8bd
MM
214 help
215 Support for the Cirrus Logic PS7500FE system-on-a-chip.
1da177e4
LT
216
217config ARCH_CLPS711X
4af6fee1 218 bool "Cirrus Logic CLPS711x/EP721x-based"
f999b8bd
MM
219 help
220 Support for Cirrus Logic 711x/721x based boards.
1da177e4
LT
221
222config ARCH_CO285
223 bool "Co-EBSA285"
224 select FOOTBRIDGE
225 select FOOTBRIDGE_ADDIN
f999b8bd
MM
226 help
227 Support for Intel's EBSA285 companion chip.
1da177e4
LT
228
229config ARCH_EBSA110
230 bool "EBSA-110"
f7e68bbf 231 select ISA
c5eb2a2b 232 select NO_IOPORT
1da177e4
LT
233 help
234 This is an evaluation board for the StrongARM processor available
f6c8965a 235 from Digital. It has limited hardware on-board, including an
1da177e4
LT
236 Ethernet interface, two PCMCIA sockets, two serial ports and a
237 parallel port.
238
e7736d47
LB
239config ARCH_EP93XX
240 bool "EP93xx-based"
241 select ARM_AMBA
242 select ARM_VIC
4e9f9fd5 243 select GENERIC_GPIO
e7736d47
LB
244 help
245 This enables support for the Cirrus EP93xx series of CPUs.
246
1da177e4
LT
247config ARCH_FOOTBRIDGE
248 bool "FootBridge"
249 select FOOTBRIDGE
f999b8bd
MM
250 help
251 Support for systems based on the DC21285 companion chip
252 ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
1da177e4 253
4af6fee1
DS
254config ARCH_NETX
255 bool "Hilscher NetX based"
256 select ARM_VIC
f999b8bd 257 help
4af6fee1
DS
258 This enables support for systems based on the Hilscher NetX Soc
259
260config ARCH_H720X
261 bool "Hynix HMS720x-based"
262 select ISA_DMA_API
263 help
264 This enables support for systems based on the Hynix HMS720x
265
266config ARCH_IMX
267 bool "IMX"
b3e6a508 268 select GENERIC_GPIO
89bba435
PP
269 select GENERIC_TIME
270 select GENERIC_CLOCKEVENTS
4af6fee1
DS
271 help
272 Support for Motorola's i.MX family of processors (MX1, MXL).
1da177e4 273
3b938be6
RK
274config ARCH_IOP13XX
275 bool "IOP13xx-based"
276 depends on MMU
277 select PLAT_IOP
278 select PCI
279 select ARCH_SUPPORTS_MSI
280 help
281 Support for Intel's IOP13XX (XScale) family of processors.
282
3f7e5815
LB
283config ARCH_IOP32X
284 bool "IOP32x-based"
a4f7e763 285 depends on MMU
7ae1f7ec 286 select PLAT_IOP
f7e68bbf 287 select PCI
f999b8bd 288 help
3f7e5815
LB
289 Support for Intel's 80219 and IOP32X (XScale) family of
290 processors.
291
292config ARCH_IOP33X
293 bool "IOP33x-based"
294 depends on MMU
7ae1f7ec 295 select PLAT_IOP
3f7e5815
LB
296 select PCI
297 help
298 Support for Intel's IOP33X (XScale) family of processors.
1da177e4 299
3b938be6
RK
300config ARCH_IXP23XX
301 bool "IXP23XX-based"
a4f7e763 302 depends on MMU
3b938be6 303 select PCI
f999b8bd 304 help
3b938be6 305 Support for Intel's IXP23xx (XScale) family of processors.
1da177e4
LT
306
307config ARCH_IXP2000
308 bool "IXP2400/2800-based"
a4f7e763 309 depends on MMU
f7e68bbf 310 select PCI
f999b8bd
MM
311 help
312 Support for Intel's IXP2400/2800 (XScale) family of processors.
1da177e4 313
3b938be6
RK
314config ARCH_IXP4XX
315 bool "IXP4xx-based"
a4f7e763 316 depends on MMU
8858e9af 317 select GENERIC_GPIO
3b938be6
RK
318 select GENERIC_TIME
319 select GENERIC_CLOCKEVENTS
c4713074 320 help
3b938be6 321 Support for Intel's IXP4XX (XScale) family of processors.
c4713074 322
1da177e4
LT
323config ARCH_L7200
324 bool "LinkUp-L7200"
325 select FIQ
326 help
327 Say Y here if you intend to run this kernel on a LinkUp Systems
328 L7200 Software Development Board which uses an ARM720T processor.
329 Information on this board can be obtained at:
330
331 <http://www.linkupsys.com/>
332
333 If you have any questions or comments about the Linux kernel port
334 to this board, send e-mail to <sjhill@cotw.com>.
335
c53c9cf6
AV
336config ARCH_KS8695
337 bool "Micrel/Kendin KS8695"
8a87a996 338 select GENERIC_GPIO
c53c9cf6
AV
339 help
340 Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
341 System-on-Chip devices.
342
9918cda5
UKK
343config ARCH_NS9XXX
344 bool "NetSilicon NS9xxx"
689f2a01 345 select GENERIC_GPIO
cef5975d 346 select GENERIC_TIME
c0bb87f7 347 select GENERIC_CLOCKEVENTS
9918cda5
UKK
348 help
349 Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
350 System.
351
352 <http://www.digi.com/products/microprocessors/index.jsp>
353
52c543f9
QJ
354config ARCH_MXC
355 bool "Freescale MXC/iMX-based"
356 select ARCH_MTD_XIP
357 help
358 Support for Freescale MXC/iMX-based family of processors
359
585cf175
TP
360config ARCH_ORION
361 bool "Marvell Orion"
362 depends on MMU
038ee083 363 select PCI
01af72e4 364 select GENERIC_GPIO
51cbff1d
TP
365 select GENERIC_TIME
366 select GENERIC_CLOCKEVENTS
585cf175
TP
367 help
368 Support for Marvell Orion System on Chip family.
369
4af6fee1
DS
370config ARCH_PNX4008
371 bool "Philips Nexperia PNX4008 Mobile"
372 help
373 This enables support for Philips PNX4008 mobile platform.
374
1da177e4 375config ARCH_PXA
2c8086a5 376 bool "PXA2xx/PXA3xx-based"
a4f7e763 377 depends on MMU
034d2f5a 378 select ARCH_MTD_XIP
0a938b97 379 select GENERIC_GPIO
45cf5eef 380 select GENERIC_TIME
981d0f39 381 select GENERIC_CLOCKEVENTS
a88264c2 382 select TICK_ONESHOT
f999b8bd 383 help
2c8086a5 384 Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
1da177e4
LT
385
386config ARCH_RPC
387 bool "RiscPC"
388 select ARCH_ACORN
389 select FIQ
390 select TIMER_ACORN
a08b6b79 391 select ARCH_MAY_HAVE_PC_FDC
065909b9 392 select ISA_DMA_API
5ea81769 393 select NO_IOPORT
1da177e4
LT
394 help
395 On the Acorn Risc-PC, Linux can support the internal IDE disk and
396 CD-ROM interface, serial and parallel port, and the floppy drive.
397
398config ARCH_SA1100
399 bool "SA1100-based"
f7e68bbf 400 select ISA
3cd9e19e 401 select ARCH_DISCONTIGMEM_ENABLE
034d2f5a 402 select ARCH_MTD_XIP
0a938b97 403 select GENERIC_GPIO
d142b6e7 404 select GENERIC_TIME
f999b8bd
MM
405 help
406 Support for StrongARM 11x0 based boards.
1da177e4
LT
407
408config ARCH_S3C2410
e4d06e39 409 bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442, S3C2443"
0a938b97 410 select GENERIC_GPIO
1da177e4
LT
411 help
412 Samsung S3C2410X CPU based systems, such as the Simtec Electronics
413 BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
f6c8965a 414 the Samsung SMDK2410 development board (and derivatives).
1da177e4
LT
415
416config ARCH_SHARK
417 bool "Shark"
f7e68bbf
RK
418 select ISA
419 select ISA_DMA
420 select PCI
f999b8bd
MM
421 help
422 Support for the StrongARM based Digital DNARD machine, also known
423 as "Shark" (<http://www.shark-linux.de/shark.html>).
1da177e4
LT
424
425config ARCH_LH7A40X
426 bool "Sharp LH7A40X"
427 help
428 Say Y here for systems based on one of the Sharp LH7A40X
429 System on a Chip processors. These CPUs include an ARM922T
430 core with a wide array of integrated devices for
431 hand-held and low-power applications.
432
7c6337e2
KH
433config ARCH_DAVINCI
434 bool "TI DaVinci"
435 select GENERIC_TIME
436 select GENERIC_CLOCKEVENTS
3d9edf09 437 select GENERIC_GPIO
7c6337e2
KH
438 help
439 Support for TI's DaVinci platform.
440
3b938be6
RK
441config ARCH_OMAP
442 bool "TI OMAP"
443 select GENERIC_GPIO
444 select GENERIC_TIME
445 help
446 Support for TI's OMAP platform (OMAP1 and OMAP2).
447
3042102a
BS
448config ARCH_MSM7X00A
449 bool "Qualcomm MSM7X00A"
450 select GENERIC_TIME
451 select GENERIC_CLOCKEVENTS
452 help
453 Support for Qualcomm MSM7X00A based systems. This runs on the ARM11
454 apps processor of the MSM7X00A and depends on a shared memory
455 interface to the ARM9 modem processor which runs the baseband stack
456 and controls some vital subsystems (clock and power control, etc).
457 <http://www.cdmatech.com/products/msm7200_chipset_solution.jsp>
458
1da177e4
LT
459endchoice
460
461source "arch/arm/mach-clps711x/Kconfig"
462
e7736d47
LB
463source "arch/arm/mach-ep93xx/Kconfig"
464
1da177e4
LT
465source "arch/arm/mach-footbridge/Kconfig"
466
467source "arch/arm/mach-integrator/Kconfig"
468
3f7e5815
LB
469source "arch/arm/mach-iop32x/Kconfig"
470
471source "arch/arm/mach-iop33x/Kconfig"
1da177e4 472
285f5fa7
DW
473source "arch/arm/mach-iop13xx/Kconfig"
474
1da177e4
LT
475source "arch/arm/mach-ixp4xx/Kconfig"
476
477source "arch/arm/mach-ixp2000/Kconfig"
478
c4713074
LB
479source "arch/arm/mach-ixp23xx/Kconfig"
480
1da177e4
LT
481source "arch/arm/mach-pxa/Kconfig"
482
483source "arch/arm/mach-sa1100/Kconfig"
484
d48af15e
TL
485source "arch/arm/plat-omap/Kconfig"
486
487source "arch/arm/mach-omap1/Kconfig"
1da177e4 488
1dbae815
TL
489source "arch/arm/mach-omap2/Kconfig"
490
585cf175
TP
491source "arch/arm/mach-orion/Kconfig"
492
a21765a7 493source "arch/arm/plat-s3c24xx/Kconfig"
d58153d8 494source "arch/arm/plat-s3c/Kconfig"
a21765a7
BD
495
496if ARCH_S3C2410
497source "arch/arm/mach-s3c2400/Kconfig"
1da177e4 498source "arch/arm/mach-s3c2410/Kconfig"
a21765a7
BD
499source "arch/arm/mach-s3c2412/Kconfig"
500source "arch/arm/mach-s3c2440/Kconfig"
501source "arch/arm/mach-s3c2442/Kconfig"
e4d06e39 502source "arch/arm/mach-s3c2443/Kconfig"
a21765a7 503endif
1da177e4
LT
504
505source "arch/arm/mach-lh7a40x/Kconfig"
506
507source "arch/arm/mach-imx/Kconfig"
508
509source "arch/arm/mach-h720x/Kconfig"
510
511source "arch/arm/mach-versatile/Kconfig"
512
038c5b60
BN
513source "arch/arm/mach-aaec2000/Kconfig"
514
8ad68bbf
CM
515source "arch/arm/mach-realview/Kconfig"
516
9d041268 517source "arch/arm/mach-at91/Kconfig"
73a59c1c 518
52c543f9
QJ
519source "arch/arm/plat-mxc/Kconfig"
520
bb6d8c88
SH
521source "arch/arm/mach-netx/Kconfig"
522
9918cda5
UKK
523source "arch/arm/mach-ns9xxx/Kconfig"
524
7c6337e2
KH
525source "arch/arm/mach-davinci/Kconfig"
526
c53c9cf6
AV
527source "arch/arm/mach-ks8695/Kconfig"
528
9e73c84c
BS
529source "arch/arm/mach-msm/Kconfig"
530
1da177e4
LT
531# Definitions to make life easier
532config ARCH_ACORN
533 bool
534
7ae1f7ec
LB
535config PLAT_IOP
536 bool
537
1da177e4
LT
538source arch/arm/mm/Kconfig
539
afe4b25e
LB
540config IWMMXT
541 bool "Enable iWMMXt support"
6340aa61 542 depends on CPU_XSCALE || CPU_XSC3
2c8086a5 543 default y if PXA27x || PXA3xx
afe4b25e
LB
544 help
545 Enable support for iWMMXt context switching at run time if
546 running on a CPU that supports it.
547
1da177e4
LT
548# bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
549config XSCALE_PMU
550 bool
551 depends on CPU_XSCALE && !XSCALE_PMU_TIMER
552 default y
553
3b93e7b0
HC
554if !MMU
555source "arch/arm/Kconfig-nommu"
556endif
557
1da177e4
LT
558endmenu
559
560source "arch/arm/common/Kconfig"
561
562config FORCE_MAX_ZONEORDER
563 int
564 depends on SA1111
565 default "9"
566
567menu "Bus support"
568
569config ARM_AMBA
570 bool
571
572config ISA
573 bool
1da177e4
LT
574 help
575 Find out whether you have ISA slots on your motherboard. ISA is the
576 name of a bus system, i.e. the way the CPU talks to the other stuff
577 inside your box. Other bus systems are PCI, EISA, MicroChannel
578 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
579 newer boards don't support it. If you have ISA, say Y, otherwise N.
580
065909b9 581# Select ISA DMA controller support
1da177e4
LT
582config ISA_DMA
583 bool
065909b9 584 select ISA_DMA_API
1da177e4 585
065909b9 586# Select ISA DMA interface
5cae841b
AV
587config ISA_DMA_API
588 bool
5cae841b 589
1da177e4 590config PCI
a0113a99 591 bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695 || MACH_ARMCORE
1da177e4
LT
592 help
593 Find out whether you have a PCI motherboard. PCI is the name of a
594 bus system, i.e. the way the CPU talks to the other stuff inside
595 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
596 VESA. If you have PCI, say Y, otherwise N.
597
36e23590
MW
598config PCI_SYSCALL
599 def_bool PCI
600
1da177e4
LT
601# Select the host bridge type
602config PCI_HOST_VIA82C505
603 bool
604 depends on PCI && ARCH_SHARK
605 default y
606
a0113a99
MR
607config PCI_HOST_ITE8152
608 bool
609 depends on PCI && MACH_ARMCORE
610 default y
611 select DMABOUNCE
612
1da177e4
LT
613source "drivers/pci/Kconfig"
614
615source "drivers/pcmcia/Kconfig"
616
617endmenu
618
619menu "Kernel Features"
620
0567a0c0
KH
621source "kernel/time/Kconfig"
622
1da177e4
LT
623config SMP
624 bool "Symmetric Multi-Processing (EXPERIMENTAL)"
f6db449c 625 depends on EXPERIMENTAL && REALVIEW_MPCORE
1da177e4
LT
626 help
627 This enables support for systems with more than one CPU. If you have
628 a system with only one CPU, like most personal computers, say N. If
629 you have a system with more than one CPU, say Y.
630
631 If you say N here, the kernel will run on single and multiprocessor
632 machines, but will use only one CPU of a multiprocessor machine. If
633 you say Y here, the kernel will run on many, but not all, single
634 processor machines. On a single processor machine, the kernel will
635 run faster if you say N here.
636
12c62c2e
AO
637 See also the <file:Documentation/smp.txt>,
638 <file:Documentation/i386/IO-APIC.txt>,
1da177e4
LT
639 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
640 <http://www.linuxdoc.org/docs.html#howto>.
641
642 If you don't know what to do here, say N.
643
644config NR_CPUS
645 int "Maximum number of CPUs (2-32)"
646 range 2 32
647 depends on SMP
648 default "4"
649
a054a811
RK
650config HOTPLUG_CPU
651 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
652 depends on SMP && HOTPLUG && EXPERIMENTAL
653 help
654 Say Y here to experiment with turning CPUs off and on. CPUs
655 can be controlled through /sys/devices/system/cpu.
656
37ee16ae
RK
657config LOCAL_TIMERS
658 bool "Use local timer interrupts"
2a98beb6 659 depends on SMP && REALVIEW_MPCORE
37ee16ae
RK
660 default y
661 help
662 Enable support for local timers on SMP platforms, rather then the
663 legacy IPI broadcast method. Local timers allows the system
664 accounting to be spread across the timer interval, preventing a
665 "thundering herd" at every timer tick.
666
1da177e4
LT
667config PREEMPT
668 bool "Preemptible Kernel (EXPERIMENTAL)"
669 depends on EXPERIMENTAL
670 help
671 This option reduces the latency of the kernel when reacting to
672 real-time or interactive events by allowing a low priority process to
673 be preempted even if it is in kernel mode executing a system call.
674 This allows applications to run more reliably even when the system is
675 under load.
676
677 Say Y here if you are building a kernel for a desktop, embedded
678 or real-time system. Say N if you are unsure.
679
8749af68
RK
680config NO_IDLE_HZ
681 bool "Dynamic tick timer"
0567a0c0 682 depends on !GENERIC_CLOCKEVENTS
8749af68
RK
683 help
684 Select this option if you want to disable continuous timer ticks
685 and have them programmed to occur as required. This option saves
686 power as the system can remain in idle state for longer.
687
688 By default dynamic tick is disabled during the boot, and can be
689 manually enabled with:
690
691 echo 1 > /sys/devices/system/timer/timer0/dyn_tick
692
693 Alternatively, if you want dynamic tick automatically enabled
694 during boot, pass "dyntick=enable" via the kernel command string.
695
f2be64b3
TL
696 Please note that dynamic tick may affect the accuracy of
697 timekeeping on some platforms depending on the implementation.
569d2c34
NP
698 Currently at least OMAP, PXA2xx and SA11x0 platforms are known
699 to have accurate timekeeping with dynamic tick.
f2be64b3 700
f8065813
RK
701config HZ
702 int
703 default 128 if ARCH_L7200
704 default 200 if ARCH_EBSA110 || ARCH_S3C2410
bfe65704 705 default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
5248c657 706 default AT91_TIMER_HZ if ARCH_AT91
f8065813
RK
707 default 100
708
704bdda0
NP
709config AEABI
710 bool "Use the ARM EABI to compile the kernel"
711 help
712 This option allows for the kernel to be compiled using the latest
713 ARM ABI (aka EABI). This is only useful if you are using a user
714 space environment that is also compiled with EABI.
715
716 Since there are major incompatibilities between the legacy ABI and
717 EABI, especially with regard to structure member alignment, this
718 option also changes the kernel syscall calling convention to
719 disambiguate both ABIs and allow for backward compatibility support
720 (selected with CONFIG_OABI_COMPAT).
721
722 To use this you need GCC version 4.0.0 or later.
723
6c90c872 724config OABI_COMPAT
a73a3ff1 725 bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
61c484d4 726 depends on AEABI && EXPERIMENTAL
6c90c872
NP
727 default y
728 help
729 This option preserves the old syscall interface along with the
730 new (ARM EABI) one. It also provides a compatibility layer to
731 intercept syscalls that have structure arguments which layout
732 in memory differs between the legacy ABI and the new ARM EABI
733 (only for non "thumb" binaries). This option adds a tiny
734 overhead to all syscalls and produces a slightly larger kernel.
735 If you know you'll be using only pure EABI user space then you
736 can say N here. If this option is not selected and you attempt
737 to execute a legacy ABI binary then the result will be
738 UNPREDICTABLE (in fact it can be predicted that it won't work
739 at all). If in doubt say Y.
740
3f22ab27 741config ARCH_DISCONTIGMEM_ENABLE
1da177e4 742 bool
f7e68bbf 743 default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
1da177e4
LT
744 help
745 Say Y to support efficient handling of discontiguous physical memory,
746 for architectures which are either NUMA (Non-Uniform Memory Access)
747 or have huge holes in the physical address space for other reasons.
748 See <file:Documentation/vm/numa> for more.
749
c80d79d7
YG
750config NODES_SHIFT
751 int
752 default "4" if ARCH_LH7A40X
753 default "2"
754 depends on NEED_MULTIPLE_NODES
755
3f22ab27
DH
756source "mm/Kconfig"
757
1da177e4
LT
758config LEDS
759 bool "Timer and CPU usage LEDs"
760 depends on ARCH_CDB89712 || ARCH_CO285 || ARCH_EBSA110 || \
761 ARCH_EBSA285 || ARCH_IMX || ARCH_INTEGRATOR || \
762 ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
763 ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
73a59c1c 764 ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
c53c9cf6 765 ARCH_AT91 || MACH_TRIZEPS4 || ARCH_DAVINCI || \
817eb210 766 ARCH_KS8695 || MACH_RD88F5182
1da177e4
LT
767 help
768 If you say Y here, the LEDs on your machine will be used
769 to provide useful information about your current system status.
770
771 If you are compiling a kernel for a NetWinder or EBSA-285, you will
772 be able to select which LEDs are active using the options below. If
773 you are compiling a kernel for the EBSA-110 or the LART however, the
774 red LED will simply flash regularly to indicate that the system is
775 still functional. It is safe to say Y here if you have a CATS
776 system, but the driver will do nothing.
777
778config LEDS_TIMER
779 bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
eebdf7d7
DB
780 OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
781 || MACH_OMAP_PERSEUS2
1da177e4 782 depends on LEDS
0567a0c0 783 depends on !GENERIC_CLOCKEVENTS
1da177e4
LT
784 default y if ARCH_EBSA110
785 help
786 If you say Y here, one of the system LEDs (the green one on the
787 NetWinder, the amber one on the EBSA285, or the red one on the LART)
788 will flash regularly to indicate that the system is still
789 operational. This is mainly useful to kernel hackers who are
790 debugging unstable kernels.
791
792 The LART uses the same LED for both Timer LED and CPU usage LED
793 functions. You may choose to use both, but the Timer LED function
794 will overrule the CPU usage LED.
795
796config LEDS_CPU
797 bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
eebdf7d7
DB
798 !ARCH_OMAP) \
799 || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
800 || MACH_OMAP_PERSEUS2
1da177e4
LT
801 depends on LEDS
802 help
803 If you say Y here, the red LED will be used to give a good real
804 time indication of CPU usage, by lighting whenever the idle task
805 is not currently executing.
806
807 The LART uses the same LED for both Timer LED and CPU usage LED
808 functions. You may choose to use both, but the Timer LED function
809 will overrule the CPU usage LED.
810
811config ALIGNMENT_TRAP
812 bool
f12d0d7c 813 depends on CPU_CP15_MMU
1da177e4
LT
814 default y if !ARCH_EBSA110
815 help
84eb8d06 816 ARM processors cannot fetch/store information which is not
1da177e4
LT
817 naturally aligned on the bus, i.e., a 4 byte fetch must start at an
818 address divisible by 4. On 32-bit ARM processors, these non-aligned
819 fetch/store instructions will be emulated in software if you say
820 here, which has a severe performance impact. This is necessary for
821 correct operation of some network protocols. With an IP-only
822 configuration it is safe to say N, otherwise say Y.
823
824endmenu
825
826menu "Boot options"
827
828# Compressed boot loader in ROM. Yes, we really want to ask about
829# TEXT and BSS so we preserve their values in the config files.
830config ZBOOT_ROM_TEXT
831 hex "Compressed ROM boot loader base address"
832 default "0"
833 help
834 The physical address at which the ROM-able zImage is to be
835 placed in the target. Platforms which normally make use of
836 ROM-able zImage formats normally set this to a suitable
837 value in their defconfig file.
838
839 If ZBOOT_ROM is not enabled, this has no effect.
840
841config ZBOOT_ROM_BSS
842 hex "Compressed ROM boot loader BSS address"
843 default "0"
844 help
f8c440b2
DF
845 The base address of an area of read/write memory in the target
846 for the ROM-able zImage which must be available while the
847 decompressor is running. It must be large enough to hold the
848 entire decompressed kernel plus an additional 128 KiB.
849 Platforms which normally make use of ROM-able zImage formats
850 normally set this to a suitable value in their defconfig file.
1da177e4
LT
851
852 If ZBOOT_ROM is not enabled, this has no effect.
853
854config ZBOOT_ROM
855 bool "Compressed boot loader in ROM/flash"
856 depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
857 help
858 Say Y here if you intend to execute your compressed kernel image
859 (zImage) directly from ROM or flash. If unsure, say N.
860
861config CMDLINE
862 string "Default kernel command string"
863 default ""
864 help
865 On some architectures (EBSA110 and CATS), there is currently no way
866 for the boot loader to pass arguments to the kernel. For these
867 architectures, you should supply some command-line options at build
868 time by entering them here. As a minimum, you should specify the
869 memory size and the root device (e.g., mem=64M root=/dev/nfs).
870
871config XIP_KERNEL
872 bool "Kernel Execute-In-Place from ROM"
873 depends on !ZBOOT_ROM
874 help
875 Execute-In-Place allows the kernel to run from non-volatile storage
876 directly addressable by the CPU, such as NOR flash. This saves RAM
877 space since the text section of the kernel is not loaded from flash
878 to RAM. Read-write sections, such as the data section and stack,
879 are still copied to RAM. The XIP kernel is not compressed since
880 it has to run directly from flash, so it will take more space to
881 store it. The flash address used to link the kernel object files,
882 and for storing it, is configuration dependent. Therefore, if you
883 say Y here, you must know the proper physical address where to
884 store the kernel image depending on your own flash memory usage.
885
886 Also note that the make target becomes "make xipImage" rather than
887 "make zImage" or "make Image". The final kernel binary to put in
888 ROM memory will be arch/arm/boot/xipImage.
889
890 If unsure, say N.
891
892config XIP_PHYS_ADDR
893 hex "XIP Kernel Physical Location"
894 depends on XIP_KERNEL
895 default "0x00080000"
896 help
897 This is the physical address in your flash memory the kernel will
898 be linked for and stored to. This address is dependent on your
899 own flash usage.
900
c587e4a6
RP
901config KEXEC
902 bool "Kexec system call (EXPERIMENTAL)"
903 depends on EXPERIMENTAL
904 help
905 kexec is a system call that implements the ability to shutdown your
906 current kernel, and to start another kernel. It is like a reboot
01dd2fbf 907 but it is independent of the system firmware. And like a reboot
c587e4a6
RP
908 you can start any kernel with it, not just Linux.
909
910 It is an ongoing process to be certain the hardware in a machine
911 is properly shutdown, so do not be surprised if this code does not
912 initially work for you. It may help to enable device hotplugging
913 support.
914
1da177e4
LT
915endmenu
916
9e2697ff 917if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA)
1da177e4
LT
918
919menu "CPU Frequency scaling"
920
921source "drivers/cpufreq/Kconfig"
922
923config CPU_FREQ_SA1100
924 bool
07c6d48f 925 depends on CPU_FREQ && (SA1100_H3100 || SA1100_H3600 || SA1100_H3800 || SA1100_LART || SA1100_PLEB || SA1100_BADGE4 || SA1100_HACKKIT)
1da177e4
LT
926 default y
927
928config CPU_FREQ_SA1110
929 bool
930 depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3)
931 default y
932
933config CPU_FREQ_INTEGRATOR
934 tristate "CPUfreq driver for ARM Integrator CPUs"
935 depends on ARCH_INTEGRATOR && CPU_FREQ
936 default y
937 help
938 This enables the CPUfreq driver for ARM Integrator CPUs.
939
940 For details, take a look at <file:Documentation/cpu-freq>.
941
942 If in doubt, say Y.
943
3c8cd0cc
PP
944config CPU_FREQ_IMX
945 tristate "CPUfreq driver for i.MX CPUs"
946 depends on ARCH_IMX && CPU_FREQ
947 default n
948 help
949 This enables the CPUfreq driver for i.MX CPUs.
950
951 If in doubt, say N.
952
9e2697ff
RK
953config CPU_FREQ_PXA
954 bool
955 depends on CPU_FREQ && ARCH_PXA && PXA25x
956 default y
957 select CPU_FREQ_DEFAULT_GOV_USERSPACE
958
1da177e4
LT
959endmenu
960
961endif
962
963menu "Floating point emulation"
964
965comment "At least one emulation must be selected"
966
967config FPE_NWFPE
968 bool "NWFPE math emulation"
8993a44c 969 depends on !AEABI || OABI_COMPAT
1da177e4
LT
970 ---help---
971 Say Y to include the NWFPE floating point emulator in the kernel.
972 This is necessary to run most binaries. Linux does not currently
973 support floating point hardware so you need to say Y here even if
974 your machine has an FPA or floating point co-processor podule.
975
976 You may say N here if you are going to load the Acorn FPEmulator
977 early in the bootup.
978
979config FPE_NWFPE_XP
980 bool "Support extended precision"
bedf142b 981 depends on FPE_NWFPE
1da177e4
LT
982 help
983 Say Y to include 80-bit support in the kernel floating-point
984 emulator. Otherwise, only 32 and 64-bit support is compiled in.
985 Note that gcc does not generate 80-bit operations by default,
986 so in most cases this option only enlarges the size of the
987 floating point emulator without any good reason.
988
989 You almost surely want to say N here.
990
991config FPE_FASTFPE
992 bool "FastFPE math emulation (EXPERIMENTAL)"
8993a44c 993 depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1da177e4
LT
994 ---help---
995 Say Y here to include the FAST floating point emulator in the kernel.
996 This is an experimental much faster emulator which now also has full
997 precision for the mantissa. It does not support any exceptions.
998 It is very simple, and approximately 3-6 times faster than NWFPE.
999
1000 It should be sufficient for most programs. It may be not suitable
1001 for scientific calculations, but you have to check this for yourself.
1002 If you do not feel you need a faster FP emulation you should better
1003 choose NWFPE.
1004
1005config VFP
1006 bool "VFP-format floating point maths"
c00d4ffd 1007 depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1da177e4
LT
1008 help
1009 Say Y to include VFP support code in the kernel. This is needed
1010 if your hardware includes a VFP unit.
1011
1012 Please see <file:Documentation/arm/VFP/release-notes.txt> for
1013 release notes and additional status information.
1014
1015 Say N if your target does not have VFP hardware.
1016
25ebee02
CM
1017config VFPv3
1018 bool
1019 depends on VFP
1020 default y if CPU_V7
1021
b5872db4
CM
1022config NEON
1023 bool "Advanced SIMD (NEON) Extension support"
1024 depends on VFPv3 && CPU_V7
1025 help
1026 Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1027 Extension.
1028
1da177e4
LT
1029endmenu
1030
1031menu "Userspace binary formats"
1032
1033source "fs/Kconfig.binfmt"
1034
1035config ARTHUR
1036 tristate "RISC OS personality"
704bdda0 1037 depends on !AEABI
1da177e4
LT
1038 help
1039 Say Y here to include the kernel code necessary if you want to run
1040 Acorn RISC OS/Arthur binaries under Linux. This code is still very
1041 experimental; if this sounds frightening, say N and sleep in peace.
1042 You can also say M here to compile this support as a module (which
1043 will be called arthur).
1044
1045endmenu
1046
1047menu "Power management options"
1048
eceab4ac 1049source "kernel/power/Kconfig"
1da177e4 1050
f4cb5700
JB
1051config ARCH_SUSPEND_POSSIBLE
1052 def_bool y
1053
1da177e4
LT
1054endmenu
1055
d5950b43
SR
1056source "net/Kconfig"
1057
1da177e4
LT
1058menu "Device Drivers"
1059
1060source "drivers/base/Kconfig"
1061
c35bf4a5
PM
1062source "drivers/connector/Kconfig"
1063
f12d0d7c 1064if ALIGNMENT_TRAP || !CPU_CP15_MMU
1da177e4
LT
1065source "drivers/mtd/Kconfig"
1066endif
1067
1068source "drivers/parport/Kconfig"
1069
1070source "drivers/pnp/Kconfig"
1071
1072source "drivers/block/Kconfig"
1073
58273e55
RK
1074# misc before ide - BLK_DEV_SGIIOC4 depends on SGI_IOC4
1075
1076source "drivers/misc/Kconfig"
1077
3f7e5815 1078if PCMCIA || ARCH_CLPS7500 || ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX \
bb011b8e 1079 || ARCH_L7200 || ARCH_LH7A40X || ARCH_PXA || ARCH_RPC \
c4713074
LB
1080 || ARCH_S3C2410 || ARCH_SA1100 || ARCH_SHARK || FOOTBRIDGE \
1081 || ARCH_IXP23XX
1da177e4
LT
1082source "drivers/ide/Kconfig"
1083endif
1084
1085source "drivers/scsi/Kconfig"
1086
eb370f0b
MM
1087source "drivers/ata/Kconfig"
1088
1da177e4
LT
1089source "drivers/md/Kconfig"
1090
1091source "drivers/message/fusion/Kconfig"
1092
1093source "drivers/ieee1394/Kconfig"
1094
1095source "drivers/message/i2o/Kconfig"
1096
d5950b43 1097source "drivers/net/Kconfig"
1da177e4
LT
1098
1099source "drivers/isdn/Kconfig"
1100
1101# input before char - char/joystick depends on it. As does USB.
1102
1103source "drivers/input/Kconfig"
1104
1105source "drivers/char/Kconfig"
1106
1107source "drivers/i2c/Kconfig"
1108
8ae12a0d
DB
1109source "drivers/spi/Kconfig"
1110
04916c0e
AZ
1111source "drivers/w1/Kconfig"
1112
58273e55
RK
1113source "drivers/power/Kconfig"
1114
ad2f931d
JD
1115source "drivers/hwmon/Kconfig"
1116
70dfa3f8
RK
1117source "drivers/watchdog/Kconfig"
1118
58273e55 1119source "drivers/ssb/Kconfig"
1da177e4 1120
58273e55 1121#source "drivers/l3/Kconfig"
1da177e4 1122
a4e137ab
RK
1123source "drivers/mfd/Kconfig"
1124
1da177e4
LT
1125source "drivers/media/Kconfig"
1126
1127source "drivers/video/Kconfig"
1128
1129source "sound/Kconfig"
1130
c2dade51
SH
1131source "drivers/hid/Kconfig"
1132
1da177e4
LT
1133source "drivers/usb/Kconfig"
1134
1135source "drivers/mmc/Kconfig"
1136
58273e55
RK
1137source "drivers/leds/Kconfig"
1138
12b824fb
AZ
1139source "drivers/rtc/Kconfig"
1140
5816815f
DW
1141source "drivers/dma/Kconfig"
1142
abf07b19
DW
1143source "drivers/dca/Kconfig"
1144
1da177e4
LT
1145endmenu
1146
1147source "fs/Kconfig"
1148
c0ffa3a9 1149source "kernel/Kconfig.instrumentation"
1da177e4
LT
1150
1151source "arch/arm/Kconfig.debug"
1152
1153source "security/Kconfig"
1154
1155source "crypto/Kconfig"
1156
1157source "lib/Kconfig"