kbuild: migrate all arch to the kconfig mainmenu upgrade
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / xtensa / Kconfig
CommitLineData
8e1a6dd2 1config FRAME_POINTER
35f9cd08 2 def_bool n
8e1a6dd2 3
66701b14 4config ZONE_DMA
35f9cd08 5 def_bool y
66701b14 6
8e1a6dd2 7config XTENSA
35f9cd08 8 def_bool y
ec7748b5 9 select HAVE_IDE
8e1a6dd2
CZ
10 help
11 Xtensa processors are 32-bit RISC machines designed by Tensilica
12 primarily for embedded systems. These processors are both
13 configurable and extensible. The Linux port to the Xtensa
14 architecture supports all processor configurations and extensions,
15 with reasonable minimum requirements. The Xtensa Linux project has
16 a home page at <http://xtensa.sourceforge.net/>.
17
8e1a6dd2 18config RWSEM_XCHGADD_ALGORITHM
35f9cd08 19 def_bool y
8e1a6dd2 20
d4337aa5 21config GENERIC_FIND_NEXT_BIT
35f9cd08 22 def_bool y
d4337aa5
AM
23
24config GENERIC_HWEIGHT
35f9cd08 25 def_bool y
d4337aa5 26
8e1a6dd2 27config GENERIC_HARDIRQS
35f9cd08 28 def_bool y
8e1a6dd2 29
000af2c5
JW
30config GENERIC_GPIO
31 def_bool y
32
f0d1b0b3 33config ARCH_HAS_ILOG2_U32
35f9cd08 34 def_bool n
f0d1b0b3
DH
35
36config ARCH_HAS_ILOG2_U64
35f9cd08 37 def_bool n
f0d1b0b3 38
5ea81769
AV
39config NO_IOPORT
40 def_bool y
41
bdc80787
PA
42config HZ
43 int
44 default 100
45
fcc8f0f8
JW
46config GENERIC_TIME
47 def_bool y
48
8e1a6dd2 49source "init/Kconfig"
dc52ddc0 50source "kernel/Kconfig.freezer"
8e1a6dd2 51
35f9cd08
JW
52config MMU
53 def_bool n
54
4c0d2141
JW
55config VARIANT_IRQ_SWITCH
56 def_bool n
57
8e1a6dd2
CZ
58menu "Processor type and features"
59
60choice
61 prompt "Xtensa Processor Configuration"
173d6681 62 default XTENSA_VARIANT_FSF
8e1a6dd2 63
173d6681 64config XTENSA_VARIANT_FSF
0025427e 65 bool "fsf - default (not generic) configuration"
35f9cd08 66 select MMU
0025427e
CZ
67
68config XTENSA_VARIANT_DC232B
69 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
35f9cd08 70 select MMU
0025427e 71 help
35f9cd08 72 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
000af2c5
JW
73
74config XTENSA_VARIANT_S6000
75 bool "s6000 - Stretch software configurable processor"
76 select VARIANT_IRQ_SWITCH
77 select ARCH_REQUIRE_GPIOLIB
b070a03f 78 select XTENSA_CALIBRATE_CCOUNT
8e1a6dd2
CZ
79endchoice
80
8e1a6dd2
CZ
81config XTENSA_UNALIGNED_USER
82 bool "Unaligned memory access in use space"
35f9cd08
JW
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.
8e1a6dd2 87
35f9cd08 88 Say Y here to enable unaligned memory access in user space.
8e1a6dd2
CZ
89
90config PREEMPT
91 bool "Preemptible Kernel"
35f9cd08
JW
92 help
93 This option reduces the latency of the kernel when reacting to
94 real-time or interactive events by allowing a low priority process to
95 be preempted even if it is in kernel mode executing a system call.
96 Unfortunately the kernel code has some race conditions if both
97 CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is
98 currently disabled if you are building an SMP kernel.
8e1a6dd2 99
35f9cd08
JW
100 Say Y here if you are building a kernel for a desktop, embedded
101 or real-time system. Say N if you are unsure.
8e1a6dd2
CZ
102
103config MATH_EMULATION
104 bool "Math emulation"
105 help
106 Can we use information of configuration file?
107
8e1a6dd2
CZ
108endmenu
109
35f9cd08
JW
110config XTENSA_CALIBRATE_CCOUNT
111 def_bool n
112 help
113 On some platforms (XT2000, for example), the CPU clock rate can
114 vary. The frequency can be determined, however, by measuring
115 against a well known, fixed frequency, such as an UART oscillator.
116
117config SERIAL_CONSOLE
118 def_bool n
119
120config XTENSA_ISS_NETWORK
121 def_bool n
122
123menu "Bus options"
124
125config PCI
126 bool "PCI support"
127 default y
128 help
129 Find out whether you have a PCI motherboard. PCI is the name of a
130 bus system, i.e. the way the CPU talks to the other stuff inside
131 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
132 VESA. If you have PCI, say Y, otherwise N.
133
134source "drivers/pci/Kconfig"
135
35e71f90
CZ
136endmenu
137
8e1a6dd2
CZ
138menu "Platform options"
139
140choice
141 prompt "Xtensa System Type"
142 default XTENSA_PLATFORM_ISS
143
144config XTENSA_PLATFORM_ISS
145 bool "ISS"
35f9cd08
JW
146 select XTENSA_CALIBRATE_CCOUNT
147 select SERIAL_CONSOLE
148 select XTENSA_ISS_NETWORK
8e1a6dd2
CZ
149 help
150 ISS is an acronym for Tensilica's Instruction Set Simulator.
151
152config XTENSA_PLATFORM_XT2000
153 bool "XT2000"
154 help
155 XT2000 is the name of Tensilica's feature-rich emulation platform.
156 This hardware is capable of running a full Linux distribution.
157
f82e939f
JW
158config XTENSA_PLATFORM_S6105
159 bool "S6105"
160 select SERIAL_CONSOLE
161
8e1a6dd2
CZ
162endchoice
163
164
8e1a6dd2
CZ
165config XTENSA_CPU_CLOCK
166 int "CPU clock rate [MHz]"
167 depends on !XTENSA_CALIBRATE_CCOUNT
35f9cd08 168 default 16
8e1a6dd2
CZ
169
170config GENERIC_CALIBRATE_DELAY
171 bool "Auto calibration of the BogoMIPS value"
35f9cd08 172 help
82300bf4 173 The BogoMIPS value can easily be derived from the CPU frequency.
8e1a6dd2
CZ
174
175config CMDLINE_BOOL
176 bool "Default bootloader kernel arguments"
177
178config 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
82300bf4
CZ
189source "mm/Kconfig"
190
35f9cd08
JW
191config HOTPLUG
192 bool "Support for hot-pluggable devices"
8e1a6dd2 193 help
35f9cd08
JW
194 Say Y here if you want to plug devices into your computer while
195 the system is running, and be able to use them quickly. In many
196 cases, the devices can likewise be unplugged at any time too.
8e1a6dd2 197
35f9cd08
JW
198 One well known example of this is PCMCIA- or PC-cards, credit-card
199 size devices such as network cards, modems or hard drives which are
200 plugged into slots found on all modern laptop computers. Another
201 example, used on modern desktops as well as laptops, is USB.
8e1a6dd2 202
35f9cd08
JW
203 Enable HOTPLUG and build a modular kernel. Get agent software
204 (from <http://linux-hotplug.sourceforge.net/>) and install it.
205 Then your kernel will automatically call out to a user mode "policy
206 agent" (/sbin/hotplug) to load modules and set up software needed
207 to use devices as you hotplug them.
8e1a6dd2
CZ
208
209source "drivers/pcmcia/Kconfig"
210
211source "drivers/pci/hotplug/Kconfig"
212
213endmenu
214
cab00891 215menu "Executable file formats"
8e1a6dd2
CZ
216
217# only elf supported
218config KCORE_ELF
35f9cd08 219 def_bool y
8e1a6dd2 220 depends on PROC_FS
8e1a6dd2
CZ
221 help
222 If you enabled support for /proc file system then the file
223 /proc/kcore will contain the kernel core image in ELF format. This
224 can be used in gdb:
225
226 $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
227
228 This is especially useful if you have compiled the kernel with the
229 "-g" option to preserve debugging information. It is mainly used
230 for examining kernel data structures on the live kernel.
231
232source "fs/Kconfig.binfmt"
233
234endmenu
235
d5950b43
SR
236source "net/Kconfig"
237
8e1a6dd2
CZ
238source "drivers/Kconfig"
239
240source "fs/Kconfig"
241
242menu "Xtensa initrd options"
243 depends on BLK_DEV_INITRD
244
35f9cd08 245config EMBEDDED_RAMDISK
8e1a6dd2
CZ
246 bool "Embed root filesystem ramdisk into the kernel"
247
248config EMBEDDED_RAMDISK_IMAGE
cab00891 249 string "Filename of gzipped ramdisk image"
8e1a6dd2
CZ
250 depends on EMBEDDED_RAMDISK
251 default "ramdisk.gz"
252 help
253 This is the filename of the ramdisk image to be built into the
254 kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
255 The ramdisk image is not part of the kernel distribution; you must
256 provide one yourself.
257endmenu
258
259source "arch/xtensa/Kconfig.debug"
260
261source "security/Kconfig"
262
263source "crypto/Kconfig"
264
265source "lib/Kconfig"
266
267