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 |
8e1a6dd2 CZ |
10 | help |
11 | Xtensa processors are 32-bit RISC machines designed by Tensilica | |
12 | primarily for embedded systems. These processors are both | |
13 | configurable and extensible. The Linux port to the Xtensa | |
14 | architecture supports all processor configurations and extensions, | |
15 | with reasonable minimum requirements. The Xtensa Linux project has | |
16 | a home page at <http://xtensa.sourceforge.net/>. | |
17 | ||
8e1a6dd2 | 18 | config RWSEM_XCHGADD_ALGORITHM |
35f9cd08 | 19 | def_bool y |
8e1a6dd2 | 20 | |
d4337aa5 | 21 | config GENERIC_FIND_NEXT_BIT |
35f9cd08 | 22 | def_bool y |
d4337aa5 | 23 | |
0664996b AM |
24 | config GENERIC_FIND_BIT_LE |
25 | def_bool y | |
26 | ||
d4337aa5 | 27 | config GENERIC_HWEIGHT |
35f9cd08 | 28 | def_bool y |
d4337aa5 | 29 | |
8e1a6dd2 | 30 | config GENERIC_HARDIRQS |
35f9cd08 | 31 | def_bool y |
8e1a6dd2 | 32 | |
000af2c5 JW |
33 | config GENERIC_GPIO |
34 | def_bool y | |
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 AV |
42 | config NO_IOPORT |
43 | def_bool y | |
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 JW |
73 | |
74 | config XTENSA_VARIANT_S6000 | |
75 | bool "s6000 - Stretch software configurable processor" | |
76 | select VARIANT_IRQ_SWITCH | |
77 | select ARCH_REQUIRE_GPIOLIB | |
b070a03f | 78 | select XTENSA_CALIBRATE_CCOUNT |
8e1a6dd2 CZ |
79 | endchoice |
80 | ||
8e1a6dd2 CZ |
81 | config XTENSA_UNALIGNED_USER |
82 | bool "Unaligned memory access in use space" | |
35f9cd08 JW |
83 | help |
84 | The Xtensa architecture currently does not handle unaligned | |
85 | memory accesses in hardware but through an exception handler. | |
86 | Per default, unaligned memory accesses are disabled in user space. | |
8e1a6dd2 | 87 | |
35f9cd08 | 88 | Say Y here to enable unaligned memory access in user space. |
8e1a6dd2 CZ |
89 | |
90 | config PREEMPT | |
91 | bool "Preemptible Kernel" | |
35f9cd08 JW |
92 | help |
93 | This option reduces the latency of the kernel when reacting to | |
94 | real-time or interactive events by allowing a low priority process to | |
95 | be preempted even if it is in kernel mode executing a system call. | |
96 | Unfortunately the kernel code has some race conditions if both | |
97 | CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is | |
98 | currently disabled if you are building an SMP kernel. | |
8e1a6dd2 | 99 | |
35f9cd08 JW |
100 | Say Y here if you are building a kernel for a desktop, embedded |
101 | or real-time system. Say N if you are unsure. | |
8e1a6dd2 CZ |
102 | |
103 | config MATH_EMULATION | |
104 | bool "Math emulation" | |
105 | help | |
106 | Can we use information of configuration file? | |
107 | ||
8e1a6dd2 CZ |
108 | endmenu |
109 | ||
35f9cd08 JW |
110 | config XTENSA_CALIBRATE_CCOUNT |
111 | def_bool n | |
112 | help | |
113 | On some platforms (XT2000, for example), the CPU clock rate can | |
114 | vary. The frequency can be determined, however, by measuring | |
115 | against a well known, fixed frequency, such as an UART oscillator. | |
116 | ||
117 | config SERIAL_CONSOLE | |
118 | def_bool n | |
119 | ||
120 | config XTENSA_ISS_NETWORK | |
121 | def_bool n | |
122 | ||
123 | menu "Bus options" | |
124 | ||
125 | config PCI | |
126 | bool "PCI support" | |
127 | default y | |
128 | help | |
129 | Find out whether you have a PCI motherboard. PCI is the name of a | |
130 | bus system, i.e. the way the CPU talks to the other stuff inside | |
131 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | |
132 | VESA. If you have PCI, say Y, otherwise N. | |
133 | ||
134 | source "drivers/pci/Kconfig" | |
135 | ||
35e71f90 CZ |
136 | endmenu |
137 | ||
8e1a6dd2 CZ |
138 | menu "Platform options" |
139 | ||
140 | choice | |
141 | prompt "Xtensa System Type" | |
142 | default XTENSA_PLATFORM_ISS | |
143 | ||
144 | config XTENSA_PLATFORM_ISS | |
145 | bool "ISS" | |
35f9cd08 JW |
146 | select XTENSA_CALIBRATE_CCOUNT |
147 | select SERIAL_CONSOLE | |
148 | select XTENSA_ISS_NETWORK | |
8e1a6dd2 CZ |
149 | help |
150 | ISS is an acronym for Tensilica's Instruction Set Simulator. | |
151 | ||
152 | config XTENSA_PLATFORM_XT2000 | |
153 | bool "XT2000" | |
154 | help | |
155 | XT2000 is the name of Tensilica's feature-rich emulation platform. | |
156 | This hardware is capable of running a full Linux distribution. | |
157 | ||
f82e939f JW |
158 | config XTENSA_PLATFORM_S6105 |
159 | bool "S6105" | |
160 | select SERIAL_CONSOLE | |
161 | ||
8e1a6dd2 CZ |
162 | endchoice |
163 | ||
164 | ||
8e1a6dd2 CZ |
165 | config XTENSA_CPU_CLOCK |
166 | int "CPU clock rate [MHz]" | |
167 | depends on !XTENSA_CALIBRATE_CCOUNT | |
35f9cd08 | 168 | default 16 |
8e1a6dd2 CZ |
169 | |
170 | config GENERIC_CALIBRATE_DELAY | |
171 | bool "Auto calibration of the BogoMIPS value" | |
35f9cd08 | 172 | help |
82300bf4 | 173 | The BogoMIPS value can easily be derived from the CPU frequency. |
8e1a6dd2 CZ |
174 | |
175 | config CMDLINE_BOOL | |
176 | bool "Default bootloader kernel arguments" | |
177 | ||
178 | config CMDLINE | |
179 | string "Initial kernel command string" | |
180 | depends on CMDLINE_BOOL | |
181 | default "console=ttyS0,38400 root=/dev/ram" | |
182 | help | |
183 | On some architectures (EBSA110 and CATS), there is currently no way | |
184 | for the boot loader to pass arguments to the kernel. For these | |
185 | architectures, you should supply some command-line options at build | |
186 | time by entering them here. As a minimum, you should specify the | |
187 | memory size and the root device (e.g., mem=64M root=/dev/nfs). | |
188 | ||
82300bf4 CZ |
189 | source "mm/Kconfig" |
190 | ||
35f9cd08 JW |
191 | config HOTPLUG |
192 | bool "Support for hot-pluggable devices" | |
8e1a6dd2 | 193 | help |
35f9cd08 JW |
194 | Say Y here if you want to plug devices into your computer while |
195 | the system is running, and be able to use them quickly. In many | |
196 | cases, the devices can likewise be unplugged at any time too. | |
8e1a6dd2 | 197 | |
35f9cd08 JW |
198 | One well known example of this is PCMCIA- or PC-cards, credit-card |
199 | size devices such as network cards, modems or hard drives which are | |
200 | plugged into slots found on all modern laptop computers. Another | |
201 | example, used on modern desktops as well as laptops, is USB. | |
8e1a6dd2 | 202 | |
35f9cd08 JW |
203 | Enable HOTPLUG and build a modular kernel. Get agent software |
204 | (from <http://linux-hotplug.sourceforge.net/>) and install it. | |
205 | Then your kernel will automatically call out to a user mode "policy | |
206 | agent" (/sbin/hotplug) to load modules and set up software needed | |
207 | to use devices as you hotplug them. | |
8e1a6dd2 CZ |
208 | |
209 | source "drivers/pcmcia/Kconfig" | |
210 | ||
211 | source "drivers/pci/hotplug/Kconfig" | |
212 | ||
213 | endmenu | |
214 | ||
cab00891 | 215 | menu "Executable file formats" |
8e1a6dd2 CZ |
216 | |
217 | # only elf supported | |
218 | config KCORE_ELF | |
35f9cd08 | 219 | def_bool y |
8e1a6dd2 | 220 | depends on PROC_FS |
8e1a6dd2 CZ |
221 | help |
222 | If you enabled support for /proc file system then the file | |
223 | /proc/kcore will contain the kernel core image in ELF format. This | |
224 | can be used in gdb: | |
225 | ||
226 | $ cd /usr/src/linux ; gdb vmlinux /proc/kcore | |
227 | ||
228 | This is especially useful if you have compiled the kernel with the | |
229 | "-g" option to preserve debugging information. It is mainly used | |
230 | for examining kernel data structures on the live kernel. | |
231 | ||
232 | source "fs/Kconfig.binfmt" | |
233 | ||
234 | endmenu | |
235 | ||
d5950b43 SR |
236 | source "net/Kconfig" |
237 | ||
8e1a6dd2 CZ |
238 | source "drivers/Kconfig" |
239 | ||
240 | source "fs/Kconfig" | |
241 | ||
242 | menu "Xtensa initrd options" | |
243 | depends on BLK_DEV_INITRD | |
244 | ||
35f9cd08 | 245 | config EMBEDDED_RAMDISK |
8e1a6dd2 CZ |
246 | bool "Embed root filesystem ramdisk into the kernel" |
247 | ||
248 | config EMBEDDED_RAMDISK_IMAGE | |
cab00891 | 249 | string "Filename of gzipped ramdisk image" |
8e1a6dd2 CZ |
250 | depends on EMBEDDED_RAMDISK |
251 | default "ramdisk.gz" | |
252 | help | |
253 | This is the filename of the ramdisk image to be built into the | |
254 | kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/. | |
255 | The ramdisk image is not part of the kernel distribution; you must | |
256 | provide one yourself. | |
257 | endmenu | |
258 | ||
259 | source "arch/xtensa/Kconfig.debug" | |
260 | ||
261 | source "security/Kconfig" | |
262 | ||
263 | source "crypto/Kconfig" | |
264 | ||
265 | source "lib/Kconfig" | |
266 | ||
267 |