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