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