Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/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         select GENERIC_PCI_IOMAP
16         select ARCH_WANT_IPC_PARSE_VERSION
17         select ARCH_WANT_OPTIONAL_GPIOLIB
18         select CLONE_BACKWARDS
19         select IRQ_DOMAIN
20         select HAVE_OPROFILE
21         help
22           Xtensa processors are 32-bit RISC machines designed by Tensilica
23           primarily for embedded systems.  These processors are both
24           configurable and extensible.  The Linux port to the Xtensa
25           architecture supports all processor configurations and extensions,
26           with reasonable minimum requirements.  The Xtensa Linux project has
27           a home page at <http://www.linux-xtensa.org/>.
28
29 config RWSEM_XCHGADD_ALGORITHM
30         def_bool y
31
32 config GENERIC_HWEIGHT
33         def_bool y
34
35 config GENERIC_GPIO
36         bool
37
38 config ARCH_HAS_ILOG2_U32
39         def_bool n
40
41 config ARCH_HAS_ILOG2_U64
42         def_bool n
43
44 config NO_IOPORT
45         def_bool n
46
47 config HZ
48         int
49         default 100
50
51 source "init/Kconfig"
52 source "kernel/Kconfig.freezer"
53
54 config MMU
55         def_bool n
56
57 config VARIANT_IRQ_SWITCH
58         def_bool n
59
60 menu "Processor type and features"
61
62 choice
63         prompt "Xtensa Processor Configuration"
64         default XTENSA_VARIANT_FSF
65
66 config XTENSA_VARIANT_FSF
67         bool "fsf - default (not generic) configuration"
68         select MMU
69
70 config XTENSA_VARIANT_DC232B
71         bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
72         select MMU
73         help
74           This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
75
76 config XTENSA_VARIANT_DC233C
77         bool "dc233c - Diamond 233L Standard Core Rev.C (LE)"
78         select MMU
79         help
80           This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
81
82 config XTENSA_VARIANT_S6000
83         bool "s6000 - Stretch software configurable processor"
84         select VARIANT_IRQ_SWITCH
85         select ARCH_REQUIRE_GPIOLIB
86         select XTENSA_CALIBRATE_CCOUNT
87 endchoice
88
89 config XTENSA_UNALIGNED_USER
90         bool "Unaligned memory access in use space"
91         help
92           The Xtensa architecture currently does not handle unaligned
93           memory accesses in hardware but through an exception handler.
94           Per default, unaligned memory accesses are disabled in user space.
95
96           Say Y here to enable unaligned memory access in user space.
97
98 source "kernel/Kconfig.preempt"
99
100 config MATH_EMULATION
101         bool "Math emulation"
102         help
103         Can we use information of configuration file?
104
105 endmenu
106
107 config XTENSA_CALIBRATE_CCOUNT
108         def_bool n
109         help
110           On some platforms (XT2000, for example), the CPU clock rate can
111           vary.  The frequency can be determined, however, by measuring
112           against a well known, fixed frequency, such as an UART oscillator.
113
114 config SERIAL_CONSOLE
115         def_bool n
116
117 config XTENSA_ISS_NETWORK
118         def_bool n
119
120 menu "Bus options"
121
122 config PCI
123         bool "PCI support"
124         default y
125         help
126           Find out whether you have a PCI motherboard. PCI is the name of a
127           bus system, i.e. the way the CPU talks to the other stuff inside
128           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
129           VESA. If you have PCI, say Y, otherwise N.
130
131 source "drivers/pci/Kconfig"
132
133 endmenu
134
135 menu "Platform options"
136
137 choice
138         prompt "Xtensa System Type"
139         default XTENSA_PLATFORM_ISS
140
141 config XTENSA_PLATFORM_ISS
142         bool "ISS"
143         depends on TTY
144         select XTENSA_CALIBRATE_CCOUNT
145         select SERIAL_CONSOLE
146         select XTENSA_ISS_NETWORK
147         help
148           ISS is an acronym for Tensilica's Instruction Set Simulator.
149
150 config XTENSA_PLATFORM_XT2000
151         bool "XT2000"
152         help
153           XT2000 is the name of Tensilica's feature-rich emulation platform.
154           This hardware is capable of running a full Linux distribution.
155
156 config XTENSA_PLATFORM_S6105
157         bool "S6105"
158         select SERIAL_CONSOLE
159         select NO_IOPORT
160
161 config XTENSA_PLATFORM_XTFPGA
162         bool "XTFPGA"
163         select SERIAL_CONSOLE
164         select ETHOC
165         select XTENSA_CALIBRATE_CCOUNT
166         help
167           XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
168           This hardware is capable of running a full Linux distribution.
169
170 endchoice
171
172
173 config XTENSA_CPU_CLOCK
174         int "CPU clock rate [MHz]"
175         depends on !XTENSA_CALIBRATE_CCOUNT
176         default 16
177
178 config GENERIC_CALIBRATE_DELAY
179         bool "Auto calibration of the BogoMIPS value"
180         help
181           The BogoMIPS value can easily be derived from the CPU frequency.
182
183 config CMDLINE_BOOL
184         bool "Default bootloader kernel arguments"
185
186 config CMDLINE
187         string "Initial kernel command string"
188         depends on CMDLINE_BOOL
189         default "console=ttyS0,38400 root=/dev/ram"
190         help
191           On some architectures (EBSA110 and CATS), there is currently no way
192           for the boot loader to pass arguments to the kernel. For these
193           architectures, you should supply some command-line options at build
194           time by entering them here. As a minimum, you should specify the
195           memory size and the root device (e.g., mem=64M root=/dev/nfs).
196
197 config USE_OF
198         bool "Flattened Device Tree support"
199         select OF
200         select OF_EARLY_FLATTREE
201         help
202           Include support for flattened device tree machine descriptions.
203
204 config BUILTIN_DTB
205         string "DTB to build into the kernel image"
206         depends on OF
207
208 config BLK_DEV_SIMDISK
209         tristate "Host file-based simulated block device support"
210         default n
211         depends on XTENSA_PLATFORM_ISS
212         help
213           Create block devices that map to files in the host file system.
214           Device binding to host file may be changed at runtime via proc
215           interface provided the device is not in use.
216
217 config BLK_DEV_SIMDISK_COUNT
218         int "Number of host file-based simulated block devices"
219         range 1 10
220         depends on BLK_DEV_SIMDISK
221         default 2
222         help
223           This is the default minimal number of created block devices.
224           Kernel/module parameter 'simdisk_count' may be used to change this
225           value at runtime. More file names (but no more than 10) may be
226           specified as parameters, simdisk_count grows accordingly.
227
228 config SIMDISK0_FILENAME
229         string "Host filename for the first simulated device"
230         depends on BLK_DEV_SIMDISK = y
231         default ""
232         help
233           Attach a first simdisk to a host file. Conventionally, this file
234           contains a root file system.
235
236 config SIMDISK1_FILENAME
237         string "Host filename for the second simulated device"
238         depends on BLK_DEV_SIMDISK = y && BLK_DEV_SIMDISK_COUNT != 1
239         default ""
240         help
241           Another simulated disk in a host file for a buildroot-independent
242           storage.
243
244 source "mm/Kconfig"
245
246 source "drivers/pcmcia/Kconfig"
247
248 source "drivers/pci/hotplug/Kconfig"
249
250 endmenu
251
252 menu "Executable file formats"
253
254 # only elf supported
255 config KCORE_ELF
256         def_bool y
257         depends on PROC_FS
258         help
259           If you enabled support for /proc file system then the file
260           /proc/kcore will contain the kernel core image in ELF format. This
261           can be used in gdb:
262
263           $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
264
265           This is especially useful if you have compiled the kernel with the
266           "-g" option to preserve debugging information. It is mainly used
267           for examining kernel data structures on the live kernel.
268
269 source "fs/Kconfig.binfmt"
270
271 endmenu
272
273 source "net/Kconfig"
274
275 source "drivers/Kconfig"
276
277 source "fs/Kconfig"
278
279 source "arch/xtensa/Kconfig.debug"
280
281 source "security/Kconfig"
282
283 source "crypto/Kconfig"
284
285 source "lib/Kconfig"
286
287