blob: 8ed64cfae4ff1f46953315f04853ce06831394f5 [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
Fengguang Wuc66af412012-07-31 16:41:33 -070010 select GENERIC_ATOMIC64
Thomas Gleixner3b190a42011-02-06 22:10:54 +010011 select HAVE_GENERIC_HARDIRQS
Thomas Gleixner47a5d9d2011-03-24 18:28:40 +010012 select GENERIC_IRQ_SHOW
Ben Hutchings9f13a1f2012-01-10 03:04:32 +000013 select GENERIC_CPU_DEVICES
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070014 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
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070022config RWSEM_XCHGADD_ALGORITHM
Johannes Weiner35f9cd02009-03-04 16:21:28 +010023 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070024
Akinobu Mitad4337aa2006-03-26 01:39:43 -080025config GENERIC_HWEIGHT
Johannes Weiner35f9cd02009-03-04 16:21:28 +010026 def_bool y
Akinobu Mitad4337aa2006-03-26 01:39:43 -080027
Johannes Weiner000af2c2009-03-04 16:21:32 +010028config GENERIC_GPIO
29 def_bool y
30
David Howellsf0d1b0b2006-12-08 02:37:49 -080031config ARCH_HAS_ILOG2_U32
Johannes Weiner35f9cd02009-03-04 16:21:28 +010032 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080033
34config ARCH_HAS_ILOG2_U64
Johannes Weiner35f9cd02009-03-04 16:21:28 +010035 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080036
Al Viro5ea81762007-02-11 15:41:31 +000037config NO_IOPORT
38 def_bool y
39
H. Peter Anvinbdc80782008-02-08 04:21:26 -080040config HZ
41 int
42 default 100
43
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070044source "init/Kconfig"
Matt Helsleydc52ddc2008-10-18 20:27:21 -070045source "kernel/Kconfig.freezer"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070046
Johannes Weiner35f9cd02009-03-04 16:21:28 +010047config MMU
48 def_bool n
49
Johannes Weiner4c0d2142009-03-04 16:21:31 +010050config VARIANT_IRQ_SWITCH
51 def_bool n
52
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070053menu "Processor type and features"
54
55choice
56 prompt "Xtensa Processor Configuration"
Chris Zankel173d6682006-12-10 02:18:48 -080057 default XTENSA_VARIANT_FSF
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070058
Chris Zankel173d6682006-12-10 02:18:48 -080059config XTENSA_VARIANT_FSF
Chris Zankel00254272008-10-21 09:11:43 -070060 bool "fsf - default (not generic) configuration"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010061 select MMU
Chris Zankel00254272008-10-21 09:11:43 -070062
63config XTENSA_VARIANT_DC232B
64 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010065 select MMU
Chris Zankel00254272008-10-21 09:11:43 -070066 help
Johannes Weiner35f9cd02009-03-04 16:21:28 +010067 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
Johannes Weiner000af2c2009-03-04 16:21:32 +010068
69config XTENSA_VARIANT_S6000
70 bool "s6000 - Stretch software configurable processor"
71 select VARIANT_IRQ_SWITCH
72 select ARCH_REQUIRE_GPIOLIB
Oskar Schirmerb070a032009-05-11 15:43:36 +020073 select XTENSA_CALIBRATE_CCOUNT
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070074endchoice
75
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070076config XTENSA_UNALIGNED_USER
77 bool "Unaligned memory access in use space"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010078 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.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070082
Johannes Weiner35f9cd02009-03-04 16:21:28 +010083 Say Y here to enable unaligned memory access in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070084
Frederic Weisbeckerbd96efe2011-07-05 17:45:34 +020085source "kernel/Kconfig.preempt"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070086
87config MATH_EMULATION
88 bool "Math emulation"
89 help
90 Can we use information of configuration file?
91
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070092endmenu
93
Johannes Weiner35f9cd02009-03-04 16:21:28 +010094config 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
Chris Zankel35e71f92009-04-16 00:25:39 -0700120endmenu
121
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700122menu "Platform options"
123
124choice
125 prompt "Xtensa System Type"
126 default XTENSA_PLATFORM_ISS
127
128config XTENSA_PLATFORM_ISS
129 bool "ISS"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100130 select XTENSA_CALIBRATE_CCOUNT
131 select SERIAL_CONSOLE
132 select XTENSA_ISS_NETWORK
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700133 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
Johannes Weinerf82e9392009-03-04 16:21:33 +0100142config XTENSA_PLATFORM_S6105
143 bool "S6105"
144 select SERIAL_CONSOLE
145
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700146endchoice
147
148
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700149config XTENSA_CPU_CLOCK
150 int "CPU clock rate [MHz]"
151 depends on !XTENSA_CALIBRATE_CCOUNT
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100152 default 16
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700153
154config GENERIC_CALIBRATE_DELAY
155 bool "Auto calibration of the BogoMIPS value"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100156 help
Chris Zankel82300bf2005-06-30 02:58:58 -0700157 The BogoMIPS value can easily be derived from the CPU frequency.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700158
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
Chris Zankel82300bf2005-06-30 02:58:58 -0700173source "mm/Kconfig"
174
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700175config HOTPLUG
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700176 bool "Support for hot-pluggable devices"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100177 help
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.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700181
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100182 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.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700186
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100187 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.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700192
193source "drivers/pcmcia/Kconfig"
194
195source "drivers/pci/hotplug/Kconfig"
196
197endmenu
198
Matt LaPlantecab00892006-10-03 22:36:44 +0200199menu "Executable file formats"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700200
201# only elf supported
202config KCORE_ELF
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100203 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700204 depends on PROC_FS
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700205 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
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700220source "net/Kconfig"
221
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700222source "drivers/Kconfig"
223
224source "fs/Kconfig"
225
226menu "Xtensa initrd options"
227 depends on BLK_DEV_INITRD
228
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100229config EMBEDDED_RAMDISK
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700230 bool "Embed root filesystem ramdisk into the kernel"
231
232config EMBEDDED_RAMDISK_IMAGE
Matt LaPlantecab00892006-10-03 22:36:44 +0200233 string "Filename of gzipped ramdisk image"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700234 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
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700243source "arch/xtensa/Kconfig.debug"
244
245source "security/Kconfig"
246
247source "crypto/Kconfig"
248
249source "lib/Kconfig"
250
251