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