kbuild: migrate all arch to the kconfig mainmenu upgrade
[pandora-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         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
18 config RWSEM_XCHGADD_ALGORITHM
19         def_bool y
20
21 config GENERIC_FIND_NEXT_BIT
22         def_bool y
23
24 config GENERIC_HWEIGHT
25         def_bool y
26
27 config GENERIC_HARDIRQS
28         def_bool y
29
30 config GENERIC_GPIO
31         def_bool y
32
33 config ARCH_HAS_ILOG2_U32
34         def_bool n
35
36 config ARCH_HAS_ILOG2_U64
37         def_bool n
38
39 config NO_IOPORT
40         def_bool y
41
42 config HZ
43         int
44         default 100
45
46 config GENERIC_TIME
47         def_bool y
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 config PREEMPT
91         bool "Preemptible Kernel"
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.
99
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.
102
103 config MATH_EMULATION
104         bool "Math emulation"
105         help
106         Can we use information of configuration file?
107
108 endmenu
109
110 config 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
117 config SERIAL_CONSOLE
118         def_bool n
119
120 config XTENSA_ISS_NETWORK
121         def_bool n
122
123 menu "Bus options"
124
125 config 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
134 source "drivers/pci/Kconfig"
135
136 endmenu
137
138 menu "Platform options"
139
140 choice
141         prompt "Xtensa System Type"
142         default XTENSA_PLATFORM_ISS
143
144 config XTENSA_PLATFORM_ISS
145         bool "ISS"
146         select XTENSA_CALIBRATE_CCOUNT
147         select SERIAL_CONSOLE
148         select XTENSA_ISS_NETWORK
149         help
150           ISS is an acronym for Tensilica's Instruction Set Simulator.
151
152 config 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
158 config XTENSA_PLATFORM_S6105
159         bool "S6105"
160         select SERIAL_CONSOLE
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 source "mm/Kconfig"
190
191 config HOTPLUG
192         bool "Support for hot-pluggable devices"
193         help
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.
197
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.
202
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.
208
209 source "drivers/pcmcia/Kconfig"
210
211 source "drivers/pci/hotplug/Kconfig"
212
213 endmenu
214
215 menu "Executable file formats"
216
217 # only elf supported
218 config KCORE_ELF
219         def_bool y
220         depends on PROC_FS
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
232 source "fs/Kconfig.binfmt"
233
234 endmenu
235
236 source "net/Kconfig"
237
238 source "drivers/Kconfig"
239
240 source "fs/Kconfig"
241
242 menu "Xtensa initrd options"
243         depends on BLK_DEV_INITRD
244
245 config EMBEDDED_RAMDISK
246         bool "Embed root filesystem ramdisk into the kernel"
247
248 config EMBEDDED_RAMDISK_IMAGE
249         string "Filename of gzipped ramdisk image"
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.
257 endmenu
258
259 source "arch/xtensa/Kconfig.debug"
260
261 source "security/Kconfig"
262
263 source "crypto/Kconfig"
264
265 source "lib/Kconfig"
266
267