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