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