Commit | Line | Data |
---|---|---|
8e1a6dd2 | 1 | config FRAME_POINTER |
35f9cd08 | 2 | def_bool n |
8e1a6dd2 | 3 | |
66701b14 | 4 | config ZONE_DMA |
35f9cd08 | 5 | def_bool y |
66701b14 | 6 | |
8e1a6dd2 | 7 | config XTENSA |
35f9cd08 | 8 | def_bool y |
ec7748b5 | 9 | select HAVE_IDE |
c66af411 | 10 | select GENERIC_ATOMIC64 |
3b190a4a | 11 | select HAVE_GENERIC_HARDIRQS |
4febd95a | 12 | select VIRT_TO_BUS |
47a5d9dc | 13 | select GENERIC_IRQ_SHOW |
9f13a1fd | 14 | select GENERIC_CPU_DEVICES |
d38efc1f MF |
15 | select MODULES_USE_ELF_RELA |
16 | select GENERIC_PCI_IOMAP | |
e969161b | 17 | select ARCH_WANT_IPC_PARSE_VERSION |
6ed65f37 | 18 | select ARCH_WANT_OPTIONAL_GPIOLIB |
3e41f9ba | 19 | select CLONE_BACKWARDS |
2206d5dd | 20 | select IRQ_DOMAIN |
e6ffe17e | 21 | select HAVE_OPROFILE |
8e1a6dd2 CZ |
22 | help |
23 | Xtensa processors are 32-bit RISC machines designed by Tensilica | |
24 | primarily for embedded systems. These processors are both | |
25 | configurable and extensible. The Linux port to the Xtensa | |
26 | architecture supports all processor configurations and extensions, | |
27 | with reasonable minimum requirements. The Xtensa Linux project has | |
0ada4490 | 28 | a home page at <http://www.linux-xtensa.org/>. |
8e1a6dd2 | 29 | |
8e1a6dd2 | 30 | config RWSEM_XCHGADD_ALGORITHM |
35f9cd08 | 31 | def_bool y |
8e1a6dd2 | 32 | |
d4337aa5 | 33 | config GENERIC_HWEIGHT |
35f9cd08 | 34 | def_bool y |
d4337aa5 | 35 | |
f0d1b0b3 | 36 | config ARCH_HAS_ILOG2_U32 |
35f9cd08 | 37 | def_bool n |
f0d1b0b3 DH |
38 | |
39 | config ARCH_HAS_ILOG2_U64 | |
35f9cd08 | 40 | def_bool n |
f0d1b0b3 | 41 | |
5ea81769 | 42 | config NO_IOPORT |
d046f77e | 43 | def_bool n |
5ea81769 | 44 | |
bdc80787 PA |
45 | config HZ |
46 | int | |
47 | default 100 | |
48 | ||
8e1a6dd2 | 49 | source "init/Kconfig" |
dc52ddc0 | 50 | source "kernel/Kconfig.freezer" |
8e1a6dd2 | 51 | |
35f9cd08 JW |
52 | config MMU |
53 | def_bool n | |
54 | ||
4c0d2141 JW |
55 | config VARIANT_IRQ_SWITCH |
56 | def_bool n | |
57 | ||
8e1a6dd2 CZ |
58 | menu "Processor type and features" |
59 | ||
60 | choice | |
61 | prompt "Xtensa Processor Configuration" | |
173d6681 | 62 | default XTENSA_VARIANT_FSF |
8e1a6dd2 | 63 | |
173d6681 | 64 | config XTENSA_VARIANT_FSF |
0025427e | 65 | bool "fsf - default (not generic) configuration" |
35f9cd08 | 66 | select MMU |
0025427e CZ |
67 | |
68 | config XTENSA_VARIANT_DC232B | |
69 | bool "dc232b - Diamond 232L Standard Core Rev.B (LE)" | |
35f9cd08 | 70 | select MMU |
0025427e | 71 | help |
35f9cd08 | 72 | This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE). |
000af2c5 | 73 | |
d0b73b48 PD |
74 | config XTENSA_VARIANT_DC233C |
75 | bool "dc233c - Diamond 233L Standard Core Rev.C (LE)" | |
76 | select MMU | |
77 | help | |
78 | This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE). | |
79 | ||
000af2c5 JW |
80 | config XTENSA_VARIANT_S6000 |
81 | bool "s6000 - Stretch software configurable processor" | |
82 | select VARIANT_IRQ_SWITCH | |
83 | select ARCH_REQUIRE_GPIOLIB | |
b070a03f | 84 | select XTENSA_CALIBRATE_CCOUNT |
8e1a6dd2 CZ |
85 | endchoice |
86 | ||
8e1a6dd2 CZ |
87 | config XTENSA_UNALIGNED_USER |
88 | bool "Unaligned memory access in use space" | |
35f9cd08 JW |
89 | help |
90 | The Xtensa architecture currently does not handle unaligned | |
91 | memory accesses in hardware but through an exception handler. | |
92 | Per default, unaligned memory accesses are disabled in user space. | |
8e1a6dd2 | 93 | |
35f9cd08 | 94 | Say Y here to enable unaligned memory access in user space. |
8e1a6dd2 | 95 | |
bd96efe1 | 96 | source "kernel/Kconfig.preempt" |
8e1a6dd2 CZ |
97 | |
98 | config MATH_EMULATION | |
99 | bool "Math emulation" | |
100 | help | |
101 | Can we use information of configuration file? | |
102 | ||
8e1a6dd2 CZ |
103 | endmenu |
104 | ||
35f9cd08 JW |
105 | config XTENSA_CALIBRATE_CCOUNT |
106 | def_bool n | |
107 | help | |
108 | On some platforms (XT2000, for example), the CPU clock rate can | |
109 | vary. The frequency can be determined, however, by measuring | |
110 | against a well known, fixed frequency, such as an UART oscillator. | |
111 | ||
112 | config SERIAL_CONSOLE | |
113 | def_bool n | |
114 | ||
115 | config XTENSA_ISS_NETWORK | |
116 | def_bool n | |
117 | ||
118 | menu "Bus options" | |
119 | ||
120 | config PCI | |
121 | bool "PCI support" | |
122 | default y | |
123 | help | |
124 | Find out whether you have a PCI motherboard. PCI is the name of a | |
125 | bus system, i.e. the way the CPU talks to the other stuff inside | |
126 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | |
127 | VESA. If you have PCI, say Y, otherwise N. | |
128 | ||
129 | source "drivers/pci/Kconfig" | |
130 | ||
35e71f90 CZ |
131 | endmenu |
132 | ||
8e1a6dd2 CZ |
133 | menu "Platform options" |
134 | ||
135 | choice | |
136 | prompt "Xtensa System Type" | |
137 | default XTENSA_PLATFORM_ISS | |
138 | ||
139 | config XTENSA_PLATFORM_ISS | |
140 | bool "ISS" | |
4f73bc4d | 141 | depends on TTY |
35f9cd08 JW |
142 | select XTENSA_CALIBRATE_CCOUNT |
143 | select SERIAL_CONSOLE | |
144 | select XTENSA_ISS_NETWORK | |
8e1a6dd2 CZ |
145 | help |
146 | ISS is an acronym for Tensilica's Instruction Set Simulator. | |
147 | ||
148 | config 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 | ||
f82e939f JW |
154 | config XTENSA_PLATFORM_S6105 |
155 | bool "S6105" | |
156 | select SERIAL_CONSOLE | |
d046f77e | 157 | select NO_IOPORT |
f82e939f | 158 | |
0d456bad MF |
159 | config 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 | ||
8e1a6dd2 CZ |
168 | endchoice |
169 | ||
170 | ||
8e1a6dd2 CZ |
171 | config XTENSA_CPU_CLOCK |
172 | int "CPU clock rate [MHz]" | |
173 | depends on !XTENSA_CALIBRATE_CCOUNT | |
35f9cd08 | 174 | default 16 |
8e1a6dd2 CZ |
175 | |
176 | config GENERIC_CALIBRATE_DELAY | |
177 | bool "Auto calibration of the BogoMIPS value" | |
35f9cd08 | 178 | help |
82300bf4 | 179 | The BogoMIPS value can easily be derived from the CPU frequency. |
8e1a6dd2 CZ |
180 | |
181 | config CMDLINE_BOOL | |
182 | bool "Default bootloader kernel arguments" | |
183 | ||
184 | config 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 | ||
da844a81 MF |
195 | config 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 | ||
202 | config BUILTIN_DTB | |
203 | string "DTB to build into the kernel image" | |
204 | depends on OF | |
205 | ||
b6c7e873 VP |
206 | config 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 | ||
215 | config 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 | ||
226 | config 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 | ||
234 | config 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 | ||
82300bf4 CZ |
242 | source "mm/Kconfig" |
243 | ||
8e1a6dd2 CZ |
244 | source "drivers/pcmcia/Kconfig" |
245 | ||
246 | source "drivers/pci/hotplug/Kconfig" | |
247 | ||
248 | endmenu | |
249 | ||
cab00891 | 250 | menu "Executable file formats" |
8e1a6dd2 CZ |
251 | |
252 | # only elf supported | |
253 | config KCORE_ELF | |
35f9cd08 | 254 | def_bool y |
8e1a6dd2 | 255 | depends on PROC_FS |
8e1a6dd2 CZ |
256 | 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 | ||
267 | source "fs/Kconfig.binfmt" | |
268 | ||
269 | endmenu | |
270 | ||
d5950b43 SR |
271 | source "net/Kconfig" |
272 | ||
8e1a6dd2 CZ |
273 | source "drivers/Kconfig" |
274 | ||
275 | source "fs/Kconfig" | |
276 | ||
8e1a6dd2 CZ |
277 | source "arch/xtensa/Kconfig.debug" |
278 | ||
279 | source "security/Kconfig" | |
280 | ||
281 | source "crypto/Kconfig" | |
282 | ||
283 | source "lib/Kconfig" | |
284 | ||
285 |