]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/xtensa/Kconfig
xtensa: Use generic IRQ Kconfig and set GENERIC_HARDIRQS_NO_DEPRECATED
[mirror_ubuntu-bionic-kernel.git] / arch / xtensa / Kconfig
1 config FRAME_POINTER
2 def_bool n
3
4 config ZONE_DMA
5 def_bool y
6
7 config XTENSA
8 def_bool y
9 select HAVE_IDE
10 select HAVE_GENERIC_HARDIRQS
11 select GENERIC_HARDIRQS_NO_DEPRECATED
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
20 config RWSEM_XCHGADD_ALGORITHM
21 def_bool y
22
23 config GENERIC_FIND_NEXT_BIT
24 def_bool y
25
26 config GENERIC_HWEIGHT
27 def_bool y
28
29 config GENERIC_GPIO
30 def_bool y
31
32 config ARCH_HAS_ILOG2_U32
33 def_bool n
34
35 config ARCH_HAS_ILOG2_U64
36 def_bool n
37
38 config NO_IOPORT
39 def_bool y
40
41 config HZ
42 int
43 default 100
44
45 source "init/Kconfig"
46 source "kernel/Kconfig.freezer"
47
48 config MMU
49 def_bool n
50
51 config VARIANT_IRQ_SWITCH
52 def_bool n
53
54 menu "Processor type and features"
55
56 choice
57 prompt "Xtensa Processor Configuration"
58 default XTENSA_VARIANT_FSF
59
60 config XTENSA_VARIANT_FSF
61 bool "fsf - default (not generic) configuration"
62 select MMU
63
64 config XTENSA_VARIANT_DC232B
65 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
66 select MMU
67 help
68 This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
69
70 config XTENSA_VARIANT_S6000
71 bool "s6000 - Stretch software configurable processor"
72 select VARIANT_IRQ_SWITCH
73 select ARCH_REQUIRE_GPIOLIB
74 select XTENSA_CALIBRATE_CCOUNT
75 endchoice
76
77 config XTENSA_UNALIGNED_USER
78 bool "Unaligned memory access in use space"
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.
83
84 Say Y here to enable unaligned memory access in user space.
85
86 config PREEMPT
87 bool "Preemptible Kernel"
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.
95
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.
98
99 config MATH_EMULATION
100 bool "Math emulation"
101 help
102 Can we use information of configuration file?
103
104 endmenu
105
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
132 endmenu
133
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"
142 select XTENSA_CALIBRATE_CCOUNT
143 select SERIAL_CONSOLE
144 select XTENSA_ISS_NETWORK
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
154 config XTENSA_PLATFORM_S6105
155 bool "S6105"
156 select SERIAL_CONSOLE
157
158 endchoice
159
160
161 config XTENSA_CPU_CLOCK
162 int "CPU clock rate [MHz]"
163 depends on !XTENSA_CALIBRATE_CCOUNT
164 default 16
165
166 config GENERIC_CALIBRATE_DELAY
167 bool "Auto calibration of the BogoMIPS value"
168 help
169 The BogoMIPS value can easily be derived from the CPU frequency.
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
185 source "mm/Kconfig"
186
187 config HOTPLUG
188 bool "Support for hot-pluggable devices"
189 help
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.
193
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.
198
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.
204
205 source "drivers/pcmcia/Kconfig"
206
207 source "drivers/pci/hotplug/Kconfig"
208
209 endmenu
210
211 menu "Executable file formats"
212
213 # only elf supported
214 config KCORE_ELF
215 def_bool y
216 depends on PROC_FS
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
232 source "net/Kconfig"
233
234 source "drivers/Kconfig"
235
236 source "fs/Kconfig"
237
238 menu "Xtensa initrd options"
239 depends on BLK_DEV_INITRD
240
241 config EMBEDDED_RAMDISK
242 bool "Embed root filesystem ramdisk into the kernel"
243
244 config EMBEDDED_RAMDISK_IMAGE
245 string "Filename of gzipped ramdisk image"
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