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