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