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