]>
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 |
3b190a4a TG |
10 | select HAVE_GENERIC_HARDIRQS |
11 | select GENERIC_HARDIRQS_NO_DEPRECATED | |
8e1a6dd2 CZ |
12 | help |
13 | Xtensa processors are 32-bit RISC machines designed by Tensilica | |
14 | primarily for embedded systems. These processors are both | |
15 | configurable and extensible. The Linux port to the Xtensa | |
16 | architecture supports all processor configurations and extensions, | |
17 | with reasonable minimum requirements. The Xtensa Linux project has | |
18 | a home page at <http://xtensa.sourceforge.net/>. | |
19 | ||
8e1a6dd2 | 20 | config RWSEM_XCHGADD_ALGORITHM |
35f9cd08 | 21 | def_bool y |
8e1a6dd2 | 22 | |
d4337aa5 | 23 | config GENERIC_FIND_NEXT_BIT |
35f9cd08 | 24 | def_bool y |
d4337aa5 AM |
25 | |
26 | config GENERIC_HWEIGHT | |
35f9cd08 | 27 | def_bool y |
d4337aa5 | 28 | |
000af2c5 JW |
29 | config GENERIC_GPIO |
30 | def_bool y | |
31 | ||
f0d1b0b3 | 32 | config ARCH_HAS_ILOG2_U32 |
35f9cd08 | 33 | def_bool n |
f0d1b0b3 DH |
34 | |
35 | config ARCH_HAS_ILOG2_U64 | |
35f9cd08 | 36 | def_bool n |
f0d1b0b3 | 37 | |
5ea81769 AV |
38 | config NO_IOPORT |
39 | def_bool y | |
40 | ||
bdc80787 PA |
41 | config HZ |
42 | int | |
43 | default 100 | |
44 | ||
8e1a6dd2 | 45 | source "init/Kconfig" |
dc52ddc0 | 46 | source "kernel/Kconfig.freezer" |
8e1a6dd2 | 47 | |
35f9cd08 JW |
48 | config MMU |
49 | def_bool n | |
50 | ||
4c0d2141 JW |
51 | config VARIANT_IRQ_SWITCH |
52 | def_bool n | |
53 | ||
8e1a6dd2 CZ |
54 | menu "Processor type and features" |
55 | ||
56 | choice | |
57 | prompt "Xtensa Processor Configuration" | |
173d6681 | 58 | default XTENSA_VARIANT_FSF |
8e1a6dd2 | 59 | |
173d6681 | 60 | config XTENSA_VARIANT_FSF |
0025427e | 61 | bool "fsf - default (not generic) configuration" |
35f9cd08 | 62 | select MMU |
0025427e CZ |
63 | |
64 | config XTENSA_VARIANT_DC232B | |
65 | bool "dc232b - Diamond 232L Standard Core Rev.B (LE)" | |
35f9cd08 | 66 | select MMU |
0025427e | 67 | help |
35f9cd08 | 68 | This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE). |
000af2c5 JW |
69 | |
70 | config XTENSA_VARIANT_S6000 | |
71 | bool "s6000 - Stretch software configurable processor" | |
72 | select VARIANT_IRQ_SWITCH | |
73 | select ARCH_REQUIRE_GPIOLIB | |
b070a03f | 74 | select XTENSA_CALIBRATE_CCOUNT |
8e1a6dd2 CZ |
75 | endchoice |
76 | ||
8e1a6dd2 CZ |
77 | config XTENSA_UNALIGNED_USER |
78 | bool "Unaligned memory access in use space" | |
35f9cd08 JW |
79 | help |
80 | The Xtensa architecture currently does not handle unaligned | |
81 | memory accesses in hardware but through an exception handler. | |
82 | Per default, unaligned memory accesses are disabled in user space. | |
8e1a6dd2 | 83 | |
35f9cd08 | 84 | Say Y here to enable unaligned memory access in user space. |
8e1a6dd2 CZ |
85 | |
86 | config PREEMPT | |
87 | bool "Preemptible Kernel" | |
35f9cd08 JW |
88 | help |
89 | This option reduces the latency of the kernel when reacting to | |
90 | real-time or interactive events by allowing a low priority process to | |
91 | be preempted even if it is in kernel mode executing a system call. | |
92 | Unfortunately the kernel code has some race conditions if both | |
93 | CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is | |
94 | currently disabled if you are building an SMP kernel. | |
8e1a6dd2 | 95 | |
35f9cd08 JW |
96 | Say Y here if you are building a kernel for a desktop, embedded |
97 | or real-time system. Say N if you are unsure. | |
8e1a6dd2 CZ |
98 | |
99 | config MATH_EMULATION | |
100 | bool "Math emulation" | |
101 | help | |
102 | Can we use information of configuration file? | |
103 | ||
8e1a6dd2 CZ |
104 | endmenu |
105 | ||
35f9cd08 JW |
106 | config 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 | ||
113 | config SERIAL_CONSOLE | |
114 | def_bool n | |
115 | ||
116 | config XTENSA_ISS_NETWORK | |
117 | def_bool n | |
118 | ||
119 | menu "Bus options" | |
120 | ||
121 | config 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 | ||
130 | source "drivers/pci/Kconfig" | |
131 | ||
35e71f90 CZ |
132 | endmenu |
133 | ||
8e1a6dd2 CZ |
134 | menu "Platform options" |
135 | ||
136 | choice | |
137 | prompt "Xtensa System Type" | |
138 | default XTENSA_PLATFORM_ISS | |
139 | ||
140 | config XTENSA_PLATFORM_ISS | |
141 | bool "ISS" | |
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 | |
157 | ||
8e1a6dd2 CZ |
158 | endchoice |
159 | ||
160 | ||
8e1a6dd2 CZ |
161 | config XTENSA_CPU_CLOCK |
162 | int "CPU clock rate [MHz]" | |
163 | depends on !XTENSA_CALIBRATE_CCOUNT | |
35f9cd08 | 164 | default 16 |
8e1a6dd2 CZ |
165 | |
166 | config GENERIC_CALIBRATE_DELAY | |
167 | bool "Auto calibration of the BogoMIPS value" | |
35f9cd08 | 168 | help |
82300bf4 | 169 | The BogoMIPS value can easily be derived from the CPU frequency. |
8e1a6dd2 CZ |
170 | |
171 | config CMDLINE_BOOL | |
172 | bool "Default bootloader kernel arguments" | |
173 | ||
174 | config CMDLINE | |
175 | string "Initial kernel command string" | |
176 | depends on CMDLINE_BOOL | |
177 | default "console=ttyS0,38400 root=/dev/ram" | |
178 | help | |
179 | On some architectures (EBSA110 and CATS), there is currently no way | |
180 | for the boot loader to pass arguments to the kernel. For these | |
181 | architectures, you should supply some command-line options at build | |
182 | time by entering them here. As a minimum, you should specify the | |
183 | memory size and the root device (e.g., mem=64M root=/dev/nfs). | |
184 | ||
82300bf4 CZ |
185 | source "mm/Kconfig" |
186 | ||
35f9cd08 JW |
187 | config HOTPLUG |
188 | bool "Support for hot-pluggable devices" | |
8e1a6dd2 | 189 | help |
35f9cd08 JW |
190 | Say Y here if you want to plug devices into your computer while |
191 | the system is running, and be able to use them quickly. In many | |
192 | cases, the devices can likewise be unplugged at any time too. | |
8e1a6dd2 | 193 | |
35f9cd08 JW |
194 | One well known example of this is PCMCIA- or PC-cards, credit-card |
195 | size devices such as network cards, modems or hard drives which are | |
196 | plugged into slots found on all modern laptop computers. Another | |
197 | example, used on modern desktops as well as laptops, is USB. | |
8e1a6dd2 | 198 | |
35f9cd08 JW |
199 | Enable HOTPLUG and build a modular kernel. Get agent software |
200 | (from <http://linux-hotplug.sourceforge.net/>) and install it. | |
201 | Then your kernel will automatically call out to a user mode "policy | |
202 | agent" (/sbin/hotplug) to load modules and set up software needed | |
203 | to use devices as you hotplug them. | |
8e1a6dd2 CZ |
204 | |
205 | source "drivers/pcmcia/Kconfig" | |
206 | ||
207 | source "drivers/pci/hotplug/Kconfig" | |
208 | ||
209 | endmenu | |
210 | ||
cab00891 | 211 | menu "Executable file formats" |
8e1a6dd2 CZ |
212 | |
213 | # only elf supported | |
214 | config KCORE_ELF | |
35f9cd08 | 215 | def_bool y |
8e1a6dd2 | 216 | depends on PROC_FS |
8e1a6dd2 CZ |
217 | help |
218 | If you enabled support for /proc file system then the file | |
219 | /proc/kcore will contain the kernel core image in ELF format. This | |
220 | can be used in gdb: | |
221 | ||
222 | $ cd /usr/src/linux ; gdb vmlinux /proc/kcore | |
223 | ||
224 | This is especially useful if you have compiled the kernel with the | |
225 | "-g" option to preserve debugging information. It is mainly used | |
226 | for examining kernel data structures on the live kernel. | |
227 | ||
228 | source "fs/Kconfig.binfmt" | |
229 | ||
230 | endmenu | |
231 | ||
d5950b43 SR |
232 | source "net/Kconfig" |
233 | ||
8e1a6dd2 CZ |
234 | source "drivers/Kconfig" |
235 | ||
236 | source "fs/Kconfig" | |
237 | ||
238 | menu "Xtensa initrd options" | |
239 | depends on BLK_DEV_INITRD | |
240 | ||
35f9cd08 | 241 | config EMBEDDED_RAMDISK |
8e1a6dd2 CZ |
242 | bool "Embed root filesystem ramdisk into the kernel" |
243 | ||
244 | config EMBEDDED_RAMDISK_IMAGE | |
cab00891 | 245 | string "Filename of gzipped ramdisk image" |
8e1a6dd2 CZ |
246 | depends on EMBEDDED_RAMDISK |
247 | default "ramdisk.gz" | |
248 | help | |
249 | This is the filename of the ramdisk image to be built into the | |
250 | kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/. | |
251 | The ramdisk image is not part of the kernel distribution; you must | |
252 | provide one yourself. | |
253 | endmenu | |
254 | ||
255 | source "arch/xtensa/Kconfig.debug" | |
256 | ||
257 | source "security/Kconfig" | |
258 | ||
259 | source "crypto/Kconfig" | |
260 | ||
261 | source "lib/Kconfig" | |
262 | ||
263 |