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