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