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