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