Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6-block.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
e17c6d56 11 select HAVE_AOUT
2064c946 12 select HAVE_IDE
12b824fb 13 select RTC_LIB
75e7153a 14 select SYS_SUPPORTS_APM_EMULATION
24b44a66 15 select GENERIC_ATOMIC64 if (!CPU_32v6K)
fe166148 16 select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
5cbad0eb 17 select HAVE_ARCH_KGDB
3f550096 18 select HAVE_KPROBES if (!XIP_KERNEL)
9edddaa2 19 select HAVE_KRETPROBES if (HAVE_KPROBES)
606576ce 20 select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
1fe53268 21 select HAVE_GENERIC_DMA_COHERENT
e7db7b42
AT
22 select HAVE_KERNEL_GZIP
23 select HAVE_KERNEL_LZO
6e8699f7 24 select HAVE_KERNEL_LZMA
7ada189f
JI
25 select HAVE_PERF_EVENTS
26 select PERF_USE_VMALLOC
1da177e4
LT
27 help
28 The ARM series is a line of low-power-consumption RISC chip designs
f6c8965a 29 licensed by ARM Ltd and targeted at embedded applications and
1da177e4 30 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer
f6c8965a 31 manufactured, but legacy ARM-based PC hardware remains popular in
1da177e4
LT
32 Europe. There is an ARM Linux project with a web page at
33 <http://www.arm.linux.org.uk/>.
34
1a189b97
RK
35config HAVE_PWM
36 bool
37
75e7153a
RB
38config SYS_SUPPORTS_APM_EMULATION
39 bool
40
0a938b97
DB
41config GENERIC_GPIO
42 bool
0a938b97 43
746140c7
KH
44config GENERIC_TIME
45 bool
5cfc8ee0
JS
46 default y
47
48config ARCH_USES_GETTIMEOFFSET
49 bool
50 default n
746140c7 51
0567a0c0
KH
52config GENERIC_CLOCKEVENTS
53 bool
0567a0c0 54
a8655e83
CM
55config GENERIC_CLOCKEVENTS_BROADCAST
56 bool
57 depends on GENERIC_CLOCKEVENTS
58 default y if SMP && !LOCAL_TIMERS
59
bc581770
LW
60config HAVE_TCM
61 bool
62 select GENERIC_ALLOCATOR
63
e119bfff
RK
64config HAVE_PROC_CPU
65 bool
66
5ea81769
AV
67config NO_IOPORT
68 bool
5ea81769 69
1da177e4
LT
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
4a2581a0
TG
96config GENERIC_HARDIRQS
97 bool
98 default y
99
f16fb1ec
RK
100config STACKTRACE_SUPPORT
101 bool
102 default y
103
f76e9154
NP
104config HAVE_LATENCYTOP_SUPPORT
105 bool
106 depends on !SMP
107 default y
108
f16fb1ec
RK
109config LOCKDEP_SUPPORT
110 bool
111 default y
112
7ad1bcb2
RK
113config TRACE_IRQFLAGS_SUPPORT
114 bool
115 default y
116
4a2581a0
TG
117config HARDIRQS_SW_RESEND
118 bool
119 default y
120
121config GENERIC_IRQ_PROBE
122 bool
123 default y
124
95c354fe
NP
125config GENERIC_LOCKBREAK
126 bool
127 default y
128 depends on SMP && PREEMPT
129
1da177e4
LT
130config RWSEM_GENERIC_SPINLOCK
131 bool
132 default y
133
134config RWSEM_XCHGADD_ALGORITHM
135 bool
136
f0d1b0b3
DH
137config ARCH_HAS_ILOG2_U32
138 bool
f0d1b0b3
DH
139
140config ARCH_HAS_ILOG2_U64
141 bool
f0d1b0b3 142
89c52ed4
BD
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
b89c3b16
AM
150config GENERIC_HWEIGHT
151 bool
152 default y
153
1da177e4
LT
154config GENERIC_CALIBRATE_DELAY
155 bool
156 default y
157
a08b6b79
Z
158config ARCH_MAY_HAVE_PC_FDC
159 bool
160
5ac6da66
CL
161config ZONE_DMA
162 bool
5ac6da66 163
ccd7ab7f
FT
164config NEED_DMA_MAP_STATE
165 def_bool y
166
1da177e4
LT
167config GENERIC_ISA_DMA
168 bool
169
1da177e4
LT
170config FIQ
171 bool
172
034d2f5a
AV
173config ARCH_MTD_XIP
174 bool
175
60a752ef 176config GENERIC_HARDIRQS_NO__DO_IRQ
60a752ef
PZ
177 def_bool y
178
d6d502fa
KK
179config ARM_L1_CACHE_SHIFT_6
180 bool
181 help
182 Setting ARM L1 cache line size to 64 Bytes.
183
c760fc19
HC
184config VECTORS_BASE
185 hex
6afd6fae 186 default 0xffff0000 if MMU || CPU_HIGH_VECTOR
c760fc19
HC
187 default DRAM_BASE if REMAP_VECTORS_TO_RAM
188 default 0x00000000
189 help
190 The base address of exception vectors.
191
1da177e4
LT
192source "init/Kconfig"
193
dc52ddc0
MH
194source "kernel/Kconfig.freezer"
195
1da177e4
LT
196menu "System Type"
197
3c427975
HC
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
ccf50e23
RK
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#
1da177e4
LT
209choice
210 prompt "ARM system type"
6a0e2430 211 default ARCH_VERSATILE
1da177e4 212
4af6fee1
DS
213config ARCH_AAEC2000
214 bool "Agilent AAEC-2000 based"
c750815e 215 select CPU_ARM920T
4af6fee1 216 select ARM_AMBA
9483a578 217 select HAVE_CLK
5cfc8ee0 218 select ARCH_USES_GETTIMEOFFSET
4af6fee1
DS
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
89c52ed4 225 select ARCH_HAS_CPUFREQ
d72fbdf0 226 select COMMON_CLKDEV
c5a0adb5 227 select ICST
13edd86d 228 select GENERIC_CLOCKEVENTS
f4b8b319 229 select PLAT_VERSATILE
4af6fee1
DS
230 help
231 Support for ARM's Integrator platform.
232
233config ARCH_REALVIEW
234 bool "ARM Ltd. RealView family"
235 select ARM_AMBA
cf30fb4a 236 select COMMON_CLKDEV
c5a0adb5 237 select ICST
ae30ceac 238 select GENERIC_CLOCKEVENTS
eb7fffa3 239 select ARCH_WANT_OPTIONAL_GPIOLIB
f4b8b319 240 select PLAT_VERSATILE
e3887714 241 select ARM_TIMER_SP804
b56ba8aa 242 select GPIO_PL061 if GPIOLIB
4af6fee1
DS
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
71a06da0 250 select COMMON_CLKDEV
c5a0adb5 251 select ICST
89df1272 252 select GENERIC_CLOCKEVENTS
bbeddc43 253 select ARCH_WANT_OPTIONAL_GPIOLIB
f4b8b319 254 select PLAT_VERSATILE
e3887714 255 select ARM_TIMER_SP804
4af6fee1
DS
256 help
257 This enables support for ARM Ltd Versatile board.
258
ceade897
RK
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
ceade897
RK
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
8fc5ffa0
AV
272config ARCH_AT91
273 bool "Atmel AT91"
f373e8c0 274 select ARCH_REQUIRE_GPIOLIB
93686ae8 275 select HAVE_CLK
5cfc8ee0 276 select ARCH_USES_GETTIMEOFFSET
4af6fee1 277 help
2b3b3516
AV
278 This enables support for systems based on the Atmel AT91RM9200,
279 AT91SAM9 and AT91CAP9 processors.
4af6fee1 280
ccf50e23
RK
281config ARCH_BCMRING
282 bool "Broadcom BCMRING"
283 depends on MMU
284 select CPU_V6
285 select ARM_AMBA
286 select COMMON_CLKDEV
ccf50e23
RK
287 select GENERIC_CLOCKEVENTS
288 select ARCH_WANT_OPTIONAL_GPIOLIB
289 help
290 Support for Broadcom's BCMRing platform.
291
1da177e4 292config ARCH_CLPS711X
4af6fee1 293 bool "Cirrus Logic CLPS711x/EP721x-based"
c750815e 294 select CPU_ARM720T
5cfc8ee0 295 select ARCH_USES_GETTIMEOFFSET
f999b8bd
MM
296 help
297 Support for Cirrus Logic 711x/721x based boards.
1da177e4 298
d94f944e
AV
299config ARCH_CNS3XXX
300 bool "Cavium Networks CNS3XXX family"
301 select CPU_V6
d94f944e
AV
302 select GENERIC_CLOCKEVENTS
303 select ARM_GIC
304 help
305 Support for Cavium Networks CNS3XXX platform.
306
788c9700
RK
307config ARCH_GEMINI
308 bool "Cortina Systems Gemini"
309 select CPU_FA526
788c9700 310 select ARCH_REQUIRE_GPIOLIB
5cfc8ee0 311 select ARCH_USES_GETTIMEOFFSET
788c9700
RK
312 help
313 Support for the Cortina Systems Gemini family SoCs
314
1da177e4
LT
315config ARCH_EBSA110
316 bool "EBSA-110"
c750815e 317 select CPU_SA110
f7e68bbf 318 select ISA
c5eb2a2b 319 select NO_IOPORT
5cfc8ee0 320 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
321 help
322 This is an evaluation board for the StrongARM processor available
f6c8965a 323 from Digital. It has limited hardware on-board, including an
1da177e4
LT
324 Ethernet interface, two PCMCIA sockets, two serial ports and a
325 parallel port.
326
e7736d47
LB
327config ARCH_EP93XX
328 bool "EP93xx-based"
c750815e 329 select CPU_ARM920T
e7736d47
LB
330 select ARM_AMBA
331 select ARM_VIC
ae696fd5 332 select COMMON_CLKDEV
7444a72e 333 select ARCH_REQUIRE_GPIOLIB
eb33575c 334 select ARCH_HAS_HOLES_MEMORYMODEL
5cfc8ee0 335 select ARCH_USES_GETTIMEOFFSET
e7736d47
LB
336 help
337 This enables support for the Cirrus EP93xx series of CPUs.
338
1da177e4
LT
339config ARCH_FOOTBRIDGE
340 bool "FootBridge"
c750815e 341 select CPU_SA110
1da177e4 342 select FOOTBRIDGE
5cfc8ee0 343 select ARCH_USES_GETTIMEOFFSET
f999b8bd
MM
344 help
345 Support for systems based on the DC21285 companion chip
346 ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
1da177e4 347
788c9700
RK
348config ARCH_MXC
349 bool "Freescale MXC/iMX-based"
788c9700 350 select GENERIC_CLOCKEVENTS
788c9700 351 select ARCH_REQUIRE_GPIOLIB
03e09cd8 352 select COMMON_CLKDEV
788c9700
RK
353 help
354 Support for Freescale MXC/iMX-based family of processors
355
7bd0f2f5 356config ARCH_STMP3XXX
357 bool "Freescale STMP3xxx"
358 select CPU_ARM926T
7bd0f2f5 359 select COMMON_CLKDEV
360 select ARCH_REQUIRE_GPIOLIB
7bd0f2f5 361 select GENERIC_CLOCKEVENTS
7bd0f2f5 362 select USB_ARCH_HAS_EHCI
363 help
364 Support for systems based on the Freescale 3xxx CPUs.
365
4af6fee1
DS
366config ARCH_NETX
367 bool "Hilscher NetX based"
c750815e 368 select CPU_ARM926T
4af6fee1 369 select ARM_VIC
2fcfe6b8 370 select GENERIC_CLOCKEVENTS
f999b8bd 371 help
4af6fee1
DS
372 This enables support for systems based on the Hilscher NetX Soc
373
374config ARCH_H720X
375 bool "Hynix HMS720x-based"
c750815e 376 select CPU_ARM720T
4af6fee1 377 select ISA_DMA_API
5cfc8ee0 378 select ARCH_USES_GETTIMEOFFSET
4af6fee1
DS
379 help
380 This enables support for systems based on the Hynix HMS720x
381
3b938be6
RK
382config ARCH_IOP13XX
383 bool "IOP13xx-based"
384 depends on MMU
c750815e 385 select CPU_XSC3
3b938be6
RK
386 select PLAT_IOP
387 select PCI
388 select ARCH_SUPPORTS_MSI
8d5796d2 389 select VMSPLIT_1G
3b938be6
RK
390 help
391 Support for Intel's IOP13XX (XScale) family of processors.
392
3f7e5815
LB
393config ARCH_IOP32X
394 bool "IOP32x-based"
a4f7e763 395 depends on MMU
c750815e 396 select CPU_XSCALE
7ae1f7ec 397 select PLAT_IOP
f7e68bbf 398 select PCI
bb2b180c 399 select ARCH_REQUIRE_GPIOLIB
f999b8bd 400 help
3f7e5815
LB
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
c750815e 407 select CPU_XSCALE
7ae1f7ec 408 select PLAT_IOP
3f7e5815 409 select PCI
bb2b180c 410 select ARCH_REQUIRE_GPIOLIB
3f7e5815
LB
411 help
412 Support for Intel's IOP33X (XScale) family of processors.
1da177e4 413
3b938be6
RK
414config ARCH_IXP23XX
415 bool "IXP23XX-based"
a4f7e763 416 depends on MMU
c750815e 417 select CPU_XSC3
3b938be6 418 select PCI
5cfc8ee0 419 select ARCH_USES_GETTIMEOFFSET
f999b8bd 420 help
3b938be6 421 Support for Intel's IXP23xx (XScale) family of processors.
1da177e4
LT
422
423config ARCH_IXP2000
424 bool "IXP2400/2800-based"
a4f7e763 425 depends on MMU
c750815e 426 select CPU_XSCALE
f7e68bbf 427 select PCI
5cfc8ee0 428 select ARCH_USES_GETTIMEOFFSET
f999b8bd
MM
429 help
430 Support for Intel's IXP2400/2800 (XScale) family of processors.
1da177e4 431
3b938be6
RK
432config ARCH_IXP4XX
433 bool "IXP4xx-based"
a4f7e763 434 depends on MMU
c750815e 435 select CPU_XSCALE
8858e9af 436 select GENERIC_GPIO
3b938be6 437 select GENERIC_CLOCKEVENTS
485bdde7 438 select DMABOUNCE if PCI
c4713074 439 help
3b938be6 440 Support for Intel's IXP4XX (XScale) family of processors.
c4713074 441
1da177e4
LT
442config ARCH_L7200
443 bool "LinkUp-L7200"
c750815e 444 select CPU_ARM720T
1da177e4 445 select FIQ
5cfc8ee0 446 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
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
edabd38e
SB
457config ARCH_DOVE
458 bool "Marvell Dove"
459 select PCI
edabd38e 460 select ARCH_REQUIRE_GPIOLIB
edabd38e
SB
461 select GENERIC_CLOCKEVENTS
462 select PLAT_ORION
463 help
464 Support for the Marvell Dove SoC 88AP510
465
651c74c7
SB
466config ARCH_KIRKWOOD
467 bool "Marvell Kirkwood"
c750815e 468 select CPU_FEROCEON
651c74c7 469 select PCI
a8865655 470 select ARCH_REQUIRE_GPIOLIB
651c74c7
SB
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
777f9beb
LB
477config ARCH_LOKI
478 bool "Marvell Loki (88RC8480)"
c750815e 479 select CPU_FEROCEON
777f9beb
LB
480 select GENERIC_CLOCKEVENTS
481 select PLAT_ORION
482 help
483 Support for the Marvell Loki (88RC8480) SoC.
484
794d15b2
SS
485config ARCH_MV78XX0
486 bool "Marvell MV78xx0"
c750815e 487 select CPU_FEROCEON
794d15b2 488 select PCI
a8865655 489 select ARCH_REQUIRE_GPIOLIB
794d15b2
SS
490 select GENERIC_CLOCKEVENTS
491 select PLAT_ORION
492 help
493 Support for the following Marvell MV78xx0 series SoCs:
494 MV781x0, MV782x0.
495
9dd0b194 496config ARCH_ORION5X
585cf175
TP
497 bool "Marvell Orion"
498 depends on MMU
c750815e 499 select CPU_FEROCEON
038ee083 500 select PCI
a8865655 501 select ARCH_REQUIRE_GPIOLIB
51cbff1d 502 select GENERIC_CLOCKEVENTS
69b02f6a 503 select PLAT_ORION
585cf175 504 help
9dd0b194 505 Support for the following Marvell Orion 5x series SoCs:
d2b2a6bb 506 Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
d323ade1 507 Orion-2 (5281), Orion-1-90 (6183).
585cf175 508
788c9700 509config ARCH_MMP
2f7e8fae 510 bool "Marvell PXA168/910/MMP2"
788c9700 511 depends on MMU
788c9700 512 select ARCH_REQUIRE_GPIOLIB
788c9700 513 select COMMON_CLKDEV
788c9700
RK
514 select GENERIC_CLOCKEVENTS
515 select TICK_ONESHOT
516 select PLAT_PXA
517 help
2f7e8fae 518 Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
788c9700
RK
519
520config ARCH_KS8695
521 bool "Micrel/Kendin KS8695"
522 select CPU_ARM922T
98830bc9 523 select ARCH_REQUIRE_GPIOLIB
5cfc8ee0 524 select ARCH_USES_GETTIMEOFFSET
788c9700
RK
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
788c9700
RK
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
c52d3d68 544 select ARCH_REQUIRE_GPIOLIB
0e4a34bb 545 select COMMON_CLKDEV
58b5369e 546 select GENERIC_CLOCKEVENTS
788c9700 547 help
a8bc4ead 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>
788c9700 555
a62e9030 556config ARCH_NUC93X
557 bool "Nuvoton NUC93X CPU"
558 select CPU_ARM926T
a62e9030 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
4af6fee1
DS
564config ARCH_PNX4008
565 bool "Philips Nexperia PNX4008 Mobile"
c750815e 566 select CPU_ARM926T
6985a5ad 567 select COMMON_CLKDEV
5cfc8ee0 568 select ARCH_USES_GETTIMEOFFSET
4af6fee1
DS
569 help
570 This enables support for Philips PNX4008 mobile platform.
571
1da177e4 572config ARCH_PXA
2c8086a5 573 bool "PXA2xx/PXA3xx-based"
a4f7e763 574 depends on MMU
034d2f5a 575 select ARCH_MTD_XIP
89c52ed4 576 select ARCH_HAS_CPUFREQ
8c3abc7d 577 select COMMON_CLKDEV
7444a72e 578 select ARCH_REQUIRE_GPIOLIB
981d0f39 579 select GENERIC_CLOCKEVENTS
a88264c2 580 select TICK_ONESHOT
bd5ce433 581 select PLAT_PXA
f999b8bd 582 help
2c8086a5 583 Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
1da177e4 584
788c9700
RK
585config ARCH_MSM
586 bool "Qualcomm MSM"
4b536b8d 587 select HAVE_CLK
49cbe786 588 select GENERIC_CLOCKEVENTS
49cbe786 589 help
4b53eb4f
DW
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).
49cbe786 595
c793c1b0
MD
596config ARCH_SHMOBILE
597 bool "Renesas SH-Mobile"
598 help
599 Support for Renesas's SH-Mobile ARM platforms
600
1da177e4
LT
601config ARCH_RPC
602 bool "RiscPC"
603 select ARCH_ACORN
604 select FIQ
605 select TIMER_ACORN
a08b6b79 606 select ARCH_MAY_HAVE_PC_FDC
341eb781 607 select HAVE_PATA_PLATFORM
065909b9 608 select ISA_DMA_API
5ea81769 609 select NO_IOPORT
07f841b7 610 select ARCH_SPARSEMEM_ENABLE
5cfc8ee0 611 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
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"
c750815e 618 select CPU_SA1100
f7e68bbf 619 select ISA
05944d74 620 select ARCH_SPARSEMEM_ENABLE
034d2f5a 621 select ARCH_MTD_XIP
89c52ed4 622 select ARCH_HAS_CPUFREQ
1937f5b9 623 select CPU_FREQ
3e238be2 624 select GENERIC_CLOCKEVENTS
9483a578 625 select HAVE_CLK
3e238be2 626 select TICK_ONESHOT
7444a72e 627 select ARCH_REQUIRE_GPIOLIB
f999b8bd
MM
628 help
629 Support for StrongARM 11x0 based boards.
1da177e4
LT
630
631config ARCH_S3C2410
63b1f51b 632 bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450"
0a938b97 633 select GENERIC_GPIO
9d56c02a 634 select ARCH_HAS_CPUFREQ
9483a578 635 select HAVE_CLK
5cfc8ee0 636 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
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
f6c8965a 640 the Samsung SMDK2410 development board (and derivatives).
1da177e4 641
63b1f51b
BD
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
a08ab637
BD
646config ARCH_S3C64XX
647 bool "Samsung S3C64XX"
89f1fa08 648 select PLAT_SAMSUNG
89f0ce72 649 select CPU_V6
89f0ce72 650 select ARM_VIC
a08ab637 651 select HAVE_CLK
89f0ce72 652 select NO_IOPORT
5cfc8ee0 653 select ARCH_USES_GETTIMEOFFSET
89c52ed4 654 select ARCH_HAS_CPUFREQ
89f0ce72
BD
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
a08ab637
BD
666 help
667 Samsung S3C64XX series based systems
668
c4ffccdd
KK
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
550db7f1
KK
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
5a7652f2
BM
685config ARCH_S5PC1XX
686 bool "Samsung S5PC1XX"
687 select GENERIC_GPIO
688 select HAVE_CLK
689 select CPU_V7
d6d502fa 690 select ARM_L1_CACHE_SHIFT_6
5a7652f2
BM
691 help
692 Samsung S5PC1XX series based systems
693
170f4e42
KK
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
1da177e4
LT
703config ARCH_SHARK
704 bool "Shark"
c750815e 705 select CPU_SA110
f7e68bbf
RK
706 select ISA
707 select ISA_DMA
3bca103a 708 select ZONE_DMA
f7e68bbf 709 select PCI
5cfc8ee0 710 select ARCH_USES_GETTIMEOFFSET
f999b8bd
MM
711 help
712 Support for the StrongARM based Digital DNARD machine, also known
713 as "Shark" (<http://www.shark-linux.de/shark.html>).
1da177e4
LT
714
715config ARCH_LH7A40X
716 bool "Sharp LH7A40X"
c750815e 717 select CPU_ARM922T
4ba3f7c5
RK
718 select ARCH_DISCONTIGMEM_ENABLE if !LH7A40X_CONTIGMEM
719 select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM
5cfc8ee0 720 select ARCH_USES_GETTIMEOFFSET
1da177e4
LT
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
d98aac75
LW
727config ARCH_U300
728 bool "ST-Ericsson U300 Series"
729 depends on MMU
730 select CPU_ARM926T
bc581770 731 select HAVE_TCM
d98aac75
LW
732 select ARM_AMBA
733 select ARM_VIC
d98aac75 734 select GENERIC_CLOCKEVENTS
d98aac75
LW
735 select COMMON_CLKDEV
736 select GENERIC_GPIO
737 help
738 Support for ST-Ericsson U300 series mobile platforms.
739
ccf50e23
RK
740config ARCH_U8500
741 bool "ST-Ericsson U8500 Series"
742 select CPU_V7
743 select ARM_AMBA
ccf50e23
RK
744 select GENERIC_CLOCKEVENTS
745 select COMMON_CLKDEV
94bdc0e2 746 select ARCH_REQUIRE_GPIOLIB
ccf50e23
RK
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
ccf50e23 755 select COMMON_CLKDEV
ccf50e23 756 select GENERIC_CLOCKEVENTS
ccf50e23
RK
757 select ARCH_REQUIRE_GPIOLIB
758 help
759 Support for the Nomadik platform by ST-Ericsson
760
7c6337e2
KH
761config ARCH_DAVINCI
762 bool "TI DaVinci"
c750815e 763 select CPU_ARM926T
7c6337e2 764 select GENERIC_CLOCKEVENTS
dce1115b 765 select ARCH_REQUIRE_GPIOLIB
3bca103a 766 select ZONE_DMA
9232fcc9 767 select HAVE_IDE
c5b736d0 768 select COMMON_CLKDEV
20e9969b 769 select GENERIC_ALLOCATOR
ae88e05a 770 select ARCH_HAS_HOLES_MEMORYMODEL
7c6337e2
KH
771 help
772 Support for TI's DaVinci platform.
773
3b938be6
RK
774config ARCH_OMAP
775 bool "TI OMAP"
9483a578 776 select HAVE_CLK
7444a72e 777 select ARCH_REQUIRE_GPIOLIB
89c52ed4 778 select ARCH_HAS_CPUFREQ
06cad098 779 select GENERIC_CLOCKEVENTS
9af915da 780 select ARCH_HAS_HOLES_MEMORYMODEL
3b938be6
RK
781 help
782 Support for TI's OMAP platform (OMAP1 and OMAP2).
783
cee37e50 784config PLAT_SPEAR
785 bool "ST SPEAr"
786 select ARM_AMBA
787 select ARCH_REQUIRE_GPIOLIB
788 select COMMON_CLKDEV
789 select GENERIC_CLOCKEVENTS
cee37e50 790 select HAVE_CLK
791 help
792 Support for ST's SPEAr platform (SPEAr3xx, SPEAr6xx and SPEAr13xx).
793
1da177e4
LT
794endchoice
795
ccf50e23
RK
796#
797# This is sorted alphabetically by mach-* pathname. However, plat-*
798# Kconfigs may be included either alphabetically (according to the
799# plat- suffix) or along side the corresponding mach-* source.
800#
95b8f20f
RK
801source "arch/arm/mach-aaec2000/Kconfig"
802
803source "arch/arm/mach-at91/Kconfig"
804
805source "arch/arm/mach-bcmring/Kconfig"
806
1da177e4
LT
807source "arch/arm/mach-clps711x/Kconfig"
808
d94f944e
AV
809source "arch/arm/mach-cns3xxx/Kconfig"
810
95b8f20f
RK
811source "arch/arm/mach-davinci/Kconfig"
812
813source "arch/arm/mach-dove/Kconfig"
814
e7736d47
LB
815source "arch/arm/mach-ep93xx/Kconfig"
816
1da177e4
LT
817source "arch/arm/mach-footbridge/Kconfig"
818
59d3a193
PZ
819source "arch/arm/mach-gemini/Kconfig"
820
95b8f20f
RK
821source "arch/arm/mach-h720x/Kconfig"
822
1da177e4
LT
823source "arch/arm/mach-integrator/Kconfig"
824
3f7e5815
LB
825source "arch/arm/mach-iop32x/Kconfig"
826
827source "arch/arm/mach-iop33x/Kconfig"
1da177e4 828
285f5fa7
DW
829source "arch/arm/mach-iop13xx/Kconfig"
830
1da177e4
LT
831source "arch/arm/mach-ixp4xx/Kconfig"
832
833source "arch/arm/mach-ixp2000/Kconfig"
834
c4713074
LB
835source "arch/arm/mach-ixp23xx/Kconfig"
836
95b8f20f
RK
837source "arch/arm/mach-kirkwood/Kconfig"
838
839source "arch/arm/mach-ks8695/Kconfig"
840
841source "arch/arm/mach-lh7a40x/Kconfig"
842
777f9beb
LB
843source "arch/arm/mach-loki/Kconfig"
844
95b8f20f
RK
845source "arch/arm/mach-msm/Kconfig"
846
794d15b2
SS
847source "arch/arm/mach-mv78xx0/Kconfig"
848
95b8f20f 849source "arch/arm/plat-mxc/Kconfig"
1da177e4 850
95b8f20f 851source "arch/arm/mach-netx/Kconfig"
49cbe786 852
95b8f20f
RK
853source "arch/arm/mach-nomadik/Kconfig"
854source "arch/arm/plat-nomadik/Kconfig"
855
856source "arch/arm/mach-ns9xxx/Kconfig"
1da177e4 857
186f93ea 858source "arch/arm/mach-nuc93x/Kconfig"
1da177e4 859
d48af15e
TL
860source "arch/arm/plat-omap/Kconfig"
861
862source "arch/arm/mach-omap1/Kconfig"
1da177e4 863
1dbae815
TL
864source "arch/arm/mach-omap2/Kconfig"
865
9dd0b194 866source "arch/arm/mach-orion5x/Kconfig"
585cf175 867
95b8f20f
RK
868source "arch/arm/mach-pxa/Kconfig"
869source "arch/arm/plat-pxa/Kconfig"
585cf175 870
95b8f20f
RK
871source "arch/arm/mach-mmp/Kconfig"
872
873source "arch/arm/mach-realview/Kconfig"
874
875source "arch/arm/mach-sa1100/Kconfig"
edabd38e 876
cf383678 877source "arch/arm/plat-samsung/Kconfig"
a21765a7 878source "arch/arm/plat-s3c24xx/Kconfig"
c4ffccdd 879source "arch/arm/plat-s5p/Kconfig"
5a7652f2 880source "arch/arm/plat-s5pc1xx/Kconfig"
cee37e50 881source "arch/arm/plat-spear/Kconfig"
a21765a7
BD
882
883if ARCH_S3C2410
884source "arch/arm/mach-s3c2400/Kconfig"
1da177e4 885source "arch/arm/mach-s3c2410/Kconfig"
a21765a7 886source "arch/arm/mach-s3c2412/Kconfig"
f1290a49 887source "arch/arm/mach-s3c2416/Kconfig"
a21765a7 888source "arch/arm/mach-s3c2440/Kconfig"
e4d06e39 889source "arch/arm/mach-s3c2443/Kconfig"
a21765a7 890endif
1da177e4 891
a08ab637 892if ARCH_S3C64XX
431107ea 893source "arch/arm/mach-s3c64xx/Kconfig"
a08ab637
BD
894endif
895
c4ffccdd
KK
896source "arch/arm/mach-s5p6440/Kconfig"
897
550db7f1 898source "arch/arm/mach-s5p6442/Kconfig"
7bd0f2f5 899
5a7652f2
BM
900if ARCH_S5PC1XX
901source "arch/arm/mach-s5pc100/Kconfig"
902endif
903
170f4e42
KK
904source "arch/arm/mach-s5pv210/Kconfig"
905
882d01f9 906source "arch/arm/mach-shmobile/Kconfig"
52c543f9 907
882d01f9 908source "arch/arm/plat-stmp3xxx/Kconfig"
9e73c84c 909
95b8f20f 910source "arch/arm/mach-u300/Kconfig"
1da177e4 911
95b8f20f 912source "arch/arm/mach-ux500/Kconfig"
1da177e4
LT
913
914source "arch/arm/mach-versatile/Kconfig"
915
ceade897
RK
916source "arch/arm/mach-vexpress/Kconfig"
917
7ec80ddf 918source "arch/arm/mach-w90x900/Kconfig"
919
1da177e4
LT
920# Definitions to make life easier
921config ARCH_ACORN
922 bool
923
7ae1f7ec
LB
924config PLAT_IOP
925 bool
469d3044 926 select GENERIC_CLOCKEVENTS
7ae1f7ec 927
69b02f6a
LB
928config PLAT_ORION
929 bool
930
bd5ce433
EM
931config PLAT_PXA
932 bool
933
f4b8b319
RK
934config PLAT_VERSATILE
935 bool
936
e3887714
RK
937config ARM_TIMER_SP804
938 bool
939
1da177e4
LT
940source arch/arm/mm/Kconfig
941
afe4b25e
LB
942config IWMMXT
943 bool "Enable iWMMXt support"
40305a58
EM
944 depends on CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK
945 default y if PXA27x || PXA3xx || ARCH_MMP
afe4b25e
LB
946 help
947 Enable support for iWMMXt context switching at run time if
948 running on a CPU that supports it.
949
1da177e4
LT
950# bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
951config XSCALE_PMU
952 bool
953 depends on CPU_XSCALE && !XSCALE_PMU_TIMER
954 default y
955
0f4f0672
JI
956config CPU_HAS_PMU
957 depends on CPU_V6 || CPU_V7 || XSCALE_PMU
958 default y
959 bool
960
3b93e7b0
HC
961if !MMU
962source "arch/arm/Kconfig-nommu"
963endif
964
9cba3ccc
CM
965config ARM_ERRATA_411920
966 bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
967 depends on CPU_V6 && !SMP
968 help
969 Invalidation of the Instruction Cache operation can
970 fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
971 It does not affect the MPCore. This option enables the ARM Ltd.
972 recommended workaround.
973
7ce236fc
CM
974config ARM_ERRATA_430973
975 bool "ARM errata: Stale prediction on replaced interworking branch"
976 depends on CPU_V7
977 help
978 This option enables the workaround for the 430973 Cortex-A8
979 (r1p0..r1p2) erratum. If a code sequence containing an ARM/Thumb
980 interworking branch is replaced with another code sequence at the
981 same virtual address, whether due to self-modifying code or virtual
982 to physical address re-mapping, Cortex-A8 does not recover from the
983 stale interworking branch prediction. This results in Cortex-A8
984 executing the new code sequence in the incorrect ARM or Thumb state.
985 The workaround enables the BTB/BTAC operations by setting ACTLR.IBE
986 and also flushes the branch target cache at every context switch.
987 Note that setting specific bits in the ACTLR register may not be
988 available in non-secure mode.
989
855c551f
CM
990config ARM_ERRATA_458693
991 bool "ARM errata: Processor deadlock when a false hazard is created"
992 depends on CPU_V7
993 help
994 This option enables the workaround for the 458693 Cortex-A8 (r2p0)
995 erratum. For very specific sequences of memory operations, it is
996 possible for a hazard condition intended for a cache line to instead
997 be incorrectly associated with a different cache line. This false
998 hazard might then cause a processor deadlock. The workaround enables
999 the L1 caching of the NEON accesses and disables the PLD instruction
1000 in the ACTLR register. Note that setting specific bits in the ACTLR
1001 register may not be available in non-secure mode.
1002
0516e464
CM
1003config ARM_ERRATA_460075
1004 bool "ARM errata: Data written to the L2 cache can be overwritten with stale data"
1005 depends on CPU_V7
1006 help
1007 This option enables the workaround for the 460075 Cortex-A8 (r2p0)
1008 erratum. Any asynchronous access to the L2 cache may encounter a
1009 situation in which recent store transactions to the L2 cache are lost
1010 and overwritten with stale memory contents from external memory. The
1011 workaround disables the write-allocate mode for the L2 cache via the
1012 ACTLR register. Note that setting specific bits in the ACTLR register
1013 may not be available in non-secure mode.
1014
9e65582a
SS
1015config PL310_ERRATA_588369
1016 bool "Clean & Invalidate maintenance operations do not invalidate clean lines"
1017 depends on CACHE_L2X0 && ARCH_OMAP4
1018 help
1019 The PL310 L2 cache controller implements three types of Clean &
1020 Invalidate maintenance operations: by Physical Address
1021 (offset 0x7F0), by Index/Way (0x7F8) and by Way (0x7FC).
1022 They are architecturally defined to behave as the execution of a
1023 clean operation followed immediately by an invalidate operation,
1024 both performing to the same memory location. This functionality
1025 is not correctly implemented in PL310 as clean lines are not
1026 invalidated as a result of these operations. Note that this errata
1027 uses Texas Instrument's secure monitor api.
1da177e4
LT
1028endmenu
1029
1030source "arch/arm/common/Kconfig"
1031
1032config FORCE_MAX_ZONEORDER
1033 int
1034 depends on SA1111
1035 default "9"
1036
1037menu "Bus support"
1038
1039config ARM_AMBA
1040 bool
1041
1042config ISA
1043 bool
1da177e4
LT
1044 help
1045 Find out whether you have ISA slots on your motherboard. ISA is the
1046 name of a bus system, i.e. the way the CPU talks to the other stuff
1047 inside your box. Other bus systems are PCI, EISA, MicroChannel
1048 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
1049 newer boards don't support it. If you have ISA, say Y, otherwise N.
1050
065909b9 1051# Select ISA DMA controller support
1da177e4
LT
1052config ISA_DMA
1053 bool
065909b9 1054 select ISA_DMA_API
1da177e4 1055
065909b9 1056# Select ISA DMA interface
5cae841b
AV
1057config ISA_DMA_API
1058 bool
5cae841b 1059
1da177e4 1060config PCI
a0113a99 1061 bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695 || MACH_ARMCORE
1da177e4
LT
1062 help
1063 Find out whether you have a PCI motherboard. PCI is the name of a
1064 bus system, i.e. the way the CPU talks to the other stuff inside
1065 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1066 VESA. If you have PCI, say Y, otherwise N.
1067
52882173
AV
1068config PCI_DOMAINS
1069 bool
1070 depends on PCI
1071
36e23590
MW
1072config PCI_SYSCALL
1073 def_bool PCI
1074
1da177e4
LT
1075# Select the host bridge type
1076config PCI_HOST_VIA82C505
1077 bool
1078 depends on PCI && ARCH_SHARK
1079 default y
1080
a0113a99
MR
1081config PCI_HOST_ITE8152
1082 bool
1083 depends on PCI && MACH_ARMCORE
1084 default y
1085 select DMABOUNCE
1086
1da177e4
LT
1087source "drivers/pci/Kconfig"
1088
1089source "drivers/pcmcia/Kconfig"
1090
1091endmenu
1092
1093menu "Kernel Features"
1094
0567a0c0
KH
1095source "kernel/time/Kconfig"
1096
1da177e4
LT
1097config SMP
1098 bool "Symmetric Multi-Processing (EXPERIMENTAL)"
42578c82 1099 depends on EXPERIMENTAL && (REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP ||\
59ac59f6
RK
1100 MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 ||\
1101 ARCH_U8500 || ARCH_VEXPRESS_CA9X4)
bc28248e 1102 depends on GENERIC_CLOCKEVENTS
f6dd9fa5 1103 select USE_GENERIC_SMP_HELPERS
59ac59f6 1104 select HAVE_ARM_SCU if (ARCH_REALVIEW || ARCH_OMAP4 || ARCH_U8500 || ARCH_VEXPRESS_CA9X4)
1da177e4
LT
1105 help
1106 This enables support for systems with more than one CPU. If you have
1107 a system with only one CPU, like most personal computers, say N. If
1108 you have a system with more than one CPU, say Y.
1109
1110 If you say N here, the kernel will run on single and multiprocessor
1111 machines, but will use only one CPU of a multiprocessor machine. If
1112 you say Y here, the kernel will run on many, but not all, single
1113 processor machines. On a single processor machine, the kernel will
1114 run faster if you say N here.
1115
03502faa 1116 See also <file:Documentation/i386/IO-APIC.txt>,
1da177e4
LT
1117 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
1118 <http://www.linuxdoc.org/docs.html#howto>.
1119
1120 If you don't know what to do here, say N.
1121
a8cbcd92
RK
1122config HAVE_ARM_SCU
1123 bool
1124 depends on SMP
1125 help
1126 This option enables support for the ARM system coherency unit
1127
f32f4ce2
RK
1128config HAVE_ARM_TWD
1129 bool
1130 depends on SMP
1131 help
1132 This options enables support for the ARM timer and watchdog unit
1133
8d5796d2
LB
1134choice
1135 prompt "Memory split"
1136 default VMSPLIT_3G
1137 help
1138 Select the desired split between kernel and user memory.
1139
1140 If you are not absolutely sure what you are doing, leave this
1141 option alone!
1142
1143 config VMSPLIT_3G
1144 bool "3G/1G user/kernel split"
1145 config VMSPLIT_2G
1146 bool "2G/2G user/kernel split"
1147 config VMSPLIT_1G
1148 bool "1G/3G user/kernel split"
1149endchoice
1150
1151config PAGE_OFFSET
1152 hex
1153 default 0x40000000 if VMSPLIT_1G
1154 default 0x80000000 if VMSPLIT_2G
1155 default 0xC0000000
1156
1da177e4
LT
1157config NR_CPUS
1158 int "Maximum number of CPUs (2-32)"
1159 range 2 32
1160 depends on SMP
1161 default "4"
1162
a054a811
RK
1163config HOTPLUG_CPU
1164 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
1165 depends on SMP && HOTPLUG && EXPERIMENTAL
1166 help
1167 Say Y here to experiment with turning CPUs off and on. CPUs
1168 can be controlled through /sys/devices/system/cpu.
1169
37ee16ae
RK
1170config LOCAL_TIMERS
1171 bool "Use local timer interrupts"
42578c82 1172 depends on SMP && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || \
850265e8 1173 REALVIEW_EB_A9MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || ARCH_U8500)
37ee16ae 1174 default y
850265e8 1175 select HAVE_ARM_TWD if (ARCH_REALVIEW || ARCH_OMAP4 || ARCH_U8500)
37ee16ae
RK
1176 help
1177 Enable support for local timers on SMP platforms, rather then the
1178 legacy IPI broadcast method. Local timers allows the system
1179 accounting to be spread across the timer interval, preventing a
1180 "thundering herd" at every timer tick.
1181
d45a398f 1182source kernel/Kconfig.preempt
1da177e4 1183
f8065813
RK
1184config HZ
1185 int
1186 default 128 if ARCH_L7200
170f4e42 1187 default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P6440 || ARCH_S5P6442 || ARCH_S5PV210
bfe65704 1188 default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
5248c657 1189 default AT91_TIMER_HZ if ARCH_AT91
f8065813
RK
1190 default 100
1191
16c79651
CM
1192config THUMB2_KERNEL
1193 bool "Compile the kernel in Thumb-2 mode"
1194 depends on CPU_V7 && EXPERIMENTAL
1195 select AEABI
1196 select ARM_ASM_UNIFIED
1197 help
1198 By enabling this option, the kernel will be compiled in
1199 Thumb-2 mode. A compiler/assembler that understand the unified
1200 ARM-Thumb syntax is needed.
1201
1202 If unsure, say N.
1203
0becb088
CM
1204config ARM_ASM_UNIFIED
1205 bool
1206
704bdda0
NP
1207config AEABI
1208 bool "Use the ARM EABI to compile the kernel"
1209 help
1210 This option allows for the kernel to be compiled using the latest
1211 ARM ABI (aka EABI). This is only useful if you are using a user
1212 space environment that is also compiled with EABI.
1213
1214 Since there are major incompatibilities between the legacy ABI and
1215 EABI, especially with regard to structure member alignment, this
1216 option also changes the kernel syscall calling convention to
1217 disambiguate both ABIs and allow for backward compatibility support
1218 (selected with CONFIG_OABI_COMPAT).
1219
1220 To use this you need GCC version 4.0.0 or later.
1221
6c90c872 1222config OABI_COMPAT
a73a3ff1 1223 bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
61c484d4 1224 depends on AEABI && EXPERIMENTAL
6c90c872
NP
1225 default y
1226 help
1227 This option preserves the old syscall interface along with the
1228 new (ARM EABI) one. It also provides a compatibility layer to
1229 intercept syscalls that have structure arguments which layout
1230 in memory differs between the legacy ABI and the new ARM EABI
1231 (only for non "thumb" binaries). This option adds a tiny
1232 overhead to all syscalls and produces a slightly larger kernel.
1233 If you know you'll be using only pure EABI user space then you
1234 can say N here. If this option is not selected and you attempt
1235 to execute a legacy ABI binary then the result will be
1236 UNPREDICTABLE (in fact it can be predicted that it won't work
1237 at all). If in doubt say Y.
1238
eb33575c 1239config ARCH_HAS_HOLES_MEMORYMODEL
e80d6a24 1240 bool
e80d6a24 1241
07a2f737 1242# Discontigmem is deprecated
3f22ab27 1243config ARCH_DISCONTIGMEM_ENABLE
1da177e4 1244 bool
1da177e4 1245
05944d74
RK
1246config ARCH_SPARSEMEM_ENABLE
1247 bool
1248
07a2f737
RK
1249config ARCH_SPARSEMEM_DEFAULT
1250 def_bool ARCH_SPARSEMEM_ENABLE
1251
05944d74 1252config ARCH_SELECT_MEMORY_MODEL
07a2f737 1253 def_bool ARCH_DISCONTIGMEM_ENABLE && ARCH_SPARSEMEM_ENABLE
05944d74 1254
c80d79d7
YG
1255config NODES_SHIFT
1256 int
1257 default "4" if ARCH_LH7A40X
1258 default "2"
1259 depends on NEED_MULTIPLE_NODES
1260
053a96ca
NP
1261config HIGHMEM
1262 bool "High Memory Support (EXPERIMENTAL)"
1263 depends on MMU && EXPERIMENTAL
1264 help
1265 The address space of ARM processors is only 4 Gigabytes large
1266 and it has to accommodate user address space, kernel address
1267 space as well as some memory mapped IO. That means that, if you
1268 have a large amount of physical memory and/or IO, not all of the
1269 memory can be "permanently mapped" by the kernel. The physical
1270 memory that is not permanently mapped is called "high memory".
1271
1272 Depending on the selected kernel/user memory split, minimum
1273 vmalloc space and actual amount of RAM, you may not need this
1274 option which should result in a slightly faster kernel.
1275
1276 If unsure, say n.
1277
65cec8e3
RK
1278config HIGHPTE
1279 bool "Allocate 2nd-level pagetables from highmem"
1280 depends on HIGHMEM
1281 depends on !OUTER_CACHE
1282
1b8873a0
JI
1283config HW_PERF_EVENTS
1284 bool "Enable hardware performance counter support for perf events"
fe166148 1285 depends on PERF_EVENTS && CPU_HAS_PMU
1b8873a0
JI
1286 default y
1287 help
1288 Enable hardware performance counter support for perf events. If
1289 disabled, perf events will use software events only.
1290
3f22ab27
DH
1291source "mm/Kconfig"
1292
1da177e4
LT
1293config LEDS
1294 bool "Timer and CPU usage LEDs"
e055d5bf 1295 depends on ARCH_CDB89712 || ARCH_EBSA110 || \
8c8fdbc9 1296 ARCH_EBSA285 || ARCH_INTEGRATOR || \
1da177e4
LT
1297 ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
1298 ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
73a59c1c 1299 ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
25329671 1300 ARCH_AT91 || ARCH_DAVINCI || \
ff3042fb 1301 ARCH_KS8695 || MACH_RD88F5182 || ARCH_REALVIEW
1da177e4
LT
1302 help
1303 If you say Y here, the LEDs on your machine will be used
1304 to provide useful information about your current system status.
1305
1306 If you are compiling a kernel for a NetWinder or EBSA-285, you will
1307 be able to select which LEDs are active using the options below. If
1308 you are compiling a kernel for the EBSA-110 or the LART however, the
1309 red LED will simply flash regularly to indicate that the system is
1310 still functional. It is safe to say Y here if you have a CATS
1311 system, but the driver will do nothing.
1312
1313config LEDS_TIMER
1314 bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
eebdf7d7
DB
1315 OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1316 || MACH_OMAP_PERSEUS2
1da177e4 1317 depends on LEDS
0567a0c0 1318 depends on !GENERIC_CLOCKEVENTS
1da177e4
LT
1319 default y if ARCH_EBSA110
1320 help
1321 If you say Y here, one of the system LEDs (the green one on the
1322 NetWinder, the amber one on the EBSA285, or the red one on the LART)
1323 will flash regularly to indicate that the system is still
1324 operational. This is mainly useful to kernel hackers who are
1325 debugging unstable kernels.
1326
1327 The LART uses the same LED for both Timer LED and CPU usage LED
1328 functions. You may choose to use both, but the Timer LED function
1329 will overrule the CPU usage LED.
1330
1331config LEDS_CPU
1332 bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
eebdf7d7
DB
1333 !ARCH_OMAP) \
1334 || OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
1335 || MACH_OMAP_PERSEUS2
1da177e4
LT
1336 depends on LEDS
1337 help
1338 If you say Y here, the red LED will be used to give a good real
1339 time indication of CPU usage, by lighting whenever the idle task
1340 is not currently executing.
1341
1342 The LART uses the same LED for both Timer LED and CPU usage LED
1343 functions. You may choose to use both, but the Timer LED function
1344 will overrule the CPU usage LED.
1345
1346config ALIGNMENT_TRAP
1347 bool
f12d0d7c 1348 depends on CPU_CP15_MMU
1da177e4 1349 default y if !ARCH_EBSA110
e119bfff 1350 select HAVE_PROC_CPU if PROC_FS
1da177e4 1351 help
84eb8d06 1352 ARM processors cannot fetch/store information which is not
1da177e4
LT
1353 naturally aligned on the bus, i.e., a 4 byte fetch must start at an
1354 address divisible by 4. On 32-bit ARM processors, these non-aligned
1355 fetch/store instructions will be emulated in software if you say
1356 here, which has a severe performance impact. This is necessary for
1357 correct operation of some network protocols. With an IP-only
1358 configuration it is safe to say N, otherwise say Y.
1359
39ec58f3
LB
1360config UACCESS_WITH_MEMCPY
1361 bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
1362 depends on MMU && EXPERIMENTAL
1363 default y if CPU_FEROCEON
1364 help
1365 Implement faster copy_to_user and clear_user methods for CPU
1366 cores where a 8-word STM instruction give significantly higher
1367 memory write throughput than a sequence of individual 32bit stores.
1368
1369 A possible side effect is a slight increase in scheduling latency
1370 between threads sharing the same address space if they invoke
1371 such copy operations with large buffers.
1372
1373 However, if the CPU data cache is using a write-allocate mode,
1374 this option is unlikely to provide any performance gain.
1375
1da177e4
LT
1376endmenu
1377
1378menu "Boot options"
1379
1380# Compressed boot loader in ROM. Yes, we really want to ask about
1381# TEXT and BSS so we preserve their values in the config files.
1382config ZBOOT_ROM_TEXT
1383 hex "Compressed ROM boot loader base address"
1384 default "0"
1385 help
1386 The physical address at which the ROM-able zImage is to be
1387 placed in the target. Platforms which normally make use of
1388 ROM-able zImage formats normally set this to a suitable
1389 value in their defconfig file.
1390
1391 If ZBOOT_ROM is not enabled, this has no effect.
1392
1393config ZBOOT_ROM_BSS
1394 hex "Compressed ROM boot loader BSS address"
1395 default "0"
1396 help
f8c440b2
DF
1397 The base address of an area of read/write memory in the target
1398 for the ROM-able zImage which must be available while the
1399 decompressor is running. It must be large enough to hold the
1400 entire decompressed kernel plus an additional 128 KiB.
1401 Platforms which normally make use of ROM-able zImage formats
1402 normally set this to a suitable value in their defconfig file.
1da177e4
LT
1403
1404 If ZBOOT_ROM is not enabled, this has no effect.
1405
1406config ZBOOT_ROM
1407 bool "Compressed boot loader in ROM/flash"
1408 depends on ZBOOT_ROM_TEXT != ZBOOT_ROM_BSS
1409 help
1410 Say Y here if you intend to execute your compressed kernel image
1411 (zImage) directly from ROM or flash. If unsure, say N.
1412
1413config CMDLINE
1414 string "Default kernel command string"
1415 default ""
1416 help
1417 On some architectures (EBSA110 and CATS), there is currently no way
1418 for the boot loader to pass arguments to the kernel. For these
1419 architectures, you should supply some command-line options at build
1420 time by entering them here. As a minimum, you should specify the
1421 memory size and the root device (e.g., mem=64M root=/dev/nfs).
1422
1423config XIP_KERNEL
1424 bool "Kernel Execute-In-Place from ROM"
1425 depends on !ZBOOT_ROM
1426 help
1427 Execute-In-Place allows the kernel to run from non-volatile storage
1428 directly addressable by the CPU, such as NOR flash. This saves RAM
1429 space since the text section of the kernel is not loaded from flash
1430 to RAM. Read-write sections, such as the data section and stack,
1431 are still copied to RAM. The XIP kernel is not compressed since
1432 it has to run directly from flash, so it will take more space to
1433 store it. The flash address used to link the kernel object files,
1434 and for storing it, is configuration dependent. Therefore, if you
1435 say Y here, you must know the proper physical address where to
1436 store the kernel image depending on your own flash memory usage.
1437
1438 Also note that the make target becomes "make xipImage" rather than
1439 "make zImage" or "make Image". The final kernel binary to put in
1440 ROM memory will be arch/arm/boot/xipImage.
1441
1442 If unsure, say N.
1443
1444config XIP_PHYS_ADDR
1445 hex "XIP Kernel Physical Location"
1446 depends on XIP_KERNEL
1447 default "0x00080000"
1448 help
1449 This is the physical address in your flash memory the kernel will
1450 be linked for and stored to. This address is dependent on your
1451 own flash usage.
1452
c587e4a6
RP
1453config KEXEC
1454 bool "Kexec system call (EXPERIMENTAL)"
1455 depends on EXPERIMENTAL
1456 help
1457 kexec is a system call that implements the ability to shutdown your
1458 current kernel, and to start another kernel. It is like a reboot
01dd2fbf 1459 but it is independent of the system firmware. And like a reboot
c587e4a6
RP
1460 you can start any kernel with it, not just Linux.
1461
1462 It is an ongoing process to be certain the hardware in a machine
1463 is properly shutdown, so do not be surprised if this code does not
1464 initially work for you. It may help to enable device hotplugging
1465 support.
1466
4cd9d6f7
RP
1467config ATAGS_PROC
1468 bool "Export atags in procfs"
b98d7291
UL
1469 depends on KEXEC
1470 default y
4cd9d6f7
RP
1471 help
1472 Should the atags used to boot the kernel be exported in an "atags"
1473 file in procfs. Useful with kexec.
1474
1da177e4
LT
1475endmenu
1476
ac9d7efc 1477menu "CPU Power Management"
1da177e4 1478
89c52ed4 1479if ARCH_HAS_CPUFREQ
1da177e4
LT
1480
1481source "drivers/cpufreq/Kconfig"
1482
1483config CPU_FREQ_SA1100
1484 bool
1da177e4
LT
1485
1486config CPU_FREQ_SA1110
1487 bool
1da177e4
LT
1488
1489config CPU_FREQ_INTEGRATOR
1490 tristate "CPUfreq driver for ARM Integrator CPUs"
1491 depends on ARCH_INTEGRATOR && CPU_FREQ
1492 default y
1493 help
1494 This enables the CPUfreq driver for ARM Integrator CPUs.
1495
1496 For details, take a look at <file:Documentation/cpu-freq>.
1497
1498 If in doubt, say Y.
1499
9e2697ff
RK
1500config CPU_FREQ_PXA
1501 bool
1502 depends on CPU_FREQ && ARCH_PXA && PXA25x
1503 default y
1504 select CPU_FREQ_DEFAULT_GOV_USERSPACE
1505
b3748ddd
MB
1506config CPU_FREQ_S3C64XX
1507 bool "CPUfreq support for Samsung S3C64XX CPUs"
1508 depends on CPU_FREQ && CPU_S3C6410
1509
9d56c02a
BD
1510config CPU_FREQ_S3C
1511 bool
1512 help
1513 Internal configuration node for common cpufreq on Samsung SoC
1514
1515config CPU_FREQ_S3C24XX
1516 bool "CPUfreq driver for Samsung S3C24XX series CPUs"
1517 depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL
1518 select CPU_FREQ_S3C
1519 help
1520 This enables the CPUfreq driver for the Samsung S3C24XX family
1521 of CPUs.
1522
1523 For details, take a look at <file:Documentation/cpu-freq>.
1524
1525 If in doubt, say N.
1526
1527config CPU_FREQ_S3C24XX_PLL
1528 bool "Support CPUfreq changing of PLL frequency"
1529 depends on CPU_FREQ_S3C24XX && EXPERIMENTAL
1530 help
1531 Compile in support for changing the PLL frequency from the
1532 S3C24XX series CPUfreq driver. The PLL takes time to settle
1533 after a frequency change, so by default it is not enabled.
1534
1535 This also means that the PLL tables for the selected CPU(s) will
1536 be built which may increase the size of the kernel image.
1537
1538config CPU_FREQ_S3C24XX_DEBUG
1539 bool "Debug CPUfreq Samsung driver core"
1540 depends on CPU_FREQ_S3C24XX
1541 help
1542 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
1543
1544config CPU_FREQ_S3C24XX_IODEBUG
1545 bool "Debug CPUfreq Samsung driver IO timing"
1546 depends on CPU_FREQ_S3C24XX
1547 help
1548 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
1549
e6d197a6
BD
1550config CPU_FREQ_S3C24XX_DEBUGFS
1551 bool "Export debugfs for CPUFreq"
1552 depends on CPU_FREQ_S3C24XX && DEBUG_FS
1553 help
1554 Export status information via debugfs.
1555
1da177e4
LT
1556endif
1557
ac9d7efc
RK
1558source "drivers/cpuidle/Kconfig"
1559
1560endmenu
1561
1da177e4
LT
1562menu "Floating point emulation"
1563
1564comment "At least one emulation must be selected"
1565
1566config FPE_NWFPE
1567 bool "NWFPE math emulation"
8993a44c 1568 depends on !AEABI || OABI_COMPAT
1da177e4
LT
1569 ---help---
1570 Say Y to include the NWFPE floating point emulator in the kernel.
1571 This is necessary to run most binaries. Linux does not currently
1572 support floating point hardware so you need to say Y here even if
1573 your machine has an FPA or floating point co-processor podule.
1574
1575 You may say N here if you are going to load the Acorn FPEmulator
1576 early in the bootup.
1577
1578config FPE_NWFPE_XP
1579 bool "Support extended precision"
bedf142b 1580 depends on FPE_NWFPE
1da177e4
LT
1581 help
1582 Say Y to include 80-bit support in the kernel floating-point
1583 emulator. Otherwise, only 32 and 64-bit support is compiled in.
1584 Note that gcc does not generate 80-bit operations by default,
1585 so in most cases this option only enlarges the size of the
1586 floating point emulator without any good reason.
1587
1588 You almost surely want to say N here.
1589
1590config FPE_FASTFPE
1591 bool "FastFPE math emulation (EXPERIMENTAL)"
8993a44c 1592 depends on (!AEABI || OABI_COMPAT) && !CPU_32v3 && EXPERIMENTAL
1da177e4
LT
1593 ---help---
1594 Say Y here to include the FAST floating point emulator in the kernel.
1595 This is an experimental much faster emulator which now also has full
1596 precision for the mantissa. It does not support any exceptions.
1597 It is very simple, and approximately 3-6 times faster than NWFPE.
1598
1599 It should be sufficient for most programs. It may be not suitable
1600 for scientific calculations, but you have to check this for yourself.
1601 If you do not feel you need a faster FP emulation you should better
1602 choose NWFPE.
1603
1604config VFP
1605 bool "VFP-format floating point maths"
c00d4ffd 1606 depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1da177e4
LT
1607 help
1608 Say Y to include VFP support code in the kernel. This is needed
1609 if your hardware includes a VFP unit.
1610
1611 Please see <file:Documentation/arm/VFP/release-notes.txt> for
1612 release notes and additional status information.
1613
1614 Say N if your target does not have VFP hardware.
1615
25ebee02
CM
1616config VFPv3
1617 bool
1618 depends on VFP
1619 default y if CPU_V7
1620
b5872db4
CM
1621config NEON
1622 bool "Advanced SIMD (NEON) Extension support"
1623 depends on VFPv3 && CPU_V7
1624 help
1625 Say Y to include support code for NEON, the ARMv7 Advanced SIMD
1626 Extension.
1627
1da177e4
LT
1628endmenu
1629
1630menu "Userspace binary formats"
1631
1632source "fs/Kconfig.binfmt"
1633
1634config ARTHUR
1635 tristate "RISC OS personality"
704bdda0 1636 depends on !AEABI
1da177e4
LT
1637 help
1638 Say Y here to include the kernel code necessary if you want to run
1639 Acorn RISC OS/Arthur binaries under Linux. This code is still very
1640 experimental; if this sounds frightening, say N and sleep in peace.
1641 You can also say M here to compile this support as a module (which
1642 will be called arthur).
1643
1644endmenu
1645
1646menu "Power management options"
1647
eceab4ac 1648source "kernel/power/Kconfig"
1da177e4 1649
f4cb5700
JB
1650config ARCH_SUSPEND_POSSIBLE
1651 def_bool y
1652
1da177e4
LT
1653endmenu
1654
d5950b43
SR
1655source "net/Kconfig"
1656
ac25150f 1657source "drivers/Kconfig"
1da177e4
LT
1658
1659source "fs/Kconfig"
1660
1da177e4
LT
1661source "arch/arm/Kconfig.debug"
1662
1663source "security/Kconfig"
1664
1665source "crypto/Kconfig"
1666
1667source "lib/Kconfig"