Merge branch 'btrfs-3.0' of git://github.com/chrismason/linux
[pandora-kernel.git] / arch / xtensa / Kconfig
1 config FRAME_POINTER
2         def_bool n
3
4 config ZONE_DMA
5         def_bool y
6
7 config XTENSA
8         def_bool y
9         select HAVE_IDE
10         select HAVE_GENERIC_HARDIRQS
11         select GENERIC_IRQ_SHOW
12         help
13           Xtensa processors are 32-bit RISC machines designed by Tensilica
14           primarily for embedded systems.  These processors are both
15           configurable and extensible.  The Linux port to the Xtensa
16           architecture supports all processor configurations and extensions,
17           with reasonable minimum requirements.  The Xtensa Linux project has
18           a home page at <http://xtensa.sourceforge.net/>.
19
20 config RWSEM_XCHGADD_ALGORITHM
21         def_bool y
22
23 config GENERIC_HWEIGHT
24         def_bool y
25
26 config GENERIC_GPIO
27         def_bool y
28
29 config ARCH_HAS_ILOG2_U32
30         def_bool n
31
32 config ARCH_HAS_ILOG2_U64
33         def_bool n
34
35 config NO_IOPORT
36         def_bool y
37
38 config HZ
39         int
40         default 100
41
42 source "init/Kconfig"
43 source "kernel/Kconfig.freezer"
44
45 config MMU
46         def_bool n
47
48 config VARIANT_IRQ_SWITCH
49         def_bool n
50
51 menu "Processor type and features"
52
53 choice
54         prompt "Xtensa Processor Configuration"
55         default XTENSA_VARIANT_FSF
56
57 config XTENSA_VARIANT_FSF
58         bool "fsf - default (not generic) configuration"
59         select MMU
60
61 config XTENSA_VARIANT_DC232B
62         bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
63         select MMU
64         help
65           This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
66
67 config XTENSA_VARIANT_S6000
68         bool "s6000 - Stretch software configurable processor"
69         select VARIANT_IRQ_SWITCH
70         select ARCH_REQUIRE_GPIOLIB
71         select XTENSA_CALIBRATE_CCOUNT
72 endchoice
73
74 config XTENSA_UNALIGNED_USER
75         bool "Unaligned memory access in use space"
76         help
77           The Xtensa architecture currently does not handle unaligned
78           memory accesses in hardware but through an exception handler.
79           Per default, unaligned memory accesses are disabled in user space.
80
81           Say Y here to enable unaligned memory access in user space.
82
83 source "kernel/Kconfig.preempt"
84
85 config MATH_EMULATION
86         bool "Math emulation"
87         help
88         Can we use information of configuration file?
89
90 endmenu
91
92 config XTENSA_CALIBRATE_CCOUNT
93         def_bool n
94         help
95           On some platforms (XT2000, for example), the CPU clock rate can
96           vary.  The frequency can be determined, however, by measuring
97           against a well known, fixed frequency, such as an UART oscillator.
98
99 config SERIAL_CONSOLE
100         def_bool n
101
102 config XTENSA_ISS_NETWORK
103         def_bool n
104
105 menu "Bus options"
106
107 config PCI
108         bool "PCI support"
109         default y
110         help
111           Find out whether you have a PCI motherboard. PCI is the name of a
112           bus system, i.e. the way the CPU talks to the other stuff inside
113           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
114           VESA. If you have PCI, say Y, otherwise N.
115
116 source "drivers/pci/Kconfig"
117
118 endmenu
119
120 menu "Platform options"
121
122 choice
123         prompt "Xtensa System Type"
124         default XTENSA_PLATFORM_ISS
125
126 config XTENSA_PLATFORM_ISS
127         bool "ISS"
128         select XTENSA_CALIBRATE_CCOUNT
129         select SERIAL_CONSOLE
130         select XTENSA_ISS_NETWORK
131         help
132           ISS is an acronym for Tensilica's Instruction Set Simulator.
133
134 config XTENSA_PLATFORM_XT2000
135         bool "XT2000"
136         help
137           XT2000 is the name of Tensilica's feature-rich emulation platform.
138           This hardware is capable of running a full Linux distribution.
139
140 config XTENSA_PLATFORM_S6105
141         bool "S6105"
142         select SERIAL_CONSOLE
143
144 endchoice
145
146
147 config XTENSA_CPU_CLOCK
148         int "CPU clock rate [MHz]"
149         depends on !XTENSA_CALIBRATE_CCOUNT
150         default 16
151
152 config GENERIC_CALIBRATE_DELAY
153         bool "Auto calibration of the BogoMIPS value"
154         help
155           The BogoMIPS value can easily be derived from the CPU frequency.
156
157 config CMDLINE_BOOL
158         bool "Default bootloader kernel arguments"
159
160 config CMDLINE
161         string "Initial kernel command string"
162         depends on CMDLINE_BOOL
163         default "console=ttyS0,38400 root=/dev/ram"
164         help
165           On some architectures (EBSA110 and CATS), there is currently no way
166           for the boot loader to pass arguments to the kernel. For these
167           architectures, you should supply some command-line options at build
168           time by entering them here. As a minimum, you should specify the
169           memory size and the root device (e.g., mem=64M root=/dev/nfs).
170
171 source "mm/Kconfig"
172
173 config HOTPLUG
174         bool "Support for hot-pluggable devices"
175         help
176           Say Y here if you want to plug devices into your computer while
177           the system is running, and be able to use them quickly.  In many
178           cases, the devices can likewise be unplugged at any time too.
179
180           One well known example of this is PCMCIA- or PC-cards, credit-card
181           size devices such as network cards, modems or hard drives which are
182           plugged into slots found on all modern laptop computers.  Another
183           example, used on modern desktops as well as laptops, is USB.
184
185           Enable HOTPLUG and build a modular kernel.  Get agent software
186           (from <http://linux-hotplug.sourceforge.net/>) and install it.
187           Then your kernel will automatically call out to a user mode "policy
188           agent" (/sbin/hotplug) to load modules and set up software needed
189           to use devices as you hotplug them.
190
191 source "drivers/pcmcia/Kconfig"
192
193 source "drivers/pci/hotplug/Kconfig"
194
195 endmenu
196
197 menu "Executable file formats"
198
199 # only elf supported
200 config KCORE_ELF
201         def_bool y
202         depends on PROC_FS
203         help
204           If you enabled support for /proc file system then the file
205           /proc/kcore will contain the kernel core image in ELF format. This
206           can be used in gdb:
207
208           $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
209
210           This is especially useful if you have compiled the kernel with the
211           "-g" option to preserve debugging information. It is mainly used
212           for examining kernel data structures on the live kernel.
213
214 source "fs/Kconfig.binfmt"
215
216 endmenu
217
218 source "net/Kconfig"
219
220 source "drivers/Kconfig"
221
222 source "fs/Kconfig"
223
224 menu "Xtensa initrd options"
225         depends on BLK_DEV_INITRD
226
227 config EMBEDDED_RAMDISK
228         bool "Embed root filesystem ramdisk into the kernel"
229
230 config EMBEDDED_RAMDISK_IMAGE
231         string "Filename of gzipped ramdisk image"
232         depends on EMBEDDED_RAMDISK
233         default "ramdisk.gz"
234         help
235           This is the filename of the ramdisk image to be built into the
236           kernel.  Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
237           The ramdisk image is not part of the kernel distribution; you must
238           provide one yourself.
239 endmenu
240
241 source "arch/xtensa/Kconfig.debug"
242
243 source "security/Kconfig"
244
245 source "crypto/Kconfig"
246
247 source "lib/Kconfig"
248
249