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