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