Fix common misspellings
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / unicore32 / Kconfig
CommitLineData
790edb61
G
1config UNICORE32
2 def_bool y
3 select HAVE_MEMBLOCK
4 select HAVE_GENERIC_DMA_COHERENT
5 select HAVE_GENERIC_HARDIRQS
6 select HAVE_DMA_ATTRS
7 select HAVE_KERNEL_GZIP
8 select HAVE_KERNEL_BZIP2
9 select HAVE_KERNEL_LZO
10 select HAVE_KERNEL_LZMA
11 select GENERIC_FIND_FIRST_BIT
12 select GENERIC_IRQ_PROBE
37daf322 13 select GENERIC_IRQ_SHOW
790edb61
G
14 select ARCH_WANT_FRAME_POINTERS
15 help
16 UniCore-32 is 32-bit Instruction Set Architecture,
17 including a series of low-power-consumption RISC chip
18 designs licensed by PKUnity Ltd.
19 Please see web page at <http://www.pkunity.com/>.
20
21config HAVE_PWM
22 bool
23
24config GENERIC_GPIO
25 def_bool y
26
27config GENERIC_CLOCKEVENTS
28 bool
29
30config GENERIC_CSUM
31 def_bool y
32
4fde87cb
G
33config GENERIC_IOMAP
34 def_bool y
35
790edb61
G
36config NO_IOPORT
37 bool
38
39config STACKTRACE_SUPPORT
40 def_bool y
41
42config HAVE_LATENCYTOP_SUPPORT
43 def_bool y
44
45config LOCKDEP_SUPPORT
46 def_bool y
47
48config RWSEM_GENERIC_SPINLOCK
49 def_bool y
50
51config RWSEM_XCHGADD_ALGORITHM
52 bool
53
54config ARCH_HAS_ILOG2_U32
55 bool
56
57config ARCH_HAS_ILOG2_U64
58 bool
59
60config ARCH_HAS_CPUFREQ
61 bool
62
63config GENERIC_HWEIGHT
64 def_bool y
65
66config GENERIC_CALIBRATE_DELAY
67 def_bool y
68
69config ARCH_MAY_HAVE_PC_FDC
70 bool
71
72config NEED_DMA_MAP_STATE
73 def_bool y
74
75source "init/Kconfig"
76
77source "kernel/Kconfig.freezer"
78
79menu "System Type"
80
81config MMU
82 def_bool y
83
84config ARCH_FPGA
85 bool
86
87config ARCH_PUV3
88 def_bool y
89 select CPU_UCV2
90 select GENERIC_CLOCKEVENTS
91 select HAVE_CLK
92 select ARCH_REQUIRE_GPIOLIB
93 select ARCH_HAS_CPUFREQ
94
95# CONFIGs for ARCH_PUV3
96
97if ARCH_PUV3
98
99choice
100 prompt "Board Selection"
101 default PUV3_DB0913
102
103config PUV3_FPGA_DLX200
104 select ARCH_FPGA
105 bool "FPGA board"
106
107config PUV3_DB0913
108 bool "DEBUG board (0913)"
109
110config PUV3_NB0916
111 bool "NetBook board (0916)"
112 select HAVE_PWM
113
114config PUV3_SMW0919
115 bool "Security Mini-Workstation board (0919)"
116
117endchoice
118
119config PUV3_PM
120 def_bool y if !ARCH_FPGA
121
122endif
123
124source "arch/unicore32/mm/Kconfig"
125
126comment "Floating poing support"
127
128config UNICORE_FPU_F64
129 def_bool y if !ARCH_FPGA
130
131endmenu
132
133menu "Bus support"
134
135config PCI
136 bool "PCI Support"
137 help
138 Find out whether you have a PCI motherboard. PCI is the name of a
139 bus system, i.e. the way the CPU talks to the other stuff inside
140 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
141 VESA. If you have PCI, say Y, otherwise N.
142
143source "drivers/pci/Kconfig"
144
145source "drivers/pcmcia/Kconfig"
146
147endmenu
148
149menu "Kernel Features"
150
151source "kernel/time/Kconfig"
152
153source "kernel/Kconfig.preempt"
154
155source "kernel/Kconfig.hz"
156
157source "mm/Kconfig"
158
159config LEDS
160 def_bool y
161 depends on GENERIC_GPIO
162
163config ALIGNMENT_TRAP
164 def_bool y
165 help
166 Unicore processors can not fetch/store information which is not
167 naturally aligned on the bus, i.e., a 4 byte fetch must start at an
168 address divisible by 4. On 32-bit Unicore processors, these non-aligned
169 fetch/store instructions will be emulated in software if you say
170 here, which has a severe performance impact. This is necessary for
171 correct operation of some network protocols. With an IP-only
172 configuration it is safe to say N, otherwise say Y.
173
174endmenu
175
176menu "Boot options"
177
178config CMDLINE
179 string "Default kernel command string"
180 default ""
181
182config CMDLINE_FORCE
183 bool "Always use the default kernel command string"
184 depends on CMDLINE != ""
185 help
186 Always use the default kernel command string, even if the boot
187 loader passes other arguments to the kernel.
188 This is useful if you cannot or don't want to change the
189 command-line options your boot loader passes to the kernel.
190
191 If unsure, say N.
192
193endmenu
194
195menu "Userspace binary formats"
196
197source "fs/Kconfig.binfmt"
198
199endmenu
200
201menu "Power management options"
202
203source "kernel/power/Kconfig"
204
205if ARCH_HAS_CPUFREQ
206source "drivers/cpufreq/Kconfig"
207endif
208
209config ARCH_SUSPEND_POSSIBLE
210 def_bool y if !ARCH_FPGA
211
212config ARCH_HIBERNATION_POSSIBLE
213 def_bool y if !ARCH_FPGA
214
215endmenu
216
217source "net/Kconfig"
218
219if ARCH_PUV3
220
221config PUV3_GPIO
222 bool
223 depends on !ARCH_FPGA
224 select GENERIC_GPIO
225 select GPIO_SYSFS if EXPERIMENTAL
226 default y
227
228config PUV3_PWM
229 tristate
230 default BACKLIGHT_PWM
231 help
232 Enable support for NB0916 PWM controllers
233
234config PUV3_RTC
235 tristate "PKUnity v3 RTC Support"
236 depends on !ARCH_FPGA
237
fa7499ef
G
238if PUV3_NB0916
239
240menu "PKUnity NetBook-0916 Features"
241
242config I2C_BATTERY_BQ27200
243 tristate "I2C Battery BQ27200 Support"
244 select PUV3_I2C
245 select POWER_SUPPLY
246 select BATTERY_BQ27x00
247
248config I2C_EEPROM_AT24
249 tristate "I2C EEPROMs AT24 support"
250 select PUV3_I2C
251 select MISC_DEVICES
252 select EEPROM_AT24
253
254config LCD_BACKLIGHT
255 tristate "LCD Backlight support"
256 select BACKLIGHT_LCD_SUPPORT
257 select BACKLIGHT_PWM
258
259endmenu
260
261endif
262
790edb61
G
263endif
264
265source "drivers/Kconfig"
266
267source "fs/Kconfig"
268
269source "arch/unicore32/Kconfig.debug"
270
271source "security/Kconfig"
272
273source "crypto/Kconfig"
274
275source "lib/Kconfig"