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