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