blob: 2481f267be298a9c9b2f0891d703a15b8d725def [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 Filippov3306a722012-10-25 11:10:50 +040016 select GENERIC_KERNEL_THREAD
Max Filippovf0a1bf02012-10-25 11:10:51 +040017 select GENERIC_KERNEL_EXECVE
Max Filippov6ed65f32012-09-17 05:44:42 +040018 select ARCH_WANT_OPTIONAL_GPIOLIB
Al Viro3e41f9b2012-10-26 23:41:40 -040019 select CLONE_BACKWARDS
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 Weiner4c0d21412009-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
75config XTENSA_VARIANT_S6000
76 bool "s6000 - Stretch software configurable processor"
77 select VARIANT_IRQ_SWITCH
78 select ARCH_REQUIRE_GPIOLIB
Oskar Schirmerb070a032009-05-11 15:43:36 +020079 select XTENSA_CALIBRATE_CCOUNT
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070080endchoice
81
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070082config XTENSA_UNALIGNED_USER
83 bool "Unaligned memory access in use space"
Johannes Weiner35f9cd02009-03-04 16:21:28 +010084 help
85 The Xtensa architecture currently does not handle unaligned
86 memory accesses in hardware but through an exception handler.
87 Per default, unaligned memory accesses are disabled in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070088
Johannes Weiner35f9cd02009-03-04 16:21:28 +010089 Say Y here to enable unaligned memory access in user space.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070090
Frederic Weisbeckerbd96efe2011-07-05 17:45:34 +020091source "kernel/Kconfig.preempt"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070092
93config MATH_EMULATION
94 bool "Math emulation"
95 help
96 Can we use information of configuration file?
97
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070098endmenu
99
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100100config XTENSA_CALIBRATE_CCOUNT
101 def_bool n
102 help
103 On some platforms (XT2000, for example), the CPU clock rate can
104 vary. The frequency can be determined, however, by measuring
105 against a well known, fixed frequency, such as an UART oscillator.
106
107config SERIAL_CONSOLE
108 def_bool n
109
110config XTENSA_ISS_NETWORK
111 def_bool n
112
113menu "Bus options"
114
115config PCI
116 bool "PCI support"
117 default y
118 help
119 Find out whether you have a PCI motherboard. PCI is the name of a
120 bus system, i.e. the way the CPU talks to the other stuff inside
121 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
122 VESA. If you have PCI, say Y, otherwise N.
123
124source "drivers/pci/Kconfig"
125
Chris Zankel35e71f92009-04-16 00:25:39 -0700126endmenu
127
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700128menu "Platform options"
129
130choice
131 prompt "Xtensa System Type"
132 default XTENSA_PLATFORM_ISS
133
134config XTENSA_PLATFORM_ISS
135 bool "ISS"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100136 select XTENSA_CALIBRATE_CCOUNT
137 select SERIAL_CONSOLE
138 select XTENSA_ISS_NETWORK
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700139 help
140 ISS is an acronym for Tensilica's Instruction Set Simulator.
141
142config XTENSA_PLATFORM_XT2000
143 bool "XT2000"
144 help
145 XT2000 is the name of Tensilica's feature-rich emulation platform.
146 This hardware is capable of running a full Linux distribution.
147
Johannes Weinerf82e9392009-03-04 16:21:33 +0100148config XTENSA_PLATFORM_S6105
149 bool "S6105"
150 select SERIAL_CONSOLE
Max Filippovd046f772012-09-17 05:44:41 +0400151 select NO_IOPORT
Johannes Weinerf82e9392009-03-04 16:21:33 +0100152
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700153endchoice
154
155
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700156config XTENSA_CPU_CLOCK
157 int "CPU clock rate [MHz]"
158 depends on !XTENSA_CALIBRATE_CCOUNT
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100159 default 16
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700160
161config GENERIC_CALIBRATE_DELAY
162 bool "Auto calibration of the BogoMIPS value"
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100163 help
Chris Zankel82300bf2005-06-30 02:58:58 -0700164 The BogoMIPS value can easily be derived from the CPU frequency.
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700165
166config CMDLINE_BOOL
167 bool "Default bootloader kernel arguments"
168
169config CMDLINE
170 string "Initial kernel command string"
171 depends on CMDLINE_BOOL
172 default "console=ttyS0,38400 root=/dev/ram"
173 help
174 On some architectures (EBSA110 and CATS), there is currently no way
175 for the boot loader to pass arguments to the kernel. For these
176 architectures, you should supply some command-line options at build
177 time by entering them here. As a minimum, you should specify the
178 memory size and the root device (e.g., mem=64M root=/dev/nfs).
179
Chris Zankel82300bf2005-06-30 02:58:58 -0700180source "mm/Kconfig"
181
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700182source "drivers/pcmcia/Kconfig"
183
184source "drivers/pci/hotplug/Kconfig"
185
186endmenu
187
Matt LaPlantecab00892006-10-03 22:36:44 +0200188menu "Executable file formats"
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700189
190# only elf supported
191config KCORE_ELF
Johannes Weiner35f9cd02009-03-04 16:21:28 +0100192 def_bool y
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700193 depends on PROC_FS
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700194 help
195 If you enabled support for /proc file system then the file
196 /proc/kcore will contain the kernel core image in ELF format. This
197 can be used in gdb:
198
199 $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
200
201 This is especially useful if you have compiled the kernel with the
202 "-g" option to preserve debugging information. It is mainly used
203 for examining kernel data structures on the live kernel.
204
205source "fs/Kconfig.binfmt"
206
207endmenu
208
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700209source "net/Kconfig"
210
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700211source "drivers/Kconfig"
212
213source "fs/Kconfig"
214
Chris Zankel8e1a6dd2005-06-23 22:01:10 -0700215source "arch/xtensa/Kconfig.debug"
216
217source "security/Kconfig"
218
219source "crypto/Kconfig"
220
221source "lib/Kconfig"
222
223