Merge git://www.linux-watchdog.org/linux-watchdog
[GitHub/mt8127/android_kernel_alcatel_ttab.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 VIRT_TO_BUS
13 select GENERIC_IRQ_SHOW
14 select GENERIC_CPU_DEVICES
15 select MODULES_USE_ELF_RELA
16 select GENERIC_PCI_IOMAP
17 select ARCH_WANT_IPC_PARSE_VERSION
18 select ARCH_WANT_OPTIONAL_GPIOLIB
19 select CLONE_BACKWARDS
20 select IRQ_DOMAIN
21 select HAVE_OPROFILE
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
28 a home page at <http://www.linux-xtensa.org/>.
29
30 config RWSEM_XCHGADD_ALGORITHM
31 def_bool y
32
33 config GENERIC_HWEIGHT
34 def_bool y
35
36 config ARCH_HAS_ILOG2_U32
37 def_bool n
38
39 config ARCH_HAS_ILOG2_U64
40 def_bool n
41
42 config NO_IOPORT
43 def_bool n
44
45 config HZ
46 int
47 default 100
48
49 source "init/Kconfig"
50 source "kernel/Kconfig.freezer"
51
52 config MMU
53 def_bool n
54
55 config VARIANT_IRQ_SWITCH
56 def_bool n
57
58 menu "Processor type and features"
59
60 choice
61 prompt "Xtensa Processor Configuration"
62 default XTENSA_VARIANT_FSF
63
64 config XTENSA_VARIANT_FSF
65 bool "fsf - default (not generic) configuration"
66 select MMU
67
68 config XTENSA_VARIANT_DC232B
69 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
70 select MMU
71 help
72 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
73
74 config 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
80 config XTENSA_VARIANT_S6000
81 bool "s6000 - Stretch software configurable processor"
82 select VARIANT_IRQ_SWITCH
83 select ARCH_REQUIRE_GPIOLIB
84 select XTENSA_CALIBRATE_CCOUNT
85 endchoice
86
87 config XTENSA_UNALIGNED_USER
88 bool "Unaligned memory access in use space"
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.
93
94 Say Y here to enable unaligned memory access in user space.
95
96 source "kernel/Kconfig.preempt"
97
98 config MATH_EMULATION
99 bool "Math emulation"
100 help
101 Can we use information of configuration file?
102
103 endmenu
104
105 config 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
112 config SERIAL_CONSOLE
113 def_bool n
114
115 config XTENSA_ISS_NETWORK
116 def_bool n
117
118 menu "Bus options"
119
120 config 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
129 source "drivers/pci/Kconfig"
130
131 endmenu
132
133 menu "Platform options"
134
135 choice
136 prompt "Xtensa System Type"
137 default XTENSA_PLATFORM_ISS
138
139 config XTENSA_PLATFORM_ISS
140 bool "ISS"
141 depends on TTY
142 select XTENSA_CALIBRATE_CCOUNT
143 select SERIAL_CONSOLE
144 select XTENSA_ISS_NETWORK
145 help
146 ISS is an acronym for Tensilica's Instruction Set Simulator.
147
148 config 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
154 config XTENSA_PLATFORM_S6105
155 bool "S6105"
156 select SERIAL_CONSOLE
157 select NO_IOPORT
158
159 config 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
168 endchoice
169
170
171 config XTENSA_CPU_CLOCK
172 int "CPU clock rate [MHz]"
173 depends on !XTENSA_CALIBRATE_CCOUNT
174 default 16
175
176 config GENERIC_CALIBRATE_DELAY
177 bool "Auto calibration of the BogoMIPS value"
178 help
179 The BogoMIPS value can easily be derived from the CPU frequency.
180
181 config CMDLINE_BOOL
182 bool "Default bootloader kernel arguments"
183
184 config 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
195 config 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
202 config BUILTIN_DTB
203 string "DTB to build into the kernel image"
204 depends on OF
205
206 config 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
215 config 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
226 config 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
234 config 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
242 source "mm/Kconfig"
243
244 source "drivers/pcmcia/Kconfig"
245
246 source "drivers/pci/hotplug/Kconfig"
247
248 endmenu
249
250 menu "Executable file formats"
251
252 # only elf supported
253 config KCORE_ELF
254 def_bool y
255 depends on PROC_FS
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
267 source "fs/Kconfig.binfmt"
268
269 endmenu
270
271 source "net/Kconfig"
272
273 source "drivers/Kconfig"
274
275 source "fs/Kconfig"
276
277 source "arch/xtensa/Kconfig.debug"
278
279 source "security/Kconfig"
280
281 source "crypto/Kconfig"
282
283 source "lib/Kconfig"
284
285