xtensa: add device trees support
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / xtensa / Kconfig
... / ...
CommitLineData
1config FRAME_POINTER
2 def_bool n
3
4config ZONE_DMA
5 def_bool y
6
7config 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
29config RWSEM_XCHGADD_ALGORITHM
30 def_bool y
31
32config GENERIC_HWEIGHT
33 def_bool y
34
35config GENERIC_GPIO
36 def_bool y
37
38config ARCH_HAS_ILOG2_U32
39 def_bool n
40
41config ARCH_HAS_ILOG2_U64
42 def_bool n
43
44config NO_IOPORT
45 def_bool n
46
47config HZ
48 int
49 default 100
50
51source "init/Kconfig"
52source "kernel/Kconfig.freezer"
53
54config MMU
55 def_bool n
56
57config VARIANT_IRQ_SWITCH
58 def_bool n
59
60menu "Processor type and features"
61
62choice
63 prompt "Xtensa Processor Configuration"
64 default XTENSA_VARIANT_FSF
65
66config XTENSA_VARIANT_FSF
67 bool "fsf - default (not generic) configuration"
68 select MMU
69
70config 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
76config 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
81endchoice
82
83config 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
92source "kernel/Kconfig.preempt"
93
94config MATH_EMULATION
95 bool "Math emulation"
96 help
97 Can we use information of configuration file?
98
99endmenu
100
101config 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
108config SERIAL_CONSOLE
109 def_bool n
110
111config XTENSA_ISS_NETWORK
112 def_bool n
113
114menu "Bus options"
115
116config 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
125source "drivers/pci/Kconfig"
126
127endmenu
128
129menu "Platform options"
130
131choice
132 prompt "Xtensa System Type"
133 default XTENSA_PLATFORM_ISS
134
135config 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
143config 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
149config XTENSA_PLATFORM_S6105
150 bool "S6105"
151 select SERIAL_CONSOLE
152 select NO_IOPORT
153
154endchoice
155
156
157config XTENSA_CPU_CLOCK
158 int "CPU clock rate [MHz]"
159 depends on !XTENSA_CALIBRATE_CCOUNT
160 default 16
161
162config GENERIC_CALIBRATE_DELAY
163 bool "Auto calibration of the BogoMIPS value"
164 help
165 The BogoMIPS value can easily be derived from the CPU frequency.
166
167config CMDLINE_BOOL
168 bool "Default bootloader kernel arguments"
169
170config CMDLINE
171 string "Initial kernel command string"
172 depends on CMDLINE_BOOL
173 default "console=ttyS0,38400 root=/dev/ram"
174 help
175 On some architectures (EBSA110 and CATS), there is currently no way
176 for the boot loader to pass arguments to the kernel. For these
177 architectures, you should supply some command-line options at build
178 time by entering them here. As a minimum, you should specify the
179 memory size and the root device (e.g., mem=64M root=/dev/nfs).
180
181config USE_OF
182 bool "Flattened Device Tree support"
183 select OF
184 select OF_EARLY_FLATTREE
185 help
186 Include support for flattened device tree machine descriptions.
187
188config BUILTIN_DTB
189 string "DTB to build into the kernel image"
190 depends on OF
191
192source "mm/Kconfig"
193
194source "drivers/pcmcia/Kconfig"
195
196source "drivers/pci/hotplug/Kconfig"
197
198endmenu
199
200menu "Executable file formats"
201
202# only elf supported
203config KCORE_ELF
204 def_bool y
205 depends on PROC_FS
206 help
207 If you enabled support for /proc file system then the file
208 /proc/kcore will contain the kernel core image in ELF format. This
209 can be used in gdb:
210
211 $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
212
213 This is especially useful if you have compiled the kernel with the
214 "-g" option to preserve debugging information. It is mainly used
215 for examining kernel data structures on the live kernel.
216
217source "fs/Kconfig.binfmt"
218
219endmenu
220
221source "net/Kconfig"
222
223source "drivers/Kconfig"
224
225source "fs/Kconfig"
226
227source "arch/xtensa/Kconfig.debug"
228
229source "security/Kconfig"
230
231source "crypto/Kconfig"
232
233source "lib/Kconfig"
234
235