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 |
47a5d9dc | 12 | select GENERIC_IRQ_SHOW |
9f13a1fd | 13 | select GENERIC_CPU_DEVICES |
d38efc1f MF |
14 | select MODULES_USE_ELF_RELA |
15 | select GENERIC_PCI_IOMAP | |
6ed65f37 | 16 | select ARCH_WANT_OPTIONAL_GPIOLIB |
8e1a6dd2 CZ |
17 | help |
18 | Xtensa processors are 32-bit RISC machines designed by Tensilica | |
19 | primarily for embedded systems. These processors are both | |
20 | configurable and extensible. The Linux port to the Xtensa | |
21 | architecture supports all processor configurations and extensions, | |
22 | with reasonable minimum requirements. The Xtensa Linux project has | |
23 | a home page at <http://xtensa.sourceforge.net/>. | |
24 | ||
8e1a6dd2 | 25 | config RWSEM_XCHGADD_ALGORITHM |
35f9cd08 | 26 | def_bool y |
8e1a6dd2 | 27 | |
d4337aa5 | 28 | config GENERIC_HWEIGHT |
35f9cd08 | 29 | def_bool y |
d4337aa5 | 30 | |
000af2c5 JW |
31 | config GENERIC_GPIO |
32 | def_bool y | |
33 | ||
f0d1b0b3 | 34 | config ARCH_HAS_ILOG2_U32 |
35f9cd08 | 35 | def_bool n |
f0d1b0b3 DH |
36 | |
37 | config ARCH_HAS_ILOG2_U64 | |
35f9cd08 | 38 | def_bool n |
f0d1b0b3 | 39 | |
5ea81769 | 40 | config NO_IOPORT |
d046f77e | 41 | def_bool n |
5ea81769 | 42 | |
bdc80787 PA |
43 | config HZ |
44 | int | |
45 | default 100 | |
46 | ||
8e1a6dd2 | 47 | source "init/Kconfig" |
dc52ddc0 | 48 | source "kernel/Kconfig.freezer" |
8e1a6dd2 | 49 | |
35f9cd08 JW |
50 | config MMU |
51 | def_bool n | |
52 | ||
4c0d2141 JW |
53 | config VARIANT_IRQ_SWITCH |
54 | def_bool n | |
55 | ||
8e1a6dd2 CZ |
56 | menu "Processor type and features" |
57 | ||
58 | choice | |
59 | prompt "Xtensa Processor Configuration" | |
173d6681 | 60 | default XTENSA_VARIANT_FSF |
8e1a6dd2 | 61 | |
173d6681 | 62 | config XTENSA_VARIANT_FSF |
0025427e | 63 | bool "fsf - default (not generic) configuration" |
35f9cd08 | 64 | select MMU |
0025427e CZ |
65 | |
66 | config XTENSA_VARIANT_DC232B | |
67 | bool "dc232b - Diamond 232L Standard Core Rev.B (LE)" | |
35f9cd08 | 68 | select MMU |
0025427e | 69 | help |
35f9cd08 | 70 | This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE). |
000af2c5 JW |
71 | |
72 | config XTENSA_VARIANT_S6000 | |
73 | bool "s6000 - Stretch software configurable processor" | |
74 | select VARIANT_IRQ_SWITCH | |
75 | select ARCH_REQUIRE_GPIOLIB | |
b070a03f | 76 | select XTENSA_CALIBRATE_CCOUNT |
8e1a6dd2 CZ |
77 | endchoice |
78 | ||
8e1a6dd2 CZ |
79 | config XTENSA_UNALIGNED_USER |
80 | bool "Unaligned memory access in use space" | |
35f9cd08 JW |
81 | help |
82 | The Xtensa architecture currently does not handle unaligned | |
83 | memory accesses in hardware but through an exception handler. | |
84 | Per default, unaligned memory accesses are disabled in user space. | |
8e1a6dd2 | 85 | |
35f9cd08 | 86 | Say Y here to enable unaligned memory access in user space. |
8e1a6dd2 | 87 | |
bd96efe1 | 88 | source "kernel/Kconfig.preempt" |
8e1a6dd2 CZ |
89 | |
90 | config MATH_EMULATION | |
91 | bool "Math emulation" | |
92 | help | |
93 | Can we use information of configuration file? | |
94 | ||
8e1a6dd2 CZ |
95 | endmenu |
96 | ||
35f9cd08 JW |
97 | config XTENSA_CALIBRATE_CCOUNT |
98 | def_bool n | |
99 | help | |
100 | On some platforms (XT2000, for example), the CPU clock rate can | |
101 | vary. The frequency can be determined, however, by measuring | |
102 | against a well known, fixed frequency, such as an UART oscillator. | |
103 | ||
104 | config SERIAL_CONSOLE | |
105 | def_bool n | |
106 | ||
107 | config XTENSA_ISS_NETWORK | |
108 | def_bool n | |
109 | ||
110 | menu "Bus options" | |
111 | ||
112 | config PCI | |
113 | bool "PCI support" | |
114 | default y | |
115 | help | |
116 | Find out whether you have a PCI motherboard. PCI is the name of a | |
117 | bus system, i.e. the way the CPU talks to the other stuff inside | |
118 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | |
119 | VESA. If you have PCI, say Y, otherwise N. | |
120 | ||
121 | source "drivers/pci/Kconfig" | |
122 | ||
35e71f90 CZ |
123 | endmenu |
124 | ||
8e1a6dd2 CZ |
125 | menu "Platform options" |
126 | ||
127 | choice | |
128 | prompt "Xtensa System Type" | |
129 | default XTENSA_PLATFORM_ISS | |
130 | ||
131 | config XTENSA_PLATFORM_ISS | |
132 | bool "ISS" | |
35f9cd08 JW |
133 | select XTENSA_CALIBRATE_CCOUNT |
134 | select SERIAL_CONSOLE | |
135 | select XTENSA_ISS_NETWORK | |
8e1a6dd2 CZ |
136 | help |
137 | ISS is an acronym for Tensilica's Instruction Set Simulator. | |
138 | ||
139 | config XTENSA_PLATFORM_XT2000 | |
140 | bool "XT2000" | |
141 | help | |
142 | XT2000 is the name of Tensilica's feature-rich emulation platform. | |
143 | This hardware is capable of running a full Linux distribution. | |
144 | ||
f82e939f JW |
145 | config XTENSA_PLATFORM_S6105 |
146 | bool "S6105" | |
147 | select SERIAL_CONSOLE | |
d046f77e | 148 | select NO_IOPORT |
f82e939f | 149 | |
8e1a6dd2 CZ |
150 | endchoice |
151 | ||
152 | ||
8e1a6dd2 CZ |
153 | config XTENSA_CPU_CLOCK |
154 | int "CPU clock rate [MHz]" | |
155 | depends on !XTENSA_CALIBRATE_CCOUNT | |
35f9cd08 | 156 | default 16 |
8e1a6dd2 CZ |
157 | |
158 | config GENERIC_CALIBRATE_DELAY | |
159 | bool "Auto calibration of the BogoMIPS value" | |
35f9cd08 | 160 | help |
82300bf4 | 161 | The BogoMIPS value can easily be derived from the CPU frequency. |
8e1a6dd2 CZ |
162 | |
163 | config CMDLINE_BOOL | |
164 | bool "Default bootloader kernel arguments" | |
165 | ||
166 | config CMDLINE | |
167 | string "Initial kernel command string" | |
168 | depends on CMDLINE_BOOL | |
169 | default "console=ttyS0,38400 root=/dev/ram" | |
170 | help | |
171 | On some architectures (EBSA110 and CATS), there is currently no way | |
172 | for the boot loader to pass arguments to the kernel. For these | |
173 | architectures, you should supply some command-line options at build | |
174 | time by entering them here. As a minimum, you should specify the | |
175 | memory size and the root device (e.g., mem=64M root=/dev/nfs). | |
176 | ||
82300bf4 CZ |
177 | source "mm/Kconfig" |
178 | ||
8e1a6dd2 CZ |
179 | source "drivers/pcmcia/Kconfig" |
180 | ||
181 | source "drivers/pci/hotplug/Kconfig" | |
182 | ||
183 | endmenu | |
184 | ||
cab00891 | 185 | menu "Executable file formats" |
8e1a6dd2 CZ |
186 | |
187 | # only elf supported | |
188 | config KCORE_ELF | |
35f9cd08 | 189 | def_bool y |
8e1a6dd2 | 190 | depends on PROC_FS |
8e1a6dd2 CZ |
191 | help |
192 | If you enabled support for /proc file system then the file | |
193 | /proc/kcore will contain the kernel core image in ELF format. This | |
194 | can be used in gdb: | |
195 | ||
196 | $ cd /usr/src/linux ; gdb vmlinux /proc/kcore | |
197 | ||
198 | This is especially useful if you have compiled the kernel with the | |
199 | "-g" option to preserve debugging information. It is mainly used | |
200 | for examining kernel data structures on the live kernel. | |
201 | ||
202 | source "fs/Kconfig.binfmt" | |
203 | ||
204 | endmenu | |
205 | ||
d5950b43 SR |
206 | source "net/Kconfig" |
207 | ||
8e1a6dd2 CZ |
208 | source "drivers/Kconfig" |
209 | ||
210 | source "fs/Kconfig" | |
211 | ||
8e1a6dd2 CZ |
212 | source "arch/xtensa/Kconfig.debug" |
213 | ||
214 | source "security/Kconfig" | |
215 | ||
216 | source "crypto/Kconfig" | |
217 | ||
218 | source "lib/Kconfig" | |
219 | ||
220 |