xtensa: Add config files for Diamond 232L - Rev B processor variant
[pandora-kernel.git] / arch / xtensa / Kconfig
1 # For a description of the syntax of this configuration file,
2 # see Documentation/kbuild/kconfig-language.txt.
3
4 mainmenu "Linux/Xtensa Kernel Configuration"
5
6 config FRAME_POINTER
7         bool
8         default n
9
10 config ZONE_DMA
11         bool
12         default y
13
14 config XTENSA
15         bool
16         default y
17         select HAVE_IDE
18         help
19           Xtensa processors are 32-bit RISC machines designed by Tensilica
20           primarily for embedded systems.  These processors are both
21           configurable and extensible.  The Linux port to the Xtensa
22           architecture supports all processor configurations and extensions,
23           with reasonable minimum requirements.  The Xtensa Linux project has
24           a home page at <http://xtensa.sourceforge.net/>.
25
26 config RWSEM_XCHGADD_ALGORITHM
27         bool
28         default y
29
30 config GENERIC_FIND_NEXT_BIT
31         bool
32         default y
33
34 config GENERIC_HWEIGHT
35         bool
36         default y
37
38 config GENERIC_HARDIRQS
39         bool
40         default y
41
42 config ARCH_HAS_ILOG2_U32
43         bool
44         default n
45
46 config ARCH_HAS_ILOG2_U64
47         bool
48         default n
49
50 config NO_IOPORT
51         def_bool y
52
53 config HZ
54         int
55         default 100
56
57 source "init/Kconfig"
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
68 config XTENSA_VARIANT_DC232B
69         bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
70         help
71         This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
72 endchoice
73
74 config MMU
75         bool
76         default y
77
78 config XTENSA_UNALIGNED_USER
79         bool "Unaligned memory access in use space"
80         ---help---
81            The Xtensa architecture currently does not handle unaligned
82            memory accesses in hardware but through an exception handler.
83            Per default, unaligned memory accesses are disabled in user space.
84
85            Say Y here to enable unaligned memory access in user space.
86
87 config PREEMPT
88         bool "Preemptible Kernel"
89         ---help---
90            This option reduces the latency of the kernel when reacting to
91            real-time or interactive events by allowing a low priority process to
92            be preempted even if it is in kernel mode executing a system call.
93            Unfortunately the kernel code has some race conditions if both
94            CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is
95            currently disabled if you are building an SMP kernel.
96
97            Say Y here if you are building a kernel for a desktop, embedded
98            or real-time system.  Say N if you are unsure.
99
100 config MATH_EMULATION
101         bool "Math emulation"
102         help
103         Can we use information of configuration file?
104
105 config HIGHMEM
106         bool "High memory support"
107
108 endmenu
109
110 menu "Platform options"
111
112 choice
113         prompt "Xtensa System Type"
114         default XTENSA_PLATFORM_ISS
115
116 config XTENSA_PLATFORM_ISS
117         bool "ISS"
118         help
119           ISS is an acronym for Tensilica's Instruction Set Simulator.
120
121 config XTENSA_PLATFORM_XT2000
122         bool "XT2000"
123         help
124           XT2000 is the name of Tensilica's feature-rich emulation platform.
125           This hardware is capable of running a full Linux distribution.
126
127 endchoice
128
129
130 config XTENSA_CALIBRATE_CCOUNT
131         bool "Auto calibration of the CPU clock rate"
132         ---help---
133           On some platforms (XT2000, for example), the CPU clock rate can
134           vary.  The frequency can be determined, however, by measuring
135           against a well known, fixed frequency, such as an UART oscillator.
136
137 config XTENSA_CPU_CLOCK
138         int "CPU clock rate [MHz]"
139         depends on !XTENSA_CALIBRATE_CCOUNT
140         default "16"
141
142 config GENERIC_CALIBRATE_DELAY
143         bool "Auto calibration of the BogoMIPS value"
144         ---help---
145           The BogoMIPS value can easily be derived from the CPU frequency.
146
147 config CMDLINE_BOOL
148         bool "Default bootloader kernel arguments"
149
150 config CMDLINE
151         string "Initial kernel command string"
152         depends on CMDLINE_BOOL
153         default "console=ttyS0,38400 root=/dev/ram"
154         help
155           On some architectures (EBSA110 and CATS), there is currently no way
156           for the boot loader to pass arguments to the kernel. For these
157           architectures, you should supply some command-line options at build
158           time by entering them here. As a minimum, you should specify the
159           memory size and the root device (e.g., mem=64M root=/dev/nfs).
160
161 config SERIAL_CONSOLE
162         bool
163         depends on XTENSA_PLATFORM_ISS
164         default y
165
166 config XTENSA_ISS_NETWORK
167         bool
168         depends on XTENSA_PLATFORM_ISS
169         default y
170
171 source "mm/Kconfig"
172
173 endmenu
174
175 menu "Bus options"
176
177 config PCI
178         bool "PCI support" if !XTENSA_PLATFORM_ISS
179         depends on !XTENSA_PLATFORM_ISS
180         default y
181         help
182           Find out whether you have a PCI motherboard. PCI is the name of a
183           bus system, i.e. the way the CPU talks to the other stuff inside
184           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
185           VESA. If you have PCI, say Y, otherwise N.
186
187 source "drivers/pci/Kconfig"
188
189 config HOTPLUG
190
191         bool "Support for hot-pluggable devices"
192         ---help---
193         Say Y here if you want to plug devices into your computer while
194         the system is running, and be able to use them quickly.  In many
195         cases, the devices can likewise be unplugged at any time too.
196
197         One well known example of this is PCMCIA- or PC-cards, credit-card
198         size devices such as network cards, modems or hard drives which are
199         plugged into slots found on all modern laptop computers.  Another
200         example, used on modern desktops as well as laptops, is USB.
201
202         Enable HOTPLUG and build a modular kernel.  Get agent software
203         (from <http://linux-hotplug.sourceforge.net/>) and install it.
204         Then your kernel will automatically call out to a user mode "policy
205         agent" (/sbin/hotplug) to load modules and set up software needed
206         to use devices as you hotplug them.
207
208 source "drivers/pcmcia/Kconfig"
209
210 source "drivers/pci/hotplug/Kconfig"
211
212 endmenu
213
214 menu "Executable file formats"
215
216 # only elf supported
217 config KCORE_ELF
218         bool
219         depends on PROC_FS
220         default y
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