Merge tag 'nfs-for-3.10-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[GitHub/mt8127/android_kernel_alcatel_ttab.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
4febd95a 12 select VIRT_TO_BUS
47a5d9dc 13 select GENERIC_IRQ_SHOW
9f13a1fd 14 select GENERIC_CPU_DEVICES
d38efc1f
MF
15 select MODULES_USE_ELF_RELA
16 select GENERIC_PCI_IOMAP
e969161b 17 select ARCH_WANT_IPC_PARSE_VERSION
6ed65f37 18 select ARCH_WANT_OPTIONAL_GPIOLIB
3e41f9ba 19 select CLONE_BACKWARDS
2206d5dd 20 select IRQ_DOMAIN
e6ffe17e 21 select HAVE_OPROFILE
8e1a6dd2
CZ
22 help
23 Xtensa processors are 32-bit RISC machines designed by Tensilica
24 primarily for embedded systems. These processors are both
25 configurable and extensible. The Linux port to the Xtensa
26 architecture supports all processor configurations and extensions,
27 with reasonable minimum requirements. The Xtensa Linux project has
0ada4490 28 a home page at <http://www.linux-xtensa.org/>.
8e1a6dd2 29
8e1a6dd2 30config RWSEM_XCHGADD_ALGORITHM
35f9cd08 31 def_bool y
8e1a6dd2 32
d4337aa5 33config GENERIC_HWEIGHT
35f9cd08 34 def_bool y
d4337aa5 35
f0d1b0b3 36config ARCH_HAS_ILOG2_U32
35f9cd08 37 def_bool n
f0d1b0b3
DH
38
39config ARCH_HAS_ILOG2_U64
35f9cd08 40 def_bool n
f0d1b0b3 41
5ea81769 42config NO_IOPORT
d046f77e 43 def_bool n
5ea81769 44
bdc80787
PA
45config HZ
46 int
47 default 100
48
8e1a6dd2 49source "init/Kconfig"
dc52ddc0 50source "kernel/Kconfig.freezer"
8e1a6dd2 51
35f9cd08
JW
52config MMU
53 def_bool n
54
4c0d2141
JW
55config VARIANT_IRQ_SWITCH
56 def_bool n
57
8e1a6dd2
CZ
58menu "Processor type and features"
59
60choice
61 prompt "Xtensa Processor Configuration"
173d6681 62 default XTENSA_VARIANT_FSF
8e1a6dd2 63
173d6681 64config XTENSA_VARIANT_FSF
0025427e 65 bool "fsf - default (not generic) configuration"
35f9cd08 66 select MMU
0025427e
CZ
67
68config XTENSA_VARIANT_DC232B
69 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
35f9cd08 70 select MMU
0025427e 71 help
35f9cd08 72 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
000af2c5 73
d0b73b48
PD
74config XTENSA_VARIANT_DC233C
75 bool "dc233c - Diamond 233L Standard Core Rev.C (LE)"
76 select MMU
77 help
78 This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
79
000af2c5
JW
80config XTENSA_VARIANT_S6000
81 bool "s6000 - Stretch software configurable processor"
82 select VARIANT_IRQ_SWITCH
83 select ARCH_REQUIRE_GPIOLIB
b070a03f 84 select XTENSA_CALIBRATE_CCOUNT
8e1a6dd2
CZ
85endchoice
86
8e1a6dd2
CZ
87config XTENSA_UNALIGNED_USER
88 bool "Unaligned memory access in use space"
35f9cd08
JW
89 help
90 The Xtensa architecture currently does not handle unaligned
91 memory accesses in hardware but through an exception handler.
92 Per default, unaligned memory accesses are disabled in user space.
8e1a6dd2 93
35f9cd08 94 Say Y here to enable unaligned memory access in user space.
8e1a6dd2 95
bd96efe1 96source "kernel/Kconfig.preempt"
8e1a6dd2
CZ
97
98config MATH_EMULATION
99 bool "Math emulation"
100 help
101 Can we use information of configuration file?
102
8e1a6dd2
CZ
103endmenu
104
35f9cd08
JW
105config XTENSA_CALIBRATE_CCOUNT
106 def_bool n
107 help
108 On some platforms (XT2000, for example), the CPU clock rate can
109 vary. The frequency can be determined, however, by measuring
110 against a well known, fixed frequency, such as an UART oscillator.
111
112config SERIAL_CONSOLE
113 def_bool n
114
115config XTENSA_ISS_NETWORK
116 def_bool n
117
118menu "Bus options"
119
120config PCI
121 bool "PCI support"
122 default y
123 help
124 Find out whether you have a PCI motherboard. PCI is the name of a
125 bus system, i.e. the way the CPU talks to the other stuff inside
126 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
127 VESA. If you have PCI, say Y, otherwise N.
128
129source "drivers/pci/Kconfig"
130
35e71f90
CZ
131endmenu
132
8e1a6dd2
CZ
133menu "Platform options"
134
135choice
136 prompt "Xtensa System Type"
137 default XTENSA_PLATFORM_ISS
138
139config XTENSA_PLATFORM_ISS
140 bool "ISS"
4f73bc4d 141 depends on TTY
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
b6c7e873
VP
206config BLK_DEV_SIMDISK
207 tristate "Host file-based simulated block device support"
208 default n
209 depends on XTENSA_PLATFORM_ISS
210 help
211 Create block devices that map to files in the host file system.
212 Device binding to host file may be changed at runtime via proc
213 interface provided the device is not in use.
214
215config BLK_DEV_SIMDISK_COUNT
216 int "Number of host file-based simulated block devices"
217 range 1 10
218 depends on BLK_DEV_SIMDISK
219 default 2
220 help
221 This is the default minimal number of created block devices.
222 Kernel/module parameter 'simdisk_count' may be used to change this
223 value at runtime. More file names (but no more than 10) may be
224 specified as parameters, simdisk_count grows accordingly.
225
226config SIMDISK0_FILENAME
227 string "Host filename for the first simulated device"
228 depends on BLK_DEV_SIMDISK = y
229 default ""
230 help
231 Attach a first simdisk to a host file. Conventionally, this file
232 contains a root file system.
233
234config SIMDISK1_FILENAME
235 string "Host filename for the second simulated device"
236 depends on BLK_DEV_SIMDISK = y && BLK_DEV_SIMDISK_COUNT != 1
237 default ""
238 help
239 Another simulated disk in a host file for a buildroot-independent
240 storage.
241
82300bf4
CZ
242source "mm/Kconfig"
243
8e1a6dd2
CZ
244source "drivers/pcmcia/Kconfig"
245
246source "drivers/pci/hotplug/Kconfig"
247
248endmenu
249
cab00891 250menu "Executable file formats"
8e1a6dd2
CZ
251
252# only elf supported
253config KCORE_ELF
35f9cd08 254 def_bool y
8e1a6dd2 255 depends on PROC_FS
8e1a6dd2
CZ
256 help
257 If you enabled support for /proc file system then the file
258 /proc/kcore will contain the kernel core image in ELF format. This
259 can be used in gdb:
260
261 $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
262
263 This is especially useful if you have compiled the kernel with the
264 "-g" option to preserve debugging information. It is mainly used
265 for examining kernel data structures on the live kernel.
266
267source "fs/Kconfig.binfmt"
268
269endmenu
270
d5950b43
SR
271source "net/Kconfig"
272
8e1a6dd2
CZ
273source "drivers/Kconfig"
274
275source "fs/Kconfig"
276
8e1a6dd2
CZ
277source "arch/xtensa/Kconfig.debug"
278
279source "security/Kconfig"
280
281source "crypto/Kconfig"
282
283source "lib/Kconfig"
284
285