blob: a1c7482ad0ecd369ad60be944000f6b76098e6cb [file] [log] [blame]
Chris Zankel8e1a6dd2005-06-23 22:01:10 -07001config FRAME_POINTER
Johannes Weiner35f9cd02009-03-04 16:21:28 +01002 def_bool n
Chris Zankel8e1a6dd2005-06-23 22:01:10 -07003
Christoph Lameter66701b12007-02-10 01:43:09 -08004config ZONE_DMA
Johannes Weiner35f9cd02009-03-04 16:21:28 +01005 def_bool y
Christoph Lameter66701b12007-02-10 01:43:09 -08006
Chris Zankel8e1a6dd2005-06-23 22:01:10 -07007config XTENSA
Johannes Weiner35f9cd02009-03-04 16:21:28 +01008 def_bool y
Sam Ravnborgec7748b2008-02-09 10:46:40 +01009 select HAVE_IDE
Thomas Gleixner3b190a42011-02-06 22:10:54 +010010 select HAVE_GENERIC_HARDIRQS
11 select GENERIC_HARDIRQS_NO_DEPRECATED
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070012 help
13 Xtensa processors are 32-bit RISC machines designed by Tensilica
14 primarily for embedded systems. These processors are both
15 configurable and extensible. The Linux port to the Xtensa
16 architecture supports all processor configurations and extensions,
17 with reasonable minimum requirements. The Xtensa Linux project has
18 a home page at <http://xtensa.sourceforge.net/>.
19
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070020config RWSEM_XCHGADD_ALGORITHM
Johannes Weiner35f9cd02009-03-04 16:21:28 +010021 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070022
Akinobu Mitad4337aa2006-03-26 01:39:43 -080023config GENERIC_FIND_NEXT_BIT
Johannes Weiner35f9cd02009-03-04 16:21:28 +010024 def_bool y
Akinobu Mitad4337aa2006-03-26 01:39:43 -080025
26config GENERIC_HWEIGHT
Johannes Weiner35f9cd02009-03-04 16:21:28 +010027 def_bool y
Akinobu Mitad4337aa2006-03-26 01:39:43 -080028
Johannes Weiner000af2c2009-03-04 16:21:32 +010029config GENERIC_GPIO
30 def_bool y
31
David Howellsf0d1b0b2006-12-08 02:37:49 -080032config ARCH_HAS_ILOG2_U32
Johannes Weiner35f9cd02009-03-04 16:21:28 +010033 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080034
35config ARCH_HAS_ILOG2_U64
Johannes Weiner35f9cd02009-03-04 16:21:28 +010036 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080037
Al Viro5ea81762007-02-11 15:41:31 +000038config NO_IOPORT
39 def_bool y
40
H. Peter Anvinbdc80782008-02-08 04:21:26 -080041config HZ
42 int
43 default 100
44
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070045source "init/Kconfig"
Matt Helsleydc52ddc2008-10-18 20:27:21 -070046source "kernel/Kconfig.freezer"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070047
Johannes Weiner35f9cd02009-03-04 16:21:28 +010048config MMU
49 def_bool n
50
Johannes Weiner4c0d2142009-03-04 16:21:31 +010051config VARIANT_IRQ_SWITCH
52 def_bool n
53
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070054menu "Processor type and features"
55
56choice
57 prompt "Xtensa Processor Configuration"
Chris Zankel173d6682006-12-10 02:18:48 -080058 default XTENSA_VARIANT_FSF
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070059
Chris Zankel173d6682006-12-10 02:18:48 -080060config XTENSA_VARIANT_FSF
Chris Zankel00254272008-10-21 09:11:43 -070061 bool "fsf - default (not generic) configuration"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010062 select MMU
Chris Zankel00254272008-10-21 09:11:43 -070063
64config XTENSA_VARIANT_DC232B
65 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010066 select MMU
Chris Zankel00254272008-10-21 09:11:43 -070067 help
Johannes Weiner35f9cd02009-03-04 16:21:28 +010068 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
Johannes Weiner000af2c2009-03-04 16:21:32 +010069
70config XTENSA_VARIANT_S6000
71 bool "s6000 - Stretch software configurable processor"
72 select VARIANT_IRQ_SWITCH
73 select ARCH_REQUIRE_GPIOLIB
Oskar Schirmerb070a032009-05-11 15:43:36 +020074 select XTENSA_CALIBRATE_CCOUNT
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070075endchoice
76
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070077config XTENSA_UNALIGNED_USER
78 bool "Unaligned memory access in use space"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010079 help
80 The Xtensa architecture currently does not handle unaligned
81 memory accesses in hardware but through an exception handler.
82 Per default, unaligned memory accesses are disabled in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070083
Johannes Weiner35f9cd02009-03-04 16:21:28 +010084 Say Y here to enable unaligned memory access in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070085
86config PREEMPT
87 bool "Preemptible Kernel"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010088 help
89 This option reduces the latency of the kernel when reacting to
90 real-time or interactive events by allowing a low priority process to
91 be preempted even if it is in kernel mode executing a system call.
92 Unfortunately the kernel code has some race conditions if both
93 CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is
94 currently disabled if you are building an SMP kernel.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070095
Johannes Weiner35f9cd02009-03-04 16:21:28 +010096 Say Y here if you are building a kernel for a desktop, embedded
97 or real-time system. Say N if you are unsure.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070098
99config MATH_EMULATION
100 bool "Math emulation"
101 help
102 Can we use information of configuration file?
103
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700104endmenu
105
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100106config XTENSA_CALIBRATE_CCOUNT
107 def_bool n
108 help
109 On some platforms (XT2000, for example), the CPU clock rate can
110 vary. The frequency can be determined, however, by measuring
111 against a well known, fixed frequency, such as an UART oscillator.
112
113config SERIAL_CONSOLE
114 def_bool n
115
116config XTENSA_ISS_NETWORK
117 def_bool n
118
119menu "Bus options"
120
121config PCI
122 bool "PCI support"
123 default y
124 help
125 Find out whether you have a PCI motherboard. PCI is the name of a
126 bus system, i.e. the way the CPU talks to the other stuff inside
127 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
128 VESA. If you have PCI, say Y, otherwise N.
129
130source "drivers/pci/Kconfig"
131
Chris Zankel35e71f92009-04-16 00:25:39 -0700132endmenu
133
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700134menu "Platform options"
135
136choice
137 prompt "Xtensa System Type"
138 default XTENSA_PLATFORM_ISS
139
140config XTENSA_PLATFORM_ISS
141 bool "ISS"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100142 select XTENSA_CALIBRATE_CCOUNT
143 select SERIAL_CONSOLE
144 select XTENSA_ISS_NETWORK
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700145 help
146 ISS is an acronym for Tensilica's Instruction Set Simulator.
147
148config XTENSA_PLATFORM_XT2000
149 bool "XT2000"
150 help
151 XT2000 is the name of Tensilica's feature-rich emulation platform.
152 This hardware is capable of running a full Linux distribution.
153
Johannes Weinerf82e9392009-03-04 16:21:33 +0100154config XTENSA_PLATFORM_S6105
155 bool "S6105"
156 select SERIAL_CONSOLE
157
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700158endchoice
159
160
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700161config XTENSA_CPU_CLOCK
162 int "CPU clock rate [MHz]"
163 depends on !XTENSA_CALIBRATE_CCOUNT
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100164 default 16
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700165
166config GENERIC_CALIBRATE_DELAY
167 bool "Auto calibration of the BogoMIPS value"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100168 help
Chris Zankel82300bf2005-06-30 02:58:58 -0700169 The BogoMIPS value can easily be derived from the CPU frequency.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700170
171config CMDLINE_BOOL
172 bool "Default bootloader kernel arguments"
173
174config CMDLINE
175 string "Initial kernel command string"
176 depends on CMDLINE_BOOL
177 default "console=ttyS0,38400 root=/dev/ram"
178 help
179 On some architectures (EBSA110 and CATS), there is currently no way
180 for the boot loader to pass arguments to the kernel. For these
181 architectures, you should supply some command-line options at build
182 time by entering them here. As a minimum, you should specify the
183 memory size and the root device (e.g., mem=64M root=/dev/nfs).
184
Chris Zankel82300bf2005-06-30 02:58:58 -0700185source "mm/Kconfig"
186
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700187config HOTPLUG
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700188 bool "Support for hot-pluggable devices"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100189 help
190 Say Y here if you want to plug devices into your computer while
191 the system is running, and be able to use them quickly. In many
192 cases, the devices can likewise be unplugged at any time too.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700193
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100194 One well known example of this is PCMCIA- or PC-cards, credit-card
195 size devices such as network cards, modems or hard drives which are
196 plugged into slots found on all modern laptop computers. Another
197 example, used on modern desktops as well as laptops, is USB.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700198
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100199 Enable HOTPLUG and build a modular kernel. Get agent software
200 (from <http://linux-hotplug.sourceforge.net/>) and install it.
201 Then your kernel will automatically call out to a user mode "policy
202 agent" (/sbin/hotplug) to load modules and set up software needed
203 to use devices as you hotplug them.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700204
205source "drivers/pcmcia/Kconfig"
206
207source "drivers/pci/hotplug/Kconfig"
208
209endmenu
210
Matt LaPlantecab00892006-10-03 22:36:44 +0200211menu "Executable file formats"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700212
213# only elf supported
214config KCORE_ELF
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100215 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700216 depends on PROC_FS
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700217 help
218 If you enabled support for /proc file system then the file
219 /proc/kcore will contain the kernel core image in ELF format. This
220 can be used in gdb:
221
222 $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
223
224 This is especially useful if you have compiled the kernel with the
225 "-g" option to preserve debugging information. It is mainly used
226 for examining kernel data structures on the live kernel.
227
228source "fs/Kconfig.binfmt"
229
230endmenu
231
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700232source "net/Kconfig"
233
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700234source "drivers/Kconfig"
235
236source "fs/Kconfig"
237
238menu "Xtensa initrd options"
239 depends on BLK_DEV_INITRD
240
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100241config EMBEDDED_RAMDISK
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700242 bool "Embed root filesystem ramdisk into the kernel"
243
244config EMBEDDED_RAMDISK_IMAGE
Matt LaPlantecab00892006-10-03 22:36:44 +0200245 string "Filename of gzipped ramdisk image"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700246 depends on EMBEDDED_RAMDISK
247 default "ramdisk.gz"
248 help
249 This is the filename of the ramdisk image to be built into the
250 kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
251 The ramdisk image is not part of the kernel distribution; you must
252 provide one yourself.
253endmenu
254
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700255source "arch/xtensa/Kconfig.debug"
256
257source "security/Kconfig"
258
259source "crypto/Kconfig"
260
261source "lib/Kconfig"
262
263