xtensa: fix str[n]cmp return value
[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
d38efc1f
MF
14 select MODULES_USE_ELF_RELA
15 select GENERIC_PCI_IOMAP
e969161b 16 select ARCH_WANT_IPC_PARSE_VERSION
6ed65f37 17 select ARCH_WANT_OPTIONAL_GPIOLIB
3e41f9ba 18 select CLONE_BACKWARDS
2206d5dd 19 select IRQ_DOMAIN
8e1a6dd2
CZ
20 help
21 Xtensa processors are 32-bit RISC machines designed by Tensilica
22 primarily for embedded systems. These processors are both
23 configurable and extensible. The Linux port to the Xtensa
24 architecture supports all processor configurations and extensions,
25 with reasonable minimum requirements. The Xtensa Linux project has
26 a home page at <http://xtensa.sourceforge.net/>.
27
8e1a6dd2 28config RWSEM_XCHGADD_ALGORITHM
35f9cd08 29 def_bool y
8e1a6dd2 30
d4337aa5 31config GENERIC_HWEIGHT
35f9cd08 32 def_bool y
d4337aa5 33
000af2c5
JW
34config GENERIC_GPIO
35 def_bool y
36
f0d1b0b3 37config ARCH_HAS_ILOG2_U32
35f9cd08 38 def_bool n
f0d1b0b3
DH
39
40config ARCH_HAS_ILOG2_U64
35f9cd08 41 def_bool n
f0d1b0b3 42
5ea81769 43config NO_IOPORT
d046f77e 44 def_bool n
5ea81769 45
bdc80787
PA
46config HZ
47 int
48 default 100
49
8e1a6dd2 50source "init/Kconfig"
dc52ddc0 51source "kernel/Kconfig.freezer"
8e1a6dd2 52
35f9cd08
JW
53config MMU
54 def_bool n
55
4c0d2141
JW
56config VARIANT_IRQ_SWITCH
57 def_bool n
58
8e1a6dd2
CZ
59menu "Processor type and features"
60
61choice
62 prompt "Xtensa Processor Configuration"
173d6681 63 default XTENSA_VARIANT_FSF
8e1a6dd2 64
173d6681 65config XTENSA_VARIANT_FSF
0025427e 66 bool "fsf - default (not generic) configuration"
35f9cd08 67 select MMU
0025427e
CZ
68
69config XTENSA_VARIANT_DC232B
70 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
35f9cd08 71 select MMU
0025427e 72 help
35f9cd08 73 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
000af2c5 74
d0b73b48
PD
75config XTENSA_VARIANT_DC233C
76 bool "dc233c - Diamond 233L Standard Core Rev.C (LE)"
77 select MMU
78 help
79 This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
80
000af2c5
JW
81config XTENSA_VARIANT_S6000
82 bool "s6000 - Stretch software configurable processor"
83 select VARIANT_IRQ_SWITCH
84 select ARCH_REQUIRE_GPIOLIB
b070a03f 85 select XTENSA_CALIBRATE_CCOUNT
8e1a6dd2
CZ
86endchoice
87
8e1a6dd2
CZ
88config XTENSA_UNALIGNED_USER
89 bool "Unaligned memory access in use space"
35f9cd08
JW
90 help
91 The Xtensa architecture currently does not handle unaligned
92 memory accesses in hardware but through an exception handler.
93 Per default, unaligned memory accesses are disabled in user space.
8e1a6dd2 94
35f9cd08 95 Say Y here to enable unaligned memory access in user space.
8e1a6dd2 96
bd96efe1 97source "kernel/Kconfig.preempt"
8e1a6dd2
CZ
98
99config MATH_EMULATION
100 bool "Math emulation"
101 help
102 Can we use information of configuration file?
103
8e1a6dd2
CZ
104endmenu
105
35f9cd08
JW
106config XTENSA_CALIBRATE_CCOUNT
107 def_bool n
108 help
109 On some platforms (XT2000, for example), the CPU clock rate can
110 vary. The frequency can be determined, however, by measuring
111 against a well known, fixed frequency, such as an UART oscillator.
112
113config SERIAL_CONSOLE
114 def_bool n
115
116config XTENSA_ISS_NETWORK
117 def_bool n
118
119menu "Bus options"
120
121config PCI
122 bool "PCI support"
123 default y
124 help
125 Find out whether you have a PCI motherboard. PCI is the name of a
126 bus system, i.e. the way the CPU talks to the other stuff inside
127 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
128 VESA. If you have PCI, say Y, otherwise N.
129
130source "drivers/pci/Kconfig"
131
35e71f90
CZ
132endmenu
133
8e1a6dd2
CZ
134menu "Platform options"
135
136choice
137 prompt "Xtensa System Type"
138 default XTENSA_PLATFORM_ISS
139
140config XTENSA_PLATFORM_ISS
141 bool "ISS"
35f9cd08
JW
142 select XTENSA_CALIBRATE_CCOUNT
143 select SERIAL_CONSOLE
144 select XTENSA_ISS_NETWORK
8e1a6dd2
CZ
145 help
146 ISS is an acronym for Tensilica's Instruction Set Simulator.
147
148config XTENSA_PLATFORM_XT2000
149 bool "XT2000"
150 help
151 XT2000 is the name of Tensilica's feature-rich emulation platform.
152 This hardware is capable of running a full Linux distribution.
153
f82e939f
JW
154config XTENSA_PLATFORM_S6105
155 bool "S6105"
156 select SERIAL_CONSOLE
d046f77e 157 select NO_IOPORT
f82e939f 158
0d456bad
MF
159config XTENSA_PLATFORM_XTFPGA
160 bool "XTFPGA"
161 select SERIAL_CONSOLE
162 select ETHOC
163 select XTENSA_CALIBRATE_CCOUNT
164 help
165 XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
166 This hardware is capable of running a full Linux distribution.
167
8e1a6dd2
CZ
168endchoice
169
170
8e1a6dd2
CZ
171config XTENSA_CPU_CLOCK
172 int "CPU clock rate [MHz]"
173 depends on !XTENSA_CALIBRATE_CCOUNT
35f9cd08 174 default 16
8e1a6dd2
CZ
175
176config GENERIC_CALIBRATE_DELAY
177 bool "Auto calibration of the BogoMIPS value"
35f9cd08 178 help
82300bf4 179 The BogoMIPS value can easily be derived from the CPU frequency.
8e1a6dd2
CZ
180
181config CMDLINE_BOOL
182 bool "Default bootloader kernel arguments"
183
184config CMDLINE
185 string "Initial kernel command string"
186 depends on CMDLINE_BOOL
187 default "console=ttyS0,38400 root=/dev/ram"
188 help
189 On some architectures (EBSA110 and CATS), there is currently no way
190 for the boot loader to pass arguments to the kernel. For these
191 architectures, you should supply some command-line options at build
192 time by entering them here. As a minimum, you should specify the
193 memory size and the root device (e.g., mem=64M root=/dev/nfs).
194
da844a81
MF
195config USE_OF
196 bool "Flattened Device Tree support"
197 select OF
198 select OF_EARLY_FLATTREE
199 help
200 Include support for flattened device tree machine descriptions.
201
202config BUILTIN_DTB
203 string "DTB to build into the kernel image"
204 depends on OF
205
82300bf4
CZ
206source "mm/Kconfig"
207
8e1a6dd2
CZ
208source "drivers/pcmcia/Kconfig"
209
210source "drivers/pci/hotplug/Kconfig"
211
212endmenu
213
cab00891 214menu "Executable file formats"
8e1a6dd2
CZ
215
216# only elf supported
217config KCORE_ELF
35f9cd08 218 def_bool y
8e1a6dd2 219 depends on PROC_FS
8e1a6dd2
CZ
220 help
221 If you enabled support for /proc file system then the file
222 /proc/kcore will contain the kernel core image in ELF format. This
223 can be used in gdb:
224
225 $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
226
227 This is especially useful if you have compiled the kernel with the
228 "-g" option to preserve debugging information. It is mainly used
229 for examining kernel data structures on the live kernel.
230
231source "fs/Kconfig.binfmt"
232
233endmenu
234
d5950b43
SR
235source "net/Kconfig"
236
8e1a6dd2
CZ
237source "drivers/Kconfig"
238
239source "fs/Kconfig"
240
8e1a6dd2
CZ
241source "arch/xtensa/Kconfig.debug"
242
243source "security/Kconfig"
244
245source "crypto/Kconfig"
246
247source "lib/Kconfig"
248
249
This page took 0.54033 seconds and 5 git commands to generate.