blob: 7d0bb9866ae8b2188c2fb500bcb6b2da7171d7a3 [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
danne6ffe172008-05-21 17:43:50 -070020 select HAVE_OPROFILE
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070021 help
22 Xtensa processors are 32-bit RISC machines designed by Tensilica
23 primarily for embedded systems. These processors are both
24 configurable and extensible. The Linux port to the Xtensa
25 architecture supports all processor configurations and extensions,
26 with reasonable minimum requirements. The Xtensa Linux project has
27 a home page at <http://xtensa.sourceforge.net/>.
28
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070029config RWSEM_XCHGADD_ALGORITHM
Johannes Weiner35f9cd02009-03-04 16:21:28 +010030 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070031
Akinobu Mitad4337aa2006-03-26 01:39:43 -080032config GENERIC_HWEIGHT
Johannes Weiner35f9cd02009-03-04 16:21:28 +010033 def_bool y
Akinobu Mitad4337aa2006-03-26 01:39:43 -080034
Johannes Weiner000af2c2009-03-04 16:21:32 +010035config GENERIC_GPIO
Max Filippove98c5b52013-02-21 13:07:22 +040036 bool
Johannes Weiner000af2c2009-03-04 16:21:32 +010037
David Howellsf0d1b0b2006-12-08 02:37:49 -080038config ARCH_HAS_ILOG2_U32
Johannes Weiner35f9cd02009-03-04 16:21:28 +010039 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080040
41config ARCH_HAS_ILOG2_U64
Johannes Weiner35f9cd02009-03-04 16:21:28 +010042 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080043
Al Viro5ea81762007-02-11 15:41:31 +000044config NO_IOPORT
Max Filippovd046f772012-09-17 05:44:41 +040045 def_bool n
Al Viro5ea81762007-02-11 15:41:31 +000046
H. Peter Anvinbdc80782008-02-08 04:21:26 -080047config HZ
48 int
49 default 100
50
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070051source "init/Kconfig"
Matt Helsleydc52ddc2008-10-18 20:27:21 -070052source "kernel/Kconfig.freezer"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070053
Johannes Weiner35f9cd02009-03-04 16:21:28 +010054config MMU
55 def_bool n
56
Johannes Weiner4c0d2142009-03-04 16:21:31 +010057config VARIANT_IRQ_SWITCH
58 def_bool n
59
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070060menu "Processor type and features"
61
62choice
63 prompt "Xtensa Processor Configuration"
Chris Zankel173d6682006-12-10 02:18:48 -080064 default XTENSA_VARIANT_FSF
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070065
Chris Zankel173d6682006-12-10 02:18:48 -080066config XTENSA_VARIANT_FSF
Chris Zankel00254272008-10-21 09:11:43 -070067 bool "fsf - default (not generic) configuration"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010068 select MMU
Chris Zankel00254272008-10-21 09:11:43 -070069
70config XTENSA_VARIANT_DC232B
71 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010072 select MMU
Chris Zankel00254272008-10-21 09:11:43 -070073 help
Johannes Weiner35f9cd02009-03-04 16:21:28 +010074 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
Johannes Weiner000af2c2009-03-04 16:21:32 +010075
Pete Delaneyd0b73b42013-01-05 04:57:16 +040076config XTENSA_VARIANT_DC233C
77 bool "dc233c - Diamond 233L Standard Core Rev.C (LE)"
78 select MMU
79 help
80 This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
81
Johannes Weiner000af2c2009-03-04 16:21:32 +010082config XTENSA_VARIANT_S6000
83 bool "s6000 - Stretch software configurable processor"
84 select VARIANT_IRQ_SWITCH
85 select ARCH_REQUIRE_GPIOLIB
Oskar Schirmerb070a032009-05-11 15:43:36 +020086 select XTENSA_CALIBRATE_CCOUNT
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070087endchoice
88
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070089config XTENSA_UNALIGNED_USER
90 bool "Unaligned memory access in use space"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010091 help
92 The Xtensa architecture currently does not handle unaligned
93 memory accesses in hardware but through an exception handler.
94 Per default, unaligned memory accesses are disabled in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070095
Johannes Weiner35f9cd02009-03-04 16:21:28 +010096 Say Y here to enable unaligned memory access in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070097
Frederic Weisbeckerbd96efe2011-07-05 17:45:34 +020098source "kernel/Kconfig.preempt"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070099
100config MATH_EMULATION
101 bool "Math emulation"
102 help
103 Can we use information of configuration file?
104
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700105endmenu
106
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100107config XTENSA_CALIBRATE_CCOUNT
108 def_bool n
109 help
110 On some platforms (XT2000, for example), the CPU clock rate can
111 vary. The frequency can be determined, however, by measuring
112 against a well known, fixed frequency, such as an UART oscillator.
113
114config SERIAL_CONSOLE
115 def_bool n
116
117config XTENSA_ISS_NETWORK
118 def_bool n
119
120menu "Bus options"
121
122config PCI
123 bool "PCI support"
124 default y
125 help
126 Find out whether you have a PCI motherboard. PCI is the name of a
127 bus system, i.e. the way the CPU talks to the other stuff inside
128 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
129 VESA. If you have PCI, say Y, otherwise N.
130
131source "drivers/pci/Kconfig"
132
Chris Zankel35e71f92009-04-16 00:25:39 -0700133endmenu
134
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700135menu "Platform options"
136
137choice
138 prompt "Xtensa System Type"
139 default XTENSA_PLATFORM_ISS
140
141config XTENSA_PLATFORM_ISS
142 bool "ISS"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100143 select XTENSA_CALIBRATE_CCOUNT
144 select SERIAL_CONSOLE
145 select XTENSA_ISS_NETWORK
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700146 help
147 ISS is an acronym for Tensilica's Instruction Set Simulator.
148
149config XTENSA_PLATFORM_XT2000
150 bool "XT2000"
151 help
152 XT2000 is the name of Tensilica's feature-rich emulation platform.
153 This hardware is capable of running a full Linux distribution.
154
Johannes Weinerf82e9392009-03-04 16:21:33 +0100155config XTENSA_PLATFORM_S6105
156 bool "S6105"
157 select SERIAL_CONSOLE
Max Filippovd046f772012-09-17 05:44:41 +0400158 select NO_IOPORT
Johannes Weinerf82e9392009-03-04 16:21:33 +0100159
Max Filippov0d456ba2012-11-05 07:37:14 +0400160config XTENSA_PLATFORM_XTFPGA
161 bool "XTFPGA"
162 select SERIAL_CONSOLE
163 select ETHOC
164 select XTENSA_CALIBRATE_CCOUNT
165 help
166 XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
167 This hardware is capable of running a full Linux distribution.
168
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700169endchoice
170
171
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700172config XTENSA_CPU_CLOCK
173 int "CPU clock rate [MHz]"
174 depends on !XTENSA_CALIBRATE_CCOUNT
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100175 default 16
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700176
177config GENERIC_CALIBRATE_DELAY
178 bool "Auto calibration of the BogoMIPS value"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100179 help
Chris Zankel82300bf2005-06-30 02:58:58 -0700180 The BogoMIPS value can easily be derived from the CPU frequency.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700181
182config CMDLINE_BOOL
183 bool "Default bootloader kernel arguments"
184
185config CMDLINE
186 string "Initial kernel command string"
187 depends on CMDLINE_BOOL
188 default "console=ttyS0,38400 root=/dev/ram"
189 help
190 On some architectures (EBSA110 and CATS), there is currently no way
191 for the boot loader to pass arguments to the kernel. For these
192 architectures, you should supply some command-line options at build
193 time by entering them here. As a minimum, you should specify the
194 memory size and the root device (e.g., mem=64M root=/dev/nfs).
195
Max Filippovda844a82012-11-04 00:30:13 +0400196config USE_OF
197 bool "Flattened Device Tree support"
198 select OF
199 select OF_EARLY_FLATTREE
200 help
201 Include support for flattened device tree machine descriptions.
202
203config BUILTIN_DTB
204 string "DTB to build into the kernel image"
205 depends on OF
206
Victor Prupisb6c7e872008-05-19 14:50:38 -0700207config BLK_DEV_SIMDISK
208 tristate "Host file-based simulated block device support"
209 default n
210 depends on XTENSA_PLATFORM_ISS
211 help
212 Create block devices that map to files in the host file system.
213 Device binding to host file may be changed at runtime via proc
214 interface provided the device is not in use.
215
216config BLK_DEV_SIMDISK_COUNT
217 int "Number of host file-based simulated block devices"
218 range 1 10
219 depends on BLK_DEV_SIMDISK
220 default 2
221 help
222 This is the default minimal number of created block devices.
223 Kernel/module parameter 'simdisk_count' may be used to change this
224 value at runtime. More file names (but no more than 10) may be
225 specified as parameters, simdisk_count grows accordingly.
226
227config SIMDISK0_FILENAME
228 string "Host filename for the first simulated device"
229 depends on BLK_DEV_SIMDISK = y
230 default ""
231 help
232 Attach a first simdisk to a host file. Conventionally, this file
233 contains a root file system.
234
235config SIMDISK1_FILENAME
236 string "Host filename for the second simulated device"
237 depends on BLK_DEV_SIMDISK = y && BLK_DEV_SIMDISK_COUNT != 1
238 default ""
239 help
240 Another simulated disk in a host file for a buildroot-independent
241 storage.
242
Chris Zankel82300bf2005-06-30 02:58:58 -0700243source "mm/Kconfig"
244
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700245source "drivers/pcmcia/Kconfig"
246
247source "drivers/pci/hotplug/Kconfig"
248
249endmenu
250
Matt LaPlantecab00892006-10-03 22:36:44 +0200251menu "Executable file formats"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700252
253# only elf supported
254config KCORE_ELF
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100255 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700256 depends on PROC_FS
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700257 help
258 If you enabled support for /proc file system then the file
259 /proc/kcore will contain the kernel core image in ELF format. This
260 can be used in gdb:
261
262 $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
263
264 This is especially useful if you have compiled the kernel with the
265 "-g" option to preserve debugging information. It is mainly used
266 for examining kernel data structures on the live kernel.
267
268source "fs/Kconfig.binfmt"
269
270endmenu
271
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700272source "net/Kconfig"
273
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700274source "drivers/Kconfig"
275
276source "fs/Kconfig"
277
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700278source "arch/xtensa/Kconfig.debug"
279
280source "security/Kconfig"
281
282source "crypto/Kconfig"
283
284source "lib/Kconfig"
285
286