blob: f83780f8f2909d65938aa7bd51973dc9103d5a63 [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
Max Filippovd38efc12012-09-17 05:44:40 +040014 select MODULES_USE_ELF_RELA
15 select GENERIC_PCI_IOMAP
Max Filippove9691612013-01-06 16:17:21 +040016 select ARCH_WANT_IPC_PARSE_VERSION
Max Filippov6ed65f32012-09-17 05:44:42 +040017 select ARCH_WANT_OPTIONAL_GPIOLIB
Al Viro3e41f9b2012-10-26 23:41:40 -040018 select CLONE_BACKWARDS
Max Filippov2206d5d2012-11-04 00:29:12 +040019 select IRQ_DOMAIN
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070020 help
21 Xtensa processors are 32-bit RISC machines designed by Tensilica
22 primarily for embedded systems. These processors are both
23 configurable and extensible. The Linux port to the Xtensa
24 architecture supports all processor configurations and extensions,
25 with reasonable minimum requirements. The Xtensa Linux project has
26 a home page at <http://xtensa.sourceforge.net/>.
27
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070028config RWSEM_XCHGADD_ALGORITHM
Johannes Weiner35f9cd02009-03-04 16:21:28 +010029 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070030
Akinobu Mitad4337aa2006-03-26 01:39:43 -080031config GENERIC_HWEIGHT
Johannes Weiner35f9cd02009-03-04 16:21:28 +010032 def_bool y
Akinobu Mitad4337aa2006-03-26 01:39:43 -080033
Johannes Weiner000af2c2009-03-04 16:21:32 +010034config GENERIC_GPIO
35 def_bool y
36
David Howellsf0d1b0b2006-12-08 02:37:49 -080037config ARCH_HAS_ILOG2_U32
Johannes Weiner35f9cd02009-03-04 16:21:28 +010038 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080039
40config ARCH_HAS_ILOG2_U64
Johannes Weiner35f9cd02009-03-04 16:21:28 +010041 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080042
Al Viro5ea81762007-02-11 15:41:31 +000043config NO_IOPORT
Max Filippovd046f772012-09-17 05:44:41 +040044 def_bool n
Al Viro5ea81762007-02-11 15:41:31 +000045
H. Peter Anvinbdc80782008-02-08 04:21:26 -080046config HZ
47 int
48 default 100
49
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070050source "init/Kconfig"
Matt Helsleydc52ddc2008-10-18 20:27:21 -070051source "kernel/Kconfig.freezer"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070052
Johannes Weiner35f9cd02009-03-04 16:21:28 +010053config MMU
54 def_bool n
55
Johannes Weiner4c0d2142009-03-04 16:21:31 +010056config VARIANT_IRQ_SWITCH
57 def_bool n
58
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070059menu "Processor type and features"
60
61choice
62 prompt "Xtensa Processor Configuration"
Chris Zankel173d6682006-12-10 02:18:48 -080063 default XTENSA_VARIANT_FSF
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070064
Chris Zankel173d6682006-12-10 02:18:48 -080065config XTENSA_VARIANT_FSF
Chris Zankel00254272008-10-21 09:11:43 -070066 bool "fsf - default (not generic) configuration"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010067 select MMU
Chris Zankel00254272008-10-21 09:11:43 -070068
69config XTENSA_VARIANT_DC232B
70 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010071 select MMU
Chris Zankel00254272008-10-21 09:11:43 -070072 help
Johannes Weiner35f9cd02009-03-04 16:21:28 +010073 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
Johannes Weiner000af2c2009-03-04 16:21:32 +010074
Pete Delaneyd0b73b42013-01-05 04:57:16 +040075config XTENSA_VARIANT_DC233C
76 bool "dc233c - Diamond 233L Standard Core Rev.C (LE)"
77 select MMU
78 help
79 This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
80
Johannes Weiner000af2c2009-03-04 16:21:32 +010081config XTENSA_VARIANT_S6000
82 bool "s6000 - Stretch software configurable processor"
83 select VARIANT_IRQ_SWITCH
84 select ARCH_REQUIRE_GPIOLIB
Oskar Schirmerb070a032009-05-11 15:43:36 +020085 select XTENSA_CALIBRATE_CCOUNT
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070086endchoice
87
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070088config XTENSA_UNALIGNED_USER
89 bool "Unaligned memory access in use space"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010090 help
91 The Xtensa architecture currently does not handle unaligned
92 memory accesses in hardware but through an exception handler.
93 Per default, unaligned memory accesses are disabled in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070094
Johannes Weiner35f9cd02009-03-04 16:21:28 +010095 Say Y here to enable unaligned memory access in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070096
Frederic Weisbeckerbd96efe2011-07-05 17:45:34 +020097source "kernel/Kconfig.preempt"
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
Max Filippovd046f772012-09-17 05:44:41 +0400157 select NO_IOPORT
Johannes Weinerf82e9392009-03-04 16:21:33 +0100158
Max Filippov0d456ba2012-11-05 07:37:14 +0400159config XTENSA_PLATFORM_XTFPGA
160 bool "XTFPGA"
161 select SERIAL_CONSOLE
162 select ETHOC
163 select XTENSA_CALIBRATE_CCOUNT
164 help
165 XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
166 This hardware is capable of running a full Linux distribution.
167
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700168endchoice
169
170
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700171config XTENSA_CPU_CLOCK
172 int "CPU clock rate [MHz]"
173 depends on !XTENSA_CALIBRATE_CCOUNT
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100174 default 16
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700175
176config GENERIC_CALIBRATE_DELAY
177 bool "Auto calibration of the BogoMIPS value"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100178 help
Chris Zankel82300bf2005-06-30 02:58:58 -0700179 The BogoMIPS value can easily be derived from the CPU frequency.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700180
181config CMDLINE_BOOL
182 bool "Default bootloader kernel arguments"
183
184config CMDLINE
185 string "Initial kernel command string"
186 depends on CMDLINE_BOOL
187 default "console=ttyS0,38400 root=/dev/ram"
188 help
189 On some architectures (EBSA110 and CATS), there is currently no way
190 for the boot loader to pass arguments to the kernel. For these
191 architectures, you should supply some command-line options at build
192 time by entering them here. As a minimum, you should specify the
193 memory size and the root device (e.g., mem=64M root=/dev/nfs).
194
Max Filippovda844a82012-11-04 00:30:13 +0400195config USE_OF
196 bool "Flattened Device Tree support"
197 select OF
198 select OF_EARLY_FLATTREE
199 help
200 Include support for flattened device tree machine descriptions.
201
202config BUILTIN_DTB
203 string "DTB to build into the kernel image"
204 depends on OF
205
Victor Prupisb6c7e872008-05-19 14:50:38 -0700206config BLK_DEV_SIMDISK
207 tristate "Host file-based simulated block device support"
208 default n
209 depends on XTENSA_PLATFORM_ISS
210 help
211 Create block devices that map to files in the host file system.
212 Device binding to host file may be changed at runtime via proc
213 interface provided the device is not in use.
214
215config BLK_DEV_SIMDISK_COUNT
216 int "Number of host file-based simulated block devices"
217 range 1 10
218 depends on BLK_DEV_SIMDISK
219 default 2
220 help
221 This is the default minimal number of created block devices.
222 Kernel/module parameter 'simdisk_count' may be used to change this
223 value at runtime. More file names (but no more than 10) may be
224 specified as parameters, simdisk_count grows accordingly.
225
226config SIMDISK0_FILENAME
227 string "Host filename for the first simulated device"
228 depends on BLK_DEV_SIMDISK = y
229 default ""
230 help
231 Attach a first simdisk to a host file. Conventionally, this file
232 contains a root file system.
233
234config SIMDISK1_FILENAME
235 string "Host filename for the second simulated device"
236 depends on BLK_DEV_SIMDISK = y && BLK_DEV_SIMDISK_COUNT != 1
237 default ""
238 help
239 Another simulated disk in a host file for a buildroot-independent
240 storage.
241
Chris Zankel82300bf2005-06-30 02:58:58 -0700242source "mm/Kconfig"
243
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700244source "drivers/pcmcia/Kconfig"
245
246source "drivers/pci/hotplug/Kconfig"
247
248endmenu
249
Matt LaPlantecab00892006-10-03 22:36:44 +0200250menu "Executable file formats"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700251
252# only elf supported
253config KCORE_ELF
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100254 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700255 depends on PROC_FS
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700256 help
257 If you enabled support for /proc file system then the file
258 /proc/kcore will contain the kernel core image in ELF format. This
259 can be used in gdb:
260
261 $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
262
263 This is especially useful if you have compiled the kernel with the
264 "-g" option to preserve debugging information. It is mainly used
265 for examining kernel data structures on the live kernel.
266
267source "fs/Kconfig.binfmt"
268
269endmenu
270
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700271source "net/Kconfig"
272
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700273source "drivers/Kconfig"
274
275source "fs/Kconfig"
276
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700277source "arch/xtensa/Kconfig.debug"
278
279source "security/Kconfig"
280
281source "crypto/Kconfig"
282
283source "lib/Kconfig"
284
285