5aab1acabf1cb4440c0b5656ecff733bc1df7b07
[linux-drm-fsl-dcu.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_OPTIONAL_GPIOLIB
17         select CLONE_BACKWARDS
18         select IRQ_DOMAIN
19         help
20           Xtensa processors are 32-bit RISC machines designed by Tensilica
21           primarily for embedded systems.  These processors are both
22           configurable and extensible.  The Linux port to the Xtensa
23           architecture supports all processor configurations and extensions,
24           with reasonable minimum requirements.  The Xtensa Linux project has
25           a home page at <http://xtensa.sourceforge.net/>.
26
27 config RWSEM_XCHGADD_ALGORITHM
28         def_bool y
29
30 config GENERIC_HWEIGHT
31         def_bool y
32
33 config GENERIC_GPIO
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_S6000
75         bool "s6000 - Stretch software configurable processor"
76         select VARIANT_IRQ_SWITCH
77         select ARCH_REQUIRE_GPIOLIB
78         select XTENSA_CALIBRATE_CCOUNT
79 endchoice
80
81 config XTENSA_UNALIGNED_USER
82         bool "Unaligned memory access in use space"
83         help
84           The Xtensa architecture currently does not handle unaligned
85           memory accesses in hardware but through an exception handler.
86           Per default, unaligned memory accesses are disabled in user space.
87
88           Say Y here to enable unaligned memory access in user space.
89
90 source "kernel/Kconfig.preempt"
91
92 config MATH_EMULATION
93         bool "Math emulation"
94         help
95         Can we use information of configuration file?
96
97 endmenu
98
99 config XTENSA_CALIBRATE_CCOUNT
100         def_bool n
101         help
102           On some platforms (XT2000, for example), the CPU clock rate can
103           vary.  The frequency can be determined, however, by measuring
104           against a well known, fixed frequency, such as an UART oscillator.
105
106 config SERIAL_CONSOLE
107         def_bool n
108
109 config XTENSA_ISS_NETWORK
110         def_bool n
111
112 menu "Bus options"
113
114 config PCI
115         bool "PCI support"
116         default y
117         help
118           Find out whether you have a PCI motherboard. PCI is the name of a
119           bus system, i.e. the way the CPU talks to the other stuff inside
120           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
121           VESA. If you have PCI, say Y, otherwise N.
122
123 source "drivers/pci/Kconfig"
124
125 endmenu
126
127 menu "Platform options"
128
129 choice
130         prompt "Xtensa System Type"
131         default XTENSA_PLATFORM_ISS
132
133 config XTENSA_PLATFORM_ISS
134         bool "ISS"
135         select XTENSA_CALIBRATE_CCOUNT
136         select SERIAL_CONSOLE
137         select XTENSA_ISS_NETWORK
138         help
139           ISS is an acronym for Tensilica's Instruction Set Simulator.
140
141 config XTENSA_PLATFORM_XT2000
142         bool "XT2000"
143         help
144           XT2000 is the name of Tensilica's feature-rich emulation platform.
145           This hardware is capable of running a full Linux distribution.
146
147 config XTENSA_PLATFORM_S6105
148         bool "S6105"
149         select SERIAL_CONSOLE
150         select NO_IOPORT
151
152 config XTENSA_PLATFORM_XTFPGA
153         bool "XTFPGA"
154         select SERIAL_CONSOLE
155         select ETHOC
156         select XTENSA_CALIBRATE_CCOUNT
157         help
158           XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
159           This hardware is capable of running a full Linux distribution.
160
161 endchoice
162
163
164 config XTENSA_CPU_CLOCK
165         int "CPU clock rate [MHz]"
166         depends on !XTENSA_CALIBRATE_CCOUNT
167         default 16
168
169 config GENERIC_CALIBRATE_DELAY
170         bool "Auto calibration of the BogoMIPS value"
171         help
172           The BogoMIPS value can easily be derived from the CPU frequency.
173
174 config CMDLINE_BOOL
175         bool "Default bootloader kernel arguments"
176
177 config CMDLINE
178         string "Initial kernel command string"
179         depends on CMDLINE_BOOL
180         default "console=ttyS0,38400 root=/dev/ram"
181         help
182           On some architectures (EBSA110 and CATS), there is currently no way
183           for the boot loader to pass arguments to the kernel. For these
184           architectures, you should supply some command-line options at build
185           time by entering them here. As a minimum, you should specify the
186           memory size and the root device (e.g., mem=64M root=/dev/nfs).
187
188 config USE_OF
189         bool "Flattened Device Tree support"
190         select OF
191         select OF_EARLY_FLATTREE
192         help
193           Include support for flattened device tree machine descriptions.
194
195 config BUILTIN_DTB
196         string "DTB to build into the kernel image"
197         depends on OF
198
199 source "mm/Kconfig"
200
201 source "drivers/pcmcia/Kconfig"
202
203 source "drivers/pci/hotplug/Kconfig"
204
205 endmenu
206
207 menu "Executable file formats"
208
209 # only elf supported
210 config KCORE_ELF
211         def_bool y
212         depends on PROC_FS
213         help
214           If you enabled support for /proc file system then the file
215           /proc/kcore will contain the kernel core image in ELF format. This
216           can be used in gdb:
217
218           $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
219
220           This is especially useful if you have compiled the kernel with the
221           "-g" option to preserve debugging information. It is mainly used
222           for examining kernel data structures on the live kernel.
223
224 source "fs/Kconfig.binfmt"
225
226 endmenu
227
228 source "net/Kconfig"
229
230 source "drivers/Kconfig"
231
232 source "fs/Kconfig"
233
234 source "arch/xtensa/Kconfig.debug"
235
236 source "security/Kconfig"
237
238 source "crypto/Kconfig"
239
240 source "lib/Kconfig"
241
242