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