Make most arch asm/module.h files use asm-generic/module.h
[deliverable/linux.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 GENERIC_ATOMIC64
11 select HAVE_GENERIC_HARDIRQS
12 select GENERIC_IRQ_SHOW
13 select GENERIC_CPU_DEVICES
14 select MODULES_USE_ELF_RELA
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
23 config RWSEM_XCHGADD_ALGORITHM
24 def_bool y
25
26 config GENERIC_HWEIGHT
27 def_bool y
28
29 config GENERIC_GPIO
30 def_bool y
31
32 config ARCH_HAS_ILOG2_U32
33 def_bool n
34
35 config ARCH_HAS_ILOG2_U64
36 def_bool n
37
38 config NO_IOPORT
39 def_bool y
40
41 config HZ
42 int
43 default 100
44
45 source "init/Kconfig"
46 source "kernel/Kconfig.freezer"
47
48 config MMU
49 def_bool n
50
51 config VARIANT_IRQ_SWITCH
52 def_bool n
53
54 menu "Processor type and features"
55
56 choice
57 prompt "Xtensa Processor Configuration"
58 default XTENSA_VARIANT_FSF
59
60 config XTENSA_VARIANT_FSF
61 bool "fsf - default (not generic) configuration"
62 select MMU
63
64 config XTENSA_VARIANT_DC232B
65 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
66 select MMU
67 help
68 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
69
70 config XTENSA_VARIANT_S6000
71 bool "s6000 - Stretch software configurable processor"
72 select VARIANT_IRQ_SWITCH
73 select ARCH_REQUIRE_GPIOLIB
74 select XTENSA_CALIBRATE_CCOUNT
75 endchoice
76
77 config XTENSA_UNALIGNED_USER
78 bool "Unaligned memory access in use space"
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.
83
84 Say Y here to enable unaligned memory access in user space.
85
86 source "kernel/Kconfig.preempt"
87
88 config MATH_EMULATION
89 bool "Math emulation"
90 help
91 Can we use information of configuration file?
92
93 endmenu
94
95 config 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
102 config SERIAL_CONSOLE
103 def_bool n
104
105 config XTENSA_ISS_NETWORK
106 def_bool n
107
108 menu "Bus options"
109
110 config 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
119 source "drivers/pci/Kconfig"
120
121 endmenu
122
123 menu "Platform options"
124
125 choice
126 prompt "Xtensa System Type"
127 default XTENSA_PLATFORM_ISS
128
129 config XTENSA_PLATFORM_ISS
130 bool "ISS"
131 select XTENSA_CALIBRATE_CCOUNT
132 select SERIAL_CONSOLE
133 select XTENSA_ISS_NETWORK
134 help
135 ISS is an acronym for Tensilica's Instruction Set Simulator.
136
137 config 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
143 config XTENSA_PLATFORM_S6105
144 bool "S6105"
145 select SERIAL_CONSOLE
146
147 endchoice
148
149
150 config XTENSA_CPU_CLOCK
151 int "CPU clock rate [MHz]"
152 depends on !XTENSA_CALIBRATE_CCOUNT
153 default 16
154
155 config GENERIC_CALIBRATE_DELAY
156 bool "Auto calibration of the BogoMIPS value"
157 help
158 The BogoMIPS value can easily be derived from the CPU frequency.
159
160 config CMDLINE_BOOL
161 bool "Default bootloader kernel arguments"
162
163 config 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
174 source "mm/Kconfig"
175
176 config HOTPLUG
177 bool "Support for hot-pluggable devices"
178 help
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.
182
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.
187
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.
193
194 source "drivers/pcmcia/Kconfig"
195
196 source "drivers/pci/hotplug/Kconfig"
197
198 endmenu
199
200 menu "Executable file formats"
201
202 # only elf supported
203 config KCORE_ELF
204 def_bool y
205 depends on PROC_FS
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
217 source "fs/Kconfig.binfmt"
218
219 endmenu
220
221 source "net/Kconfig"
222
223 source "drivers/Kconfig"
224
225 source "fs/Kconfig"
226
227 menu "Xtensa initrd options"
228 depends on BLK_DEV_INITRD
229
230 config EMBEDDED_RAMDISK
231 bool "Embed root filesystem ramdisk into the kernel"
232
233 config EMBEDDED_RAMDISK_IMAGE
234 string "Filename of gzipped ramdisk image"
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.
242 endmenu
243
244 source "arch/xtensa/Kconfig.debug"
245
246 source "security/Kconfig"
247
248 source "crypto/Kconfig"
249
250 source "lib/Kconfig"
251
252
This page took 0.034165 seconds and 5 git commands to generate.